cloudacode
commited on
Commit
•
ee11d00
1
Parent(s):
d768bf1
End of training
Browse files- README.md +62 -0
- config.json +36 -0
- model.safetensors +3 -0
- runs/Dec17_23-24-34_STOLTMM36X4K2/events.out.tfevents.1702851875.STOLTMM36X4K2.75179.2 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: lxyuan/distilbert-base-multilingual-cased-sentiments-student
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: my-awesome-model
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# my-awesome-model
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [lxyuan/distilbert-base-multilingual-cased-sentiments-student](https://huggingface.co/lxyuan/distilbert-base-multilingual-cased-sentiments-student) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.8663
|
21 |
+
- Accuracy: 0.654
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 8
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 3.0
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| No log | 1.0 | 125 | 1.4498 | 0.637 |
|
53 |
+
| No log | 2.0 | 250 | 2.0689 | 0.632 |
|
54 |
+
| No log | 3.0 | 375 | 1.8663 | 0.654 |
|
55 |
+
|
56 |
+
|
57 |
+
### Framework versions
|
58 |
+
|
59 |
+
- Transformers 4.36.1
|
60 |
+
- Pytorch 2.1.2
|
61 |
+
- Datasets 2.15.0
|
62 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "lxyuan/distilbert-base-multilingual-cased-sentiments-student",
|
3 |
+
"activation": "gelu",
|
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": "neutral",
|
14 |
+
"2": "negative"
|
15 |
+
},
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"label2id": {
|
18 |
+
"negative": 2,
|
19 |
+
"neutral": 1,
|
20 |
+
"positive": 0
|
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.36.1",
|
35 |
+
"vocab_size": 119547
|
36 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2befd5b9d92926aa36cdf049ba9240a6f7e40a756c185ffd9c80cf475f062889
|
3 |
+
size 541320452
|
runs/Dec17_23-24-34_STOLTMM36X4K2/events.out.tfevents.1702851875.STOLTMM36X4K2.75179.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f93efd9b0abd28700889e2f97435df1e7bae09ef4fcaee7d324e682c422a580a
|
3 |
+
size 5859
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60674e5e06fd735c2e7f819edee3b771ed80fe16786e40d2db2c2ee7935ec276
|
3 |
+
size 4664
|