Description
Pretrained GPT2Transformer, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.gpt2_medium_dutch_pipeline is a Dutch, Flemish model originally trained by yhavinga.
How to use
pipeline = PretrainedPipeline("gpt2_medium_dutch_pipeline", lang = "nl")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("gpt2_medium_dutch_pipeline", lang = "nl")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | gpt2_medium_dutch_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.1+ |
| License: | Open Source |
| Edition: | Official |
| Language: | nl |
| Size: | 1.3 GB |
References
https://huggingface.co/yhavinga/gpt2-medium-dutch
Included Models
- DocumentAssembler
- GPT2Transformer