Description
Pretrained RoBertaEmbeddings, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.hero_pipeline is a Hebrew model originally trained by HeNLP.
How to use
pipeline = PretrainedPipeline("hero_pipeline", lang = "he")
annotations =  pipeline.transform(df)   
val pipeline = new PretrainedPipeline("hero_pipeline", lang = "he")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | hero_pipeline | 
| Type: | pipeline | 
| Compatibility: | Spark NLP 5.4.2+ | 
| License: | Open Source | 
| Edition: | Official | 
| Language: | he | 
| Size: | 465.9 MB | 
References
https://huggingface.co/HeNLP/HeRo
Included Models
- DocumentAssembler
- TokenizerModel
- RoBertaEmbeddings