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