Portuguese bert_base_uncased_sentiment_portuguese_1_pipeline pipeline BertForSequenceClassification from PamelaBorelli

Description

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

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("bert_base_uncased_sentiment_portuguese_1_pipeline", lang = "pt")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("bert_base_uncased_sentiment_portuguese_1_pipeline", lang = "pt")
val annotations = pipeline.transform(df)

Model Information

Model Name: bert_base_uncased_sentiment_portuguese_1_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.0+
License: Open Source
Edition: Official
Language: pt
Size: 208.4 MB

References

https://huggingface.co/PamelaBorelli/bert-base-uncased-sentiment-pt-1

Included Models

  • DocumentAssembler
  • TokenizerModel
  • BertForSequenceClassification