Edit model card

from transformers import AutoTokenizer, AutoModelForSequenceClassification from transformers import pipeline

loaded_tokenizer = AutoTokenizer.from_pretrained('Safouene/Flaubert_Courriel') loaded_model = AutoModelForSequenceClassification.from_pretrained("Safouene/Flaubert_Courriel")

nlp = pipeline('sentiment-analysis', model=loaded_model, tokenizer=loaded_tokenizer)

print(nlp("Je suis plutôt confiant."))

Downloads last month
4
Inference API
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.