eskayML/bert_interview_new
Browse files- README.md +65 -0
- config.json +69 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +56 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: distilbert-base-uncased
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: bert_interview_duplicated
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# bert_interview_duplicated
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.6667
|
22 |
+
- Accuracy: 0.4523
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 1e-05
|
42 |
+
- train_batch_size: 2
|
43 |
+
- eval_batch_size: 2
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 5
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
|
53 |
+
| 2.2802 | 1.0 | 2121 | 2.0371 | 0.3804 |
|
54 |
+
| 2.0794 | 2.0 | 4242 | 1.8813 | 0.4158 |
|
55 |
+
| 1.9467 | 3.0 | 6363 | 1.7781 | 0.4311 |
|
56 |
+
| 1.8672 | 4.0 | 8484 | 1.7044 | 0.4429 |
|
57 |
+
| 1.7766 | 5.0 | 10605 | 1.6667 | 0.4523 |
|
58 |
+
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- Transformers 4.44.2
|
63 |
+
- Pytorch 2.5.0+cu121
|
64 |
+
- Datasets 3.0.2
|
65 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "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": "ALGORITHM",
|
13 |
+
"1": "COMANAGEMENT",
|
14 |
+
"2": "COMPETING PRIORITIES",
|
15 |
+
"3": "COST",
|
16 |
+
"4": "COVID",
|
17 |
+
"5": "EHR",
|
18 |
+
"6": "GUIDELINES",
|
19 |
+
"7": "HFREF COMFORT MANAGING",
|
20 |
+
"8": "INFO NEEDS",
|
21 |
+
"9": "INTERNAL & EXTERNAL SUPPORT BAR",
|
22 |
+
"10": "JUICY QUOTE",
|
23 |
+
"11": "MAGIC WAND",
|
24 |
+
"12": "MED MANAGEMENT",
|
25 |
+
"13": "OTHER",
|
26 |
+
"14": "PATIENT DIGITAL TOOLS",
|
27 |
+
"15": "PATIENTS",
|
28 |
+
"16": "PROVIDER EDUCATION",
|
29 |
+
"17": "ROLE OF OTHER STAFF",
|
30 |
+
"18": "TIME CONSTRAINTS",
|
31 |
+
"19": "WORKFLOW"
|
32 |
+
},
|
33 |
+
"initializer_range": 0.02,
|
34 |
+
"label2id": {
|
35 |
+
"ALGORITHM": 0,
|
36 |
+
"COMANAGEMENT": 1,
|
37 |
+
"COMPETING PRIORITIES": 2,
|
38 |
+
"COST": 3,
|
39 |
+
"COVID": 4,
|
40 |
+
"EHR": 5,
|
41 |
+
"GUIDELINES": 6,
|
42 |
+
"HFREF COMFORT MANAGING": 7,
|
43 |
+
"INFO NEEDS": 8,
|
44 |
+
"INTERNAL & EXTERNAL SUPPORT BAR": 9,
|
45 |
+
"JUICY QUOTE": 10,
|
46 |
+
"MAGIC WAND": 11,
|
47 |
+
"MED MANAGEMENT": 12,
|
48 |
+
"OTHER": 13,
|
49 |
+
"PATIENT DIGITAL TOOLS": 14,
|
50 |
+
"PATIENTS": 15,
|
51 |
+
"PROVIDER EDUCATION": 16,
|
52 |
+
"ROLE OF OTHER STAFF": 17,
|
53 |
+
"TIME CONSTRAINTS": 18,
|
54 |
+
"WORKFLOW": 19
|
55 |
+
},
|
56 |
+
"max_position_embeddings": 512,
|
57 |
+
"model_type": "distilbert",
|
58 |
+
"n_heads": 12,
|
59 |
+
"n_layers": 6,
|
60 |
+
"pad_token_id": 0,
|
61 |
+
"problem_type": "single_label_classification",
|
62 |
+
"qa_dropout": 0.1,
|
63 |
+
"seq_classif_dropout": 0.2,
|
64 |
+
"sinusoidal_pos_embds": false,
|
65 |
+
"tie_weights_": true,
|
66 |
+
"torch_dtype": "float32",
|
67 |
+
"transformers_version": "4.44.2",
|
68 |
+
"vocab_size": 30522
|
69 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:749d04ea2901a5ad00e113ade3316ded52d0d41aed3d018e6323f4afa831df52
|
3 |
+
size 267887936
|
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,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"max_length": 512,
|
49 |
+
"model_max_length": 512,
|
50 |
+
"pad_token": "[PAD]",
|
51 |
+
"sep_token": "[SEP]",
|
52 |
+
"strip_accents": null,
|
53 |
+
"tokenize_chinese_chars": true,
|
54 |
+
"tokenizer_class": "DistilBertTokenizer",
|
55 |
+
"unk_token": "[UNK]"
|
56 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:779160f61658f523db0d12b0e3dc118a178fe1a80f1bc3af64d572222f207a27
|
3 |
+
size 5240
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|