Training in progress, step 500
Browse files- README.md +70 -0
- config.json +85 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: bert-large-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
model-index:
|
12 |
+
- name: chatbot
|
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 |
+
# chatbot
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [bert-large-uncased](https://huggingface.co/bert-large-uncased) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.6024
|
24 |
+
- Accuracy: 0.8958
|
25 |
+
- F1: 0.8910
|
26 |
+
- Precision: 0.8846
|
27 |
+
- Recall: 0.9295
|
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: 32
|
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 |
+
- lr_scheduler_warmup_steps: 100
|
53 |
+
- num_epochs: 50
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
58 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
59 |
+
| 2.9886 | 10.0 | 50 | 2.5714 | 0.2708 | 0.1833 | 0.1547 | 0.2949 |
|
60 |
+
| 1.3584 | 20.0 | 100 | 1.1008 | 0.8542 | 0.8496 | 0.8622 | 0.9071 |
|
61 |
+
| 0.1639 | 30.0 | 150 | 0.6093 | 0.8958 | 0.8897 | 0.8910 | 0.9295 |
|
62 |
+
| 0.0136 | 40.0 | 200 | 0.6092 | 0.9167 | 0.9112 | 0.9071 | 0.9423 |
|
63 |
+
| 0.007 | 50.0 | 250 | 0.6024 | 0.8958 | 0.8910 | 0.8846 | 0.9295 |
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- Transformers 4.37.2
|
69 |
+
- Pytorch 2.2.0+cu121
|
70 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-large-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "greeting",
|
14 |
+
"1": "troubleshooting_indo",
|
15 |
+
"2": "troubleshooting",
|
16 |
+
"3": "account_indo",
|
17 |
+
"4": "account",
|
18 |
+
"5": "contact_indo",
|
19 |
+
"6": "contact",
|
20 |
+
"7": "privacy_indo",
|
21 |
+
"8": "privacy",
|
22 |
+
"9": "basic_info_indo",
|
23 |
+
"10": "basic_info",
|
24 |
+
"11": "features_indo",
|
25 |
+
"12": "features",
|
26 |
+
"13": "technical_issues_indo",
|
27 |
+
"14": "technical_issues",
|
28 |
+
"15": "founders_indo",
|
29 |
+
"16": "founders",
|
30 |
+
"17": "technology_indo",
|
31 |
+
"18": "technology",
|
32 |
+
"19": "accessible_indo",
|
33 |
+
"20": "accessible",
|
34 |
+
"21": "thanks_indo",
|
35 |
+
"22": "thanks",
|
36 |
+
"23": "location_indo",
|
37 |
+
"24": "location",
|
38 |
+
"25": "video_recording_indo",
|
39 |
+
"26": "video_recording"
|
40 |
+
},
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"intermediate_size": 4096,
|
43 |
+
"label2id": {
|
44 |
+
"accessible": 20,
|
45 |
+
"accessible_indo": 19,
|
46 |
+
"account": 4,
|
47 |
+
"account_indo": 3,
|
48 |
+
"basic_info": 10,
|
49 |
+
"basic_info_indo": 9,
|
50 |
+
"contact": 6,
|
51 |
+
"contact_indo": 5,
|
52 |
+
"features": 12,
|
53 |
+
"features_indo": 11,
|
54 |
+
"founders": 16,
|
55 |
+
"founders_indo": 15,
|
56 |
+
"greeting": 0,
|
57 |
+
"location": 24,
|
58 |
+
"location_indo": 23,
|
59 |
+
"privacy": 8,
|
60 |
+
"privacy_indo": 7,
|
61 |
+
"technical_issues": 14,
|
62 |
+
"technical_issues_indo": 13,
|
63 |
+
"technology": 18,
|
64 |
+
"technology_indo": 17,
|
65 |
+
"thanks": 22,
|
66 |
+
"thanks_indo": 21,
|
67 |
+
"troubleshooting": 2,
|
68 |
+
"troubleshooting_indo": 1,
|
69 |
+
"video_recording": 26,
|
70 |
+
"video_recording_indo": 25
|
71 |
+
},
|
72 |
+
"layer_norm_eps": 1e-12,
|
73 |
+
"max_position_embeddings": 512,
|
74 |
+
"model_type": "bert",
|
75 |
+
"num_attention_heads": 16,
|
76 |
+
"num_hidden_layers": 24,
|
77 |
+
"pad_token_id": 0,
|
78 |
+
"position_embedding_type": "absolute",
|
79 |
+
"problem_type": "single_label_classification",
|
80 |
+
"torch_dtype": "float32",
|
81 |
+
"transformers_version": "4.37.2",
|
82 |
+
"type_vocab_size": 2,
|
83 |
+
"use_cache": true,
|
84 |
+
"vocab_size": 30522
|
85 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3320963c7303b6ee825a052642f64873b605723a684b35b7065d6b2d1c031ba8
|
3 |
+
size 1340725268
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": true,
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"max_length": 256,
|
50 |
+
"model_max_length": 512,
|
51 |
+
"never_split": null,
|
52 |
+
"pad_token": "[PAD]",
|
53 |
+
"sep_token": "[SEP]",
|
54 |
+
"strip_accents": null,
|
55 |
+
"tokenize_chinese_chars": true,
|
56 |
+
"tokenizer_class": "BertTokenizer",
|
57 |
+
"unk_token": "[UNK]"
|
58 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4269b9615f572f30b1c61cae82cc3a30678ecc64eea9ff7b99afb233c118937
|
3 |
+
size 4600
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|