Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.parsbert_base_parsinlu_entailment_pipeline
is a Persian model originally trained by persiannlp.
How to use
pipeline = PretrainedPipeline("parsbert_base_parsinlu_entailment_pipeline", lang = "fa")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("parsbert_base_parsinlu_entailment_pipeline", lang = "fa")
val annotations = pipeline.transform(df)
Model Information
Model Name: | parsbert_base_parsinlu_entailment_pipeline |
Type: | pipeline |
Compatibility: | Spark NLP 5.5.0+ |
License: | Open Source |
Edition: | Official |
Language: | fa |
Size: | 608.8 MB |
References
https://huggingface.co/persiannlp/parsbert-base-parsinlu-entailment
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification