cil-sentiment-analysis
Collection
15 items • Updated
How to use MichaHenh/cil-ordinal-regression-seed1 with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("xlm-roberta-base")
model = PeftModel.from_pretrained(base_model, "MichaHenh/cil-ordinal-regression-seed1")How to use MichaHenh/cil-ordinal-regression-seed1 with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("MichaHenh/cil-ordinal-regression-seed1", dtype="auto")This model is a fine-tuned version of xlm-roberta-base on the None 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 | Tuned Threshold Mae | Mae | Rounded Mae |
|---|---|---|---|---|---|---|
| 0.3193 | 0.1411 | 500 | 0.2012 | 0.4583 | 0.5402 | 0.4735 |
| 0.2073 | 0.2822 | 1000 | 0.1845 | 0.4248 | 0.5015 | 0.4328 |
| 0.1915 | 0.4233 | 1500 | 0.1788 | 0.4165 | 0.4837 | 0.4206 |
| 0.1895 | 0.5643 | 2000 | 0.1775 | 0.4077 | 0.4813 | 0.4196 |
| 0.1837 | 0.7054 | 2500 | 0.1744 | 0.4019 | 0.4714 | 0.4101 |
| 0.1807 | 0.8465 | 3000 | 0.1721 | 0.3999 | 0.4653 | 0.4052 |
| 0.1805 | 0.9876 | 3500 | 0.1714 | 0.3953 | 0.4596 | 0.4037 |
| 0.1698 | 1.1287 | 4000 | 0.1716 | 0.3943 | 0.4598 | 0.4017 |
| 0.1733 | 1.2698 | 4500 | 0.1666 | 0.3915 | 0.4540 | 0.3938 |
| 0.1681 | 1.4108 | 5000 | 0.1703 | 0.3890 | 0.4582 | 0.3994 |
| 0.1695 | 1.5519 | 5500 | 0.1664 | 0.3898 | 0.4480 | 0.3931 |
| 0.1648 | 1.6930 | 6000 | 0.1649 | 0.3883 | 0.4508 | 0.3933 |
| 0.1664 | 1.8341 | 6500 | 0.1646 | 0.3865 | 0.4477 | 0.3886 |
| 0.1675 | 1.9752 | 7000 | 0.1633 | 0.3851 | 0.4473 | 0.3897 |
| 0.1606 | 2.1163 | 7500 | 0.1648 | 0.3854 | 0.4408 | 0.3884 |
| 0.1584 | 2.2573 | 8000 | 0.1627 | 0.3844 | 0.4423 | 0.3863 |
| 0.1584 | 2.3984 | 8500 | 0.1632 | 0.3831 | 0.4403 | 0.3860 |
| 0.1579 | 2.5395 | 9000 | 0.1626 | 0.3836 | 0.4396 | 0.3860 |
| 0.1594 | 2.6806 | 9500 | 0.1631 | 0.3834 | 0.4401 | 0.3864 |
| 0.1575 | 2.8217 | 10000 | 0.1627 | 0.3831 | 0.4398 | 0.3855 |
| 0.1574 | 2.9628 | 10500 | 0.1626 | 0.3831 | 0.4401 | 0.3857 |
| 0.1574 | 3.0 | 10632 | 0.1626 | 0.3833 | 0.4401 | 0.3856 |
Base model
FacebookAI/xlm-roberta-base