eskayML commited on
Commit
dd3e345
·
verified ·
1 Parent(s): af0174f

eskayML/bert_interview_new

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_new
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_new
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: 0.9106
22
+ - Accuracy: 0.7697
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: 10
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | 2.5257 | 1.0 | 759 | 2.1260 | 0.4079 |
54
+ | 1.9969 | 2.0 | 1518 | 1.7308 | 0.5066 |
55
+ | 1.7415 | 3.0 | 2277 | 1.4204 | 0.6316 |
56
+ | 1.5223 | 4.0 | 3036 | 1.2385 | 0.6743 |
57
+ | 1.3484 | 5.0 | 3795 | 1.1238 | 0.7039 |
58
+ | 1.2576 | 6.0 | 4554 | 1.0478 | 0.7336 |
59
+ | 1.1427 | 7.0 | 5313 | 0.9814 | 0.7467 |
60
+ | 1.0499 | 8.0 | 6072 | 0.9471 | 0.75 |
61
+ | 1.0145 | 9.0 | 6831 | 0.9234 | 0.7632 |
62
+ | 0.911 | 10.0 | 7590 | 0.9106 | 0.7697 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.44.2
68
+ - Pytorch 2.4.0+cu121
69
+ - Datasets 3.0.0
70
+ - 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:149a9d8e3b01a3b88776b9549a68c36e9a8e0d5d9045d8623e488bfa81770a85
3
+ size 267887936
runs/Sep13_13-28-17_0294381cf3b7/events.out.tfevents.1726234098.0294381cf3b7.540.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6b1ae096a957f051fa52b4faccf8e7a7e9fe10cba070d0539987529888da9c2
3
+ size 11980
runs/Sep13_13-49-13_0294381cf3b7/events.out.tfevents.1726235354.0294381cf3b7.540.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7739b9c15f0843dc6a194d575600c07bfb666df51998b67bdeaefc0ab48f5e8
3
+ size 12613
runs/Sep13_14-46-10_0294381cf3b7/events.out.tfevents.1726238770.0294381cf3b7.540.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecd4023160bb0f8ceaa9f73aa46d3070fbab332f19c2a804411587c096d0f637
3
+ size 6947
runs/Sep13_14-47-32_0294381cf3b7/events.out.tfevents.1726238853.0294381cf3b7.540.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fb7df138f72733282c00fd010afe127291a9e3a86eccdc5fba7f45e6e941317
3
+ size 12613
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:d11b28af5d635c99b0ece872a85d26404ddaef6bb47baa37d9a9e428a8ccbae8
3
+ size 5240
vocab.txt ADDED
The diff for this file is too large to render. See raw diff