tblard / tf-allocine

huggingface.co
Total runs: 9.4K
24-hour runs: 503
7-day runs: 3.7K
30-day runs: 9.2K
Model's Last Updated: December 12 2020
text-classification

Introduction of tf-allocine

Model Details of tf-allocine

tf-allociné

A french sentiment analysis model, based on CamemBERT , and finetuned on a large-scale dataset scraped from Allociné.fr user reviews.

Results
Validation Accuracy Validation F1-Score Test Accuracy Test F1-Score
97.39 97.36 97.44 97.34

The dataset and the evaluation code are available on this repo .

Usage
from transformers import AutoTokenizer, TFAutoModelForSequenceClassification
from transformers import pipeline

tokenizer = AutoTokenizer.from_pretrained("tblard/tf-allocine")
model = TFAutoModelForSequenceClassification.from_pretrained("tblard/tf-allocine")

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

print(nlp("Alad'2 est clairement le meilleur film de l'année 2018.")) # POSITIVE
print(nlp("Juste whoaaahouuu !")) # POSITIVE
print(nlp("NUL...A...CHIER ! FIN DE TRANSMISSION.")) # NEGATIVE
print(nlp("Je m'attendais à mieux de la part de Franck Dubosc !")) # NEGATIVE
Author

Théophile Blard – :email: [email protected]

If you use this work (code, model or dataset), please cite as:

Théophile Blard, French sentiment analysis with BERT, (2020), GitHub repository, https://github.com/TheophileBlard/french-sentiment-analysis-with-bert

Runs of tblard tf-allocine on huggingface.co

9.4K
Total runs
503
24-hour runs
1.6K
3-day runs
3.7K
7-day runs
9.2K
30-day runs

More Information About tf-allocine huggingface.co Model

tf-allocine huggingface.co

tf-allocine huggingface.co is an AI model on huggingface.co that provides tf-allocine's model effect (), which can be used instantly with this tblard tf-allocine model. huggingface.co supports a free trial of the tf-allocine model, and also provides paid use of the tf-allocine. Support call tf-allocine model through api, including Node.js, Python, http.

tf-allocine huggingface.co Url

https://huggingface.co/tblard/tf-allocine

tblard tf-allocine online free

tf-allocine huggingface.co is an online trial and call api platform, which integrates tf-allocine's modeling effects, including api services, and provides a free online trial of tf-allocine, you can try tf-allocine online for free by clicking the link below.

tblard tf-allocine online free url in huggingface.co:

https://huggingface.co/tblard/tf-allocine

tf-allocine install

tf-allocine is an open source model from GitHub that offers a free installation service, and any user can find tf-allocine on GitHub to install. At the same time, huggingface.co provides the effect of tf-allocine install, users can directly use tf-allocine installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

tf-allocine install url in huggingface.co:

https://huggingface.co/tblard/tf-allocine

Url of tf-allocine

tf-allocine huggingface.co Url

Provider of tf-allocine huggingface.co

tblard
ORGANIZATIONS