Castilian, Spanish finance_sentiment_spanish_base_pipeline pipeline BertForSequenceClassification from bardsai

Description

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

Download Copy S3 URI

How to use


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


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

Model Information

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

References

https://huggingface.co/bardsai/finance-sentiment-es-base

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification