Multilingual xlm_roberta_base_language_detection_pipeline pipeline XlmRoBertaForSequenceClassification from papluca

Description

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

Predicted Entities

Download Copy S3 URI

How to use

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

Model Information

Model Name: xlm_roberta_base_language_detection_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: xx
Size: 870.2 MB

References

References

https://huggingface.co/papluca/xlm-roberta-base-language-detection

Included Models

  • DocumentAssembler
  • TokenizerModel
  • XlmRoBertaForSequenceClassification