How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="turing-usp/FinBertPTBR")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("turing-usp/FinBertPTBR")
model = AutoModelForSequenceClassification.from_pretrained("turing-usp/FinBertPTBR")
Quick Links

FinBertPTBR : Financial Bert PT BR (Depreciated model)

Info Newer version available on https://huggingface.co/lucas-leme/FinBERT-PT-BR

FinBertPTBR is a pre-trained NLP model to analyze sentiment of Brazilian Portuguese financial texts. It is built by further training the BERTimbau language model in the finance domain, using a large financial corpus and thereby fine-tuning it for financial sentiment classification.

Usage

from transformers import AutoTokenizer, AutoModel
  
tokenizer = AutoTokenizer.from_pretrained("turing-usp/FinBertPTBR")
model = AutoModel.from_pretrained("turing-usp/FinBertPTBR")

Authors

Downloads last month
29
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Spaces using turing-usp/FinBertPTBR 2