End of training
Browse files- README.md +73 -0
- config.json +36 -0
- model.safetensors +3 -0
- runs/Feb25_04-43-20_default/events.out.tfevents.1708836209.default.89.1 +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: distilbert-base-multilingual-cased
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
- precision
|
| 9 |
+
- recall
|
| 10 |
+
- f1
|
| 11 |
+
model-index:
|
| 12 |
+
- name: distilbertmultilang
|
| 13 |
+
results: []
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
+
|
| 19 |
+
# distilbertmultilang
|
| 20 |
+
|
| 21 |
+
This model is a fine-tuned version of [distilbert-base-multilingual-cased](https://huggingface.co/distilbert-base-multilingual-cased) on the None dataset.
|
| 22 |
+
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 1.4805
|
| 24 |
+
- Accuracy: 0.7379
|
| 25 |
+
- Precision: 0.7298
|
| 26 |
+
- Recall: 0.6589
|
| 27 |
+
- F1: 0.6655
|
| 28 |
+
|
| 29 |
+
## Model description
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Intended uses & limitations
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training and evaluation data
|
| 38 |
+
|
| 39 |
+
More information needed
|
| 40 |
+
|
| 41 |
+
## Training procedure
|
| 42 |
+
|
| 43 |
+
### Training hyperparameters
|
| 44 |
+
|
| 45 |
+
The following hyperparameters were used during training:
|
| 46 |
+
- learning_rate: 5e-05
|
| 47 |
+
- train_batch_size: 16
|
| 48 |
+
- eval_batch_size: 16
|
| 49 |
+
- seed: 42
|
| 50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 51 |
+
- lr_scheduler_type: linear
|
| 52 |
+
- num_epochs: 999
|
| 53 |
+
|
| 54 |
+
### Training results
|
| 55 |
+
|
| 56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
| 57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
| 58 |
+
| 0.6716 | 1.0 | 761 | 0.6002 | 0.7350 | 0.7062 | 0.7171 | 0.7089 |
|
| 59 |
+
| 0.4098 | 2.0 | 1522 | 0.5889 | 0.7777 | 0.7491 | 0.7270 | 0.7333 |
|
| 60 |
+
| 0.0879 | 3.0 | 2283 | 0.6567 | 0.7813 | 0.7539 | 0.7370 | 0.7423 |
|
| 61 |
+
| 0.1553 | 4.0 | 3044 | 0.7680 | 0.7626 | 0.7367 | 0.7076 | 0.7163 |
|
| 62 |
+
| 0.0549 | 5.0 | 3805 | 0.9480 | 0.7646 | 0.7338 | 0.7245 | 0.7282 |
|
| 63 |
+
| 0.0034 | 6.0 | 4566 | 1.2325 | 0.7599 | 0.7300 | 0.7133 | 0.7185 |
|
| 64 |
+
| 0.558 | 7.0 | 5327 | 1.3659 | 0.7399 | 0.7091 | 0.7197 | 0.7121 |
|
| 65 |
+
| 0.0041 | 8.0 | 6088 | 1.4805 | 0.7379 | 0.7298 | 0.6589 | 0.6655 |
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
### Framework versions
|
| 69 |
+
|
| 70 |
+
- Transformers 4.37.2
|
| 71 |
+
- Pytorch 2.1.0+cu121
|
| 72 |
+
- Datasets 2.17.1
|
| 73 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "distilbert-base-multilingual-cased",
|
| 3 |
+
"activation": "tanh",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"DistilBertForSequenceClassification"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.1,
|
| 8 |
+
"dim": 768,
|
| 9 |
+
"dropout": 0.1,
|
| 10 |
+
"hidden_dim": 3072,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "positive",
|
| 13 |
+
"1": "negative",
|
| 14 |
+
"2": "neutral"
|
| 15 |
+
},
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"label2id": {
|
| 18 |
+
"LABEL_0": 0,
|
| 19 |
+
"LABEL_1": 1,
|
| 20 |
+
"LABEL_2": 2
|
| 21 |
+
},
|
| 22 |
+
"max_position_embeddings": 512,
|
| 23 |
+
"model_type": "distilbert",
|
| 24 |
+
"n_heads": 12,
|
| 25 |
+
"n_layers": 6,
|
| 26 |
+
"output_past": true,
|
| 27 |
+
"pad_token_id": 0,
|
| 28 |
+
"problem_type": "single_label_classification",
|
| 29 |
+
"qa_dropout": 0.1,
|
| 30 |
+
"seq_classif_dropout": 0.2,
|
| 31 |
+
"sinusoidal_pos_embds": false,
|
| 32 |
+
"tie_weights_": true,
|
| 33 |
+
"torch_dtype": "float32",
|
| 34 |
+
"transformers_version": "4.37.2",
|
| 35 |
+
"vocab_size": 119547
|
| 36 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96cb9704cf31c4ee19ad3deacc9f10d69ff71bfdb95c7ab2a3357df6804c7136
|
| 3 |
+
size 541320452
|
runs/Feb25_04-43-20_default/events.out.tfevents.1708836209.default.89.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d8974ba89cfb2a894ad57468a0785732fffea95ed42629692fc165780787329
|
| 3 |
+
size 964389
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c43e68393d6f89f8a38793c7ae3e8f6f4b534bfb57006d4590c3e34386dcb27
|
| 3 |
+
size 4728
|