Detoxic
Collection
5 items • Updated
How to use DuongTrongChi/facebook-commet-classification-small with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="DuongTrongChi/facebook-commet-classification-small") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("DuongTrongChi/facebook-commet-classification-small")
model = AutoModelForSequenceClassification.from_pretrained("DuongTrongChi/facebook-commet-classification-small")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.2261 | 1.0 | 990 | 0.1605 | 0.9427 | 0.7552 | 0.8298 | 0.6929 |
Base model
uitnlp/visobert