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