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