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