Description
Pretrained RoBertaForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.readability_spanish_sentences_pipeline is a Castilian, Spanish model originally trained by somosnlp-hackathon-2022.
How to use
pipeline = PretrainedPipeline("readability_spanish_sentences_pipeline", lang = "es")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("readability_spanish_sentences_pipeline", lang = "es")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | readability_spanish_sentences_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | es |
| Size: | 444.8 MB |
References
https://huggingface.co/somosnlp-hackathon-2022/readability-es-sentences
Included Models
- DocumentAssembler
- TokenizerModel
- RoBertaForSequenceClassification