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