Multilingual bert_classifier_bert_base_english_hindi_codemix_cased_pipeline pipeline BertForSequenceClassification from rohanrajpal

Description

Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.bert_classifier_bert_base_english_hindi_codemix_cased_pipeline is a Multilingual model originally trained by rohanrajpal.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("bert_classifier_bert_base_english_hindi_codemix_cased_pipeline", lang = "xx")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("bert_classifier_bert_base_english_hindi_codemix_cased_pipeline", lang = "xx")
val annotations = pipeline.transform(df)

Model Information

Model Name: bert_classifier_bert_base_english_hindi_codemix_cased_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: xx
Size: 667.3 MB

References

https://huggingface.co/rohanrajpal/bert-base-en-hi-codemix-cased

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification