Castilian, Spanish bert_classifier_spanish_news_classification_headlines_untrained_pipeline pipeline BertForSequenceClassification from M47Labs

Description

Pretrained BertForSequenceClassification, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.bert_classifier_spanish_news_classification_headlines_untrained_pipeline is a Castilian, Spanish model originally trained by M47Labs.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("bert_classifier_spanish_news_classification_headlines_untrained_pipeline", lang = "es")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("bert_classifier_spanish_news_classification_headlines_untrained_pipeline", lang = "es")
val annotations = pipeline.transform(df)

Model Information

Model Name: bert_classifier_spanish_news_classification_headlines_untrained_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: es
Size: 411.8 MB

References

https://huggingface.co/M47Labs/spanish_news_classification_headlines_untrained

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification