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