cil-sentiment-analysis
Collection
15 items • Updated
How to use MichaHenh/cil-ordinal-regression-seed3 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-seed3")How to use MichaHenh/cil-ordinal-regression-seed3 with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("MichaHenh/cil-ordinal-regression-seed3", 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.3068 | 0.1411 | 500 | 0.2170 | 0.4579 | 0.5548 | 0.5006 |
| 0.2021 | 0.2822 | 1000 | 0.1925 | 0.4285 | 0.4957 | 0.4413 |
| 0.1945 | 0.4233 | 1500 | 0.1835 | 0.4216 | 0.4841 | 0.4273 |
| 0.1861 | 0.5643 | 2000 | 0.1813 | 0.4113 | 0.4819 | 0.4212 |
| 0.1841 | 0.7054 | 2500 | 0.1792 | 0.4067 | 0.4771 | 0.4161 |
| 0.1804 | 0.8465 | 3000 | 0.1754 | 0.4006 | 0.4632 | 0.4065 |
| 0.1801 | 0.9876 | 3500 | 0.1706 | 0.3997 | 0.4643 | 0.4018 |
| 0.1714 | 1.1287 | 4000 | 0.1709 | 0.4008 | 0.4599 | 0.4044 |
| 0.1697 | 1.2698 | 4500 | 0.1695 | 0.3976 | 0.4625 | 0.3988 |
| 0.1702 | 1.4108 | 5000 | 0.1696 | 0.3945 | 0.4536 | 0.4009 |
| 0.1681 | 1.5519 | 5500 | 0.1681 | 0.3932 | 0.4604 | 0.3961 |
| 0.1692 | 1.6930 | 6000 | 0.1677 | 0.3915 | 0.4555 | 0.3951 |
| 0.1640 | 1.8341 | 6500 | 0.1676 | 0.3898 | 0.4582 | 0.3950 |
| 0.1677 | 1.9752 | 7000 | 0.1659 | 0.3892 | 0.4486 | 0.3929 |
| 0.1603 | 2.1163 | 7500 | 0.1665 | 0.3897 | 0.4483 | 0.3933 |
| 0.1580 | 2.2573 | 8000 | 0.1675 | 0.3873 | 0.4439 | 0.3954 |
| 0.1597 | 2.3984 | 8500 | 0.1660 | 0.3874 | 0.4451 | 0.3925 |
| 0.1567 | 2.5395 | 9000 | 0.1650 | 0.3867 | 0.4482 | 0.3916 |
| 0.1555 | 2.6806 | 9500 | 0.1651 | 0.3862 | 0.4452 | 0.3909 |
| 0.1584 | 2.8217 | 10000 | 0.1649 | 0.3866 | 0.4456 | 0.3904 |
| 0.1593 | 2.9628 | 10500 | 0.1649 | 0.3866 | 0.4453 | 0.3908 |
| 0.1593 | 3.0 | 10632 | 0.1649 | 0.3868 | 0.4453 | 0.3909 |
Base model
FacebookAI/xlm-roberta-base