Text Classification
Transformers
PyTorch
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use mirfan899/da-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mirfan899/da-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mirfan899/da-sentiment")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mirfan899/da-sentiment") model = AutoModelForSequenceClassification.from_pretrained("mirfan899/da-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files
README.md
CHANGED
|
@@ -15,8 +15,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
|
| 16 |
This model was trained from scratch on an unknown dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
-
- Loss: 0.
|
| 19 |
-
- Accuracy: 0.
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
@@ -41,22 +41,17 @@ The following hyperparameters were used during training:
|
|
| 41 |
- seed: 42
|
| 42 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 43 |
- lr_scheduler_type: linear
|
| 44 |
-
- num_epochs:
|
| 45 |
|
| 46 |
### Training results
|
| 47 |
|
| 48 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 49 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 50 |
-
| No log | 1.0 | 67 | 0.
|
| 51 |
-
| 0.
|
| 52 |
-
| 0.
|
| 53 |
-
| 0.
|
| 54 |
-
| 0.
|
| 55 |
-
| 0.0694 | 6.0 | 402 | 0.2184 | 0.9271 |
|
| 56 |
-
| 0.0694 | 7.0 | 469 | 0.2300 | 0.9327 |
|
| 57 |
-
| 0.0391 | 8.0 | 536 | 0.2332 | 0.9252 |
|
| 58 |
-
| 0.0391 | 9.0 | 603 | 0.2351 | 0.9308 |
|
| 59 |
-
| 0.0392 | 10.0 | 670 | 0.2350 | 0.9308 |
|
| 60 |
|
| 61 |
|
| 62 |
### Framework versions
|
|
|
|
| 15 |
|
| 16 |
This model was trained from scratch on an unknown dataset.
|
| 17 |
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 0.5520
|
| 19 |
+
- Accuracy: 0.8991
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
|
|
| 41 |
- seed: 42
|
| 42 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 43 |
- lr_scheduler_type: linear
|
| 44 |
+
- num_epochs: 5
|
| 45 |
|
| 46 |
### Training results
|
| 47 |
|
| 48 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 49 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 50 |
+
| No log | 1.0 | 67 | 0.5258 | 0.8935 |
|
| 51 |
+
| 0.0073 | 2.0 | 134 | 0.5262 | 0.8972 |
|
| 52 |
+
| 0.0073 | 3.0 | 201 | 0.5408 | 0.8972 |
|
| 53 |
+
| 0.0053 | 4.0 | 268 | 0.5494 | 0.8991 |
|
| 54 |
+
| 0.0053 | 5.0 | 335 | 0.5520 | 0.8991 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
|
| 56 |
|
| 57 |
### Framework versions
|