Description
Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.cross_encoder_roberta_wwm_ext_large_pipeline
is a Chinese model originally trained by tuhailong.
How to use
pipeline = PretrainedPipeline("cross_encoder_roberta_wwm_ext_large_pipeline", lang = "zh")
annotations = pipeline.transform(df)
val pipeline = new PretrainedPipeline("cross_encoder_roberta_wwm_ext_large_pipeline", lang = "zh")
val annotations = pipeline.transform(df)
Model Information
Model Name: | cross_encoder_roberta_wwm_ext_large_pipeline |
Type: | pipeline |
Compatibility: | Spark NLP 5.5.0+ |
License: | Open Source |
Edition: | Official |
Language: | zh |
Size: | 1.2 GB |
References
https://huggingface.co/tuhailong/cross_encoder_roberta-wwm-ext-large
Included Models
- DocumentAssembler
- TokenizerModel
- BertForSequenceClassification