syedroshanzameer
commited on
Commit
•
99edb0e
1
Parent(s):
94909fd
End of training
Browse files- README.md +60 -0
- config.json +77 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert/distilbert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: resume_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 |
+
# resume_model
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.9181
|
21 |
+
- Accuracy: 0.8290
|
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: 2e-05
|
41 |
+
- train_batch_size: 1
|
42 |
+
- eval_batch_size: 1
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 1
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| 1.2489 | 1.0 | 1987 | 0.9181 | 0.8290 |
|
53 |
+
|
54 |
+
|
55 |
+
### Framework versions
|
56 |
+
|
57 |
+
- Transformers 4.38.1
|
58 |
+
- Pytorch 2.2.1
|
59 |
+
- Datasets 2.17.1
|
60 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert/distilbert-base-uncased",
|
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": "HR",
|
13 |
+
"1": "DESIGNER",
|
14 |
+
"2": "INFORMATION-TECHNOLOGY",
|
15 |
+
"3": "TEACHER",
|
16 |
+
"4": "ADVOCATE",
|
17 |
+
"5": "BUSINESS-DEVELOPMENT",
|
18 |
+
"6": "HEALTHCARE",
|
19 |
+
"7": "FITNESS",
|
20 |
+
"8": "AGRICULTURE",
|
21 |
+
"9": "BPO",
|
22 |
+
"10": "SALES",
|
23 |
+
"11": "CONSULTANT",
|
24 |
+
"12": "DIGITAL-MEDIA",
|
25 |
+
"13": "AUTOMOBILE",
|
26 |
+
"14": "CHEF",
|
27 |
+
"15": "FINANCE",
|
28 |
+
"16": "APPAREL",
|
29 |
+
"17": "ENGINEERING",
|
30 |
+
"18": "ACCOUNTANT",
|
31 |
+
"19": "CONSTRUCTION",
|
32 |
+
"20": "PUBLIC-RELATIONS",
|
33 |
+
"21": "BANKING",
|
34 |
+
"22": "ARTS",
|
35 |
+
"23": "AVIATION"
|
36 |
+
},
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"label2id": {
|
39 |
+
"ACCOUNTANT": 18,
|
40 |
+
"ADVOCATE": 4,
|
41 |
+
"AGRICULTURE": 8,
|
42 |
+
"APPAREL": 16,
|
43 |
+
"ARTS": 22,
|
44 |
+
"AUTOMOBILE": 13,
|
45 |
+
"AVIATION": 23,
|
46 |
+
"BANKING": 21,
|
47 |
+
"BPO": 9,
|
48 |
+
"BUSINESS-DEVELOPMENT": 5,
|
49 |
+
"CHEF": 14,
|
50 |
+
"CONSTRUCTION": 19,
|
51 |
+
"CONSULTANT": 11,
|
52 |
+
"DESIGNER": 1,
|
53 |
+
"DIGITAL-MEDIA": 12,
|
54 |
+
"ENGINEERING": 17,
|
55 |
+
"FINANCE": 15,
|
56 |
+
"FITNESS": 7,
|
57 |
+
"HEALTHCARE": 6,
|
58 |
+
"HR": 0,
|
59 |
+
"INFORMATION-TECHNOLOGY": 2,
|
60 |
+
"PUBLIC-RELATIONS": 20,
|
61 |
+
"SALES": 10,
|
62 |
+
"TEACHER": 3
|
63 |
+
},
|
64 |
+
"max_position_embeddings": 512,
|
65 |
+
"model_type": "distilbert",
|
66 |
+
"n_heads": 12,
|
67 |
+
"n_layers": 6,
|
68 |
+
"pad_token_id": 0,
|
69 |
+
"problem_type": "single_label_classification",
|
70 |
+
"qa_dropout": 0.1,
|
71 |
+
"seq_classif_dropout": 0.2,
|
72 |
+
"sinusoidal_pos_embds": false,
|
73 |
+
"tie_weights_": true,
|
74 |
+
"torch_dtype": "float32",
|
75 |
+
"transformers_version": "4.38.1",
|
76 |
+
"vocab_size": 30522
|
77 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77d31fc808bf4c09a3a97d184631a22c5b89db12b92e5cd1719cdfe81cf24d76
|
3 |
+
size 267900240
|
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.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 1000000000000000019884624838656,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "DistilBertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa63f7c8cbd4e82cc4bad0986f2087b85c501e775fa343d4444d27566678e4d8
|
3 |
+
size 4856
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|