almanach/camembertv2-base-pawsx is a roberta model for text classification. It is trained on the FLUE-PAWS-X dataset for the task of Paraphrase Identification. The model achieves an accuracy of 0.92254 on the FLUE-PAWS-X 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 for Paraphrase Identification.
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-pawsx")
tokenizer = AutoTokenizer.from_pretrained("almanach/camembertv2-base-pawsx")
classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
classifier({
"text": "Le livre est très intéressant et j'ai appris beaucoup de choses.",
"text_pair": "Le livre est très ennuyeux et je n'ai rien appris.",
})
Training Details
Training Data
The model is trained on the FLUE-PAWS-X dataset.
Dataset Name: FLUE-PAWS-X
Dataset Size:
Train: 49399
Dev: 1988
Test: 2000
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-pawsx on huggingface.co
11
Total runs
0
24-hour runs
2
3-day runs
1
7-day runs
5
30-day runs
More Information About camembertv2-base-pawsx huggingface.co Model
camembertv2-base-pawsx huggingface.co is an AI model on huggingface.co that provides camembertv2-base-pawsx's model effect (), which can be used instantly with this almanach camembertv2-base-pawsx model. huggingface.co supports a free trial of the camembertv2-base-pawsx model, and also provides paid use of the camembertv2-base-pawsx. Support call camembertv2-base-pawsx model through api, including Node.js, Python, http.
camembertv2-base-pawsx huggingface.co is an online trial and call api platform, which integrates camembertv2-base-pawsx's modeling effects, including api services, and provides a free online trial of camembertv2-base-pawsx, you can try camembertv2-base-pawsx online for free by clicking the link below.
almanach camembertv2-base-pawsx online free url in huggingface.co:
camembertv2-base-pawsx is an open source model from GitHub that offers a free installation service, and any user can find camembertv2-base-pawsx on GitHub to install. At the same time, huggingface.co provides the effect of camembertv2-base-pawsx install, users can directly use camembertv2-base-pawsx installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
camembertv2-base-pawsx install url in huggingface.co: