Detoxic
Collection
5 items • Updated
How to use DuongTrongChi/facebook-commet-classification-small-v2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="DuongTrongChi/facebook-commet-classification-small-v2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("DuongTrongChi/facebook-commet-classification-small-v2")
model = AutoModelForSequenceClassification.from_pretrained("DuongTrongChi/facebook-commet-classification-small-v2")This model is a fine-tuned version of uitnlp/visobert on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|---|---|---|---|---|---|---|---|
| 0.1471 | 1.0 | 1323 | 0.1672 | 0.9443 | 0.7701 | 0.8136 | 0.7310 |
Base model
uitnlp/visobert