Description
Pretrained T5Transformer, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.questiongeneration_pipeline is a English model originally trained by ZihanXie.
How to use
pipeline = PretrainedPipeline("questiongeneration_pipeline", lang = "en")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("questiongeneration_pipeline", lang = "en")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | questiongeneration_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.4.2+ |
| License: | Open Source |
| Edition: | Official |
| Language: | en |
| Size: | 2.4 GB |
References
https://huggingface.co/ZihanXie/QuestionGeneration
Included Models
- DocumentAssembler
- T5Transformer