Instructions to use serge-wilson/sentiment_analysis_fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use serge-wilson/sentiment_analysis_fr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="serge-wilson/sentiment_analysis_fr")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("serge-wilson/sentiment_analysis_fr") model = AutoModelForSequenceClassification.from_pretrained("serge-wilson/sentiment_analysis_fr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
c7c78c7 -
Upload tokenizer
64d44fe -
Upload BertForSequenceClassification
bf6af00 -
initial commit
0fc7086