Commit
·
7d60d5c
1
Parent(s):
983ba17
intent-recog
Browse files- README.md +7 -7
- config.json +5 -9
- pytorch_model.bin +2 -2
- training_args.bin +1 -1
README.md
CHANGED
@@ -8,7 +8,6 @@ metrics:
|
|
8 |
model-index:
|
9 |
- name: intent-recog
|
10 |
results: []
|
11 |
-
pipeline_tag: text-classification
|
12 |
---
|
13 |
|
14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -18,8 +17,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on an unknown dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss: 0.
|
22 |
-
- F1:
|
23 |
|
24 |
## Model description
|
25 |
|
@@ -44,18 +43,19 @@ The following hyperparameters were used during training:
|
|
44 |
- seed: 42
|
45 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
- lr_scheduler_type: linear
|
47 |
-
- num_epochs:
|
48 |
|
49 |
### Training results
|
50 |
|
51 |
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
52 |
|:-------------:|:-----:|:-----:|:---------------:|:------:|
|
53 |
-
| 0.
|
|
|
54 |
|
55 |
|
56 |
### Framework versions
|
57 |
|
58 |
-
- Transformers 4.33.
|
59 |
- Pytorch 2.0.1+cu118
|
60 |
- Datasets 2.14.5
|
61 |
-
- Tokenizers 0.13.3
|
|
|
8 |
model-index:
|
9 |
- name: intent-recog
|
10 |
results: []
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
17 |
|
18 |
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on an unknown dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.0627
|
21 |
+
- F1: 0.9874
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
43 |
- seed: 42
|
44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 2
|
47 |
|
48 |
### Training results
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
51 |
|:-------------:|:-----:|:-----:|:---------------:|:------:|
|
52 |
+
| 0.0449 | 1.0 | 10523 | 0.0631 | 0.9874 |
|
53 |
+
| 0.0415 | 2.0 | 21046 | 0.0627 | 0.9874 |
|
54 |
|
55 |
|
56 |
### Framework versions
|
57 |
|
58 |
+
- Transformers 4.33.2
|
59 |
- Pytorch 2.0.1+cu118
|
60 |
- Datasets 2.14.5
|
61 |
+
- Tokenizers 0.13.3
|
config.json
CHANGED
@@ -11,22 +11,18 @@
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
-
"0": "
|
15 |
"1": "Order",
|
16 |
"2": "Cancel",
|
17 |
-
"3": "
|
18 |
-
"4": "update",
|
19 |
-
"5": "payement"
|
20 |
},
|
21 |
"initializer_range": 0.02,
|
22 |
"intermediate_size": 3072,
|
23 |
"label2id": {
|
24 |
"Cancel": 2,
|
|
|
25 |
"Order": 1,
|
26 |
-
"
|
27 |
-
"info": 3,
|
28 |
-
"payement": 5,
|
29 |
-
"update": 4
|
30 |
},
|
31 |
"layer_norm_eps": 1e-05,
|
32 |
"max_position_embeddings": 514,
|
@@ -37,7 +33,7 @@
|
|
37 |
"pad_token_id": 1,
|
38 |
"position_embedding_type": "absolute",
|
39 |
"torch_dtype": "float32",
|
40 |
-
"transformers_version": "4.33.
|
41 |
"type_vocab_size": 1,
|
42 |
"use_cache": true,
|
43 |
"vocab_size": 250002
|
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
+
"0": "Payment",
|
15 |
"1": "Order",
|
16 |
"2": "Cancel",
|
17 |
+
"3": "Info"
|
|
|
|
|
18 |
},
|
19 |
"initializer_range": 0.02,
|
20 |
"intermediate_size": 3072,
|
21 |
"label2id": {
|
22 |
"Cancel": 2,
|
23 |
+
"Info": 3,
|
24 |
"Order": 1,
|
25 |
+
"Payment": 0
|
|
|
|
|
|
|
26 |
},
|
27 |
"layer_norm_eps": 1e-05,
|
28 |
"max_position_embeddings": 514,
|
|
|
33 |
"pad_token_id": 1,
|
34 |
"position_embedding_type": "absolute",
|
35 |
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.33.2",
|
37 |
"type_vocab_size": 1,
|
38 |
"use_cache": true,
|
39 |
"vocab_size": 250002
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d1942242deb51985c7499e178673ef1c999861346a274be65ff9bd40960aa534
|
3 |
+
size 1109892841
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4027
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7be88795400b0b5e95f94af25e812a89c9163a2b2e4b72d6383e2fc8d9cf63e1
|
3 |
size 4027
|