almanach/camembertv2-base-cls is a roberta model for text classification. It is trained on the FLUE-CLS dataset for the task of Amazon Review Classification. The model achieves an accuracy of 0.95199 on the FLUE-CLS dataset.
The model is part of the almanach/camembertv2-base family of model finetunes.
Model Details
Model Description
Developed by:
Wissam Antoun (Phd Student at Almanach, Inria-Paris)
Model type:
roberta
Language(s) (NLP):
French
License:
MIT
Finetuned from model [optional]:
almanach/camembertv2-base
The model can be used for text classification tasks in French of Movie, Music, and Book reviews from Amazon.
Bias, Risks, and Limitations
The model may exhibit biases based on the training data. The model may not generalize well to other datasets or tasks. The model may also have limitations in terms of the data it was trained on.
How to Get Started with the Model
Use the code below to get started with the model.
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
model = AutoModelForSequenceClassification.from_pretrained("almanach/camembertv2-base-cls")
tokenizer = AutoTokenizer.from_pretrained("almanach/camembertv2-base-cls")
classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
classifier("Le livre est très intéressant et j'ai appris beaucoup de choses.")
Training Details
Training Data
The model is trained on the FLUE-CLS dataset.
Dataset Name: FLUE-CLS
Dataset Size:
Train: 5997
Test: 5999
Training Procedure
Model trained with the run_classification.py script from the huggingface repository.
@misc{antoun2024camembert20smarterfrench,
title={CamemBERT 2.0: A Smarter French Language Model Aged to Perfection},
author={Wissam Antoun and Francis Kulumba and Rian Touchent and Éric de la Clergerie and Benoît Sagot and Djamé Seddah},
year={2024},
eprint={2411.08868},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2411.08868},
}
Runs of almanach camembertv2-base-cls on huggingface.co
12
Total runs
0
24-hour runs
0
3-day runs
-1
7-day runs
-73
30-day runs
More Information About camembertv2-base-cls huggingface.co Model
camembertv2-base-cls huggingface.co is an AI model on huggingface.co that provides camembertv2-base-cls's model effect (), which can be used instantly with this almanach camembertv2-base-cls model. huggingface.co supports a free trial of the camembertv2-base-cls model, and also provides paid use of the camembertv2-base-cls. Support call camembertv2-base-cls model through api, including Node.js, Python, http.
camembertv2-base-cls huggingface.co is an online trial and call api platform, which integrates camembertv2-base-cls's modeling effects, including api services, and provides a free online trial of camembertv2-base-cls, you can try camembertv2-base-cls online for free by clicking the link below.
almanach camembertv2-base-cls online free url in huggingface.co:
camembertv2-base-cls is an open source model from GitHub that offers a free installation service, and any user can find camembertv2-base-cls on GitHub to install. At the same time, huggingface.co provides the effect of camembertv2-base-cls install, users can directly use camembertv2-base-cls installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
camembertv2-base-cls install url in huggingface.co: