Description
Pretrained XlmRoBertaForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.khmer_text_classification_roberta_pipeline is a Central Khmer, Khmer model originally trained by seanghay.
How to use
pipeline = PretrainedPipeline("khmer_text_classification_roberta_pipeline", lang = "km")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("khmer_text_classification_roberta_pipeline", lang = "km")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | khmer_text_classification_roberta_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | km |
| Size: | 865.4 MB |
References
https://huggingface.co/seanghay/khmer-text-classification-roberta
Included Models
- DocumentAssembler
- TokenizerModel
- XlmRoBertaForSequenceClassification