Description
Pretrained BertSentenceEmbeddings, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.sent_arbertv2_pipeline is a Arabic model originally trained by UBC-NLP.
How to use
pipeline = PretrainedPipeline("sent_arbertv2_pipeline", lang = "ar")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("sent_arbertv2_pipeline", lang = "ar")
val annotations = pipeline.transform(df)
Model Information
| Model Name: | sent_arbertv2_pipeline |
| Type: | pipeline |
| Compatibility: | Spark NLP 5.5.0+ |
| License: | Open Source |
| Edition: | Official |
| Language: | ar |
| Size: | 607.7 MB |
References
https://huggingface.co/UBC-NLP/ARBERTv2
Included Models
- DocumentAssembler
- TokenizerModel
- SentenceDetectorDLModel
- BertSentenceEmbeddings