ashuc27 commited on
Commit
f91014c
·
verified ·
1 Parent(s): 60714cd

ashuc27/DistiliBert_tweetEval

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: apache-2.0
3
- base_model: bert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
@@ -15,10 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # results
17
 
18
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 1.5357
21
- - Accuracy: 0.7130
22
 
23
  ## Model description
24
 
@@ -39,7 +39,7 @@ More information needed
39
  The following hyperparameters were used during training:
40
  - learning_rate: 2.8e-05
41
  - train_batch_size: 4
42
- - eval_batch_size: 32
43
  - seed: 42
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
@@ -49,9 +49,9 @@ The following hyperparameters were used during training:
49
 
50
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
- | 0.7088 | 1.0 | 716 | 0.6241 | 0.6545 |
53
- | 0.5523 | 2.0 | 1432 | 0.8595 | 0.7225 |
54
- | 0.2348 | 3.0 | 2148 | 1.5133 | 0.7089 |
55
 
56
 
57
  ### Framework versions
 
1
  ---
2
  license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
 
15
 
16
  # results
17
 
18
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 1.4155
21
+ - Accuracy: 0.6747
22
 
23
  ## Model description
24
 
 
39
  The following hyperparameters were used during training:
40
  - learning_rate: 2.8e-05
41
  - train_batch_size: 4
42
+ - eval_batch_size: 64
43
  - seed: 42
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
 
49
 
50
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.7101 | 1.0 | 716 | 0.6199 | 0.6597 |
53
+ | 0.5864 | 2.0 | 1432 | 0.7953 | 0.6901 |
54
+ | 0.3081 | 3.0 | 2148 | 1.3766 | 0.6869 |
55
 
56
 
57
  ### Framework versions
config.json CHANGED
@@ -1,14 +1,13 @@
1
  {
2
- "_name_or_path": "bert-base-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": 768,
12
  "id2label": {
13
  "0": "LABEL_0",
14
  "1": "LABEL_1",
@@ -18,7 +17,6 @@
18
  "5": "LABEL_5"
19
  },
20
  "initializer_range": 0.02,
21
- "intermediate_size": 3072,
22
  "label2id": {
23
  "LABEL_0": 0,
24
  "LABEL_1": 1,
@@ -27,17 +25,17 @@
27
  "LABEL_4": 4,
28
  "LABEL_5": 5
29
  },
30
- "layer_norm_eps": 1e-12,
31
  "max_position_embeddings": 512,
32
- "model_type": "bert",
33
- "num_attention_heads": 12,
34
- "num_hidden_layers": 12,
35
  "pad_token_id": 0,
36
- "position_embedding_type": "absolute",
37
  "problem_type": "single_label_classification",
 
 
 
 
38
  "torch_dtype": "float32",
39
  "transformers_version": "4.38.2",
40
- "type_vocab_size": 2,
41
- "use_cache": true,
42
  "vocab_size": 30522
43
  }
 
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": "LABEL_0",
13
  "1": "LABEL_1",
 
17
  "5": "LABEL_5"
18
  },
19
  "initializer_range": 0.02,
 
20
  "label2id": {
21
  "LABEL_0": 0,
22
  "LABEL_1": 1,
 
25
  "LABEL_4": 4,
26
  "LABEL_5": 5
27
  },
 
28
  "max_position_embeddings": 512,
29
+ "model_type": "distilbert",
30
+ "n_heads": 12,
31
+ "n_layers": 6,
32
  "pad_token_id": 0,
 
33
  "problem_type": "single_label_classification",
34
+ "qa_dropout": 0.1,
35
+ "seq_classif_dropout": 0.2,
36
+ "sinusoidal_pos_embds": false,
37
+ "tie_weights_": true,
38
  "torch_dtype": "float32",
39
  "transformers_version": "4.38.2",
 
 
40
  "vocab_size": 30522
41
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:69376644e7495ef9a6cb6fa30af4f5828cac9b7776c5cae01bb6fa24ccde4471
3
- size 437970952
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bf76ecd6b0935debd1bba3f143d14dcba411a433f18ea01098aa34044e752fc
3
+ size 267844872
runs/Mar15_00-51-26_7e523dcb7947/events.out.tfevents.1710463892.7e523dcb7947.15672.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b28cf91193fd7b919ee1f74444945039b8f5431d02d9e00369925eccae17c1c
3
+ size 346
runs/Mar15_00-52-32_7e523dcb7947/events.out.tfevents.1710463956.7e523dcb7947.15672.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2213000cc63d434ebb7355172ea7176cc8758a0232561cc98be02608b6d0ec97
3
+ size 346
runs/Mar15_00-53-21_7e523dcb7947/events.out.tfevents.1710464020.7e523dcb7947.15672.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8625a474f88f8e82fe960f4307a723793b0b7dbcb19fbad543791aa01088d7a4
3
+ size 346
runs/Mar15_00-53-57_7e523dcb7947/events.out.tfevents.1710464043.7e523dcb7947.15672.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd393d85ad972f2a724d2ea24a26873e3fa23080b230659496adf748954ef624
3
+ size 346
runs/Mar15_00-54-26_7e523dcb7947/events.out.tfevents.1710464071.7e523dcb7947.15672.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba5cb19e06139ae4912ae3ca6f27530f2c15b5fca606ec22c1d0f6c55540f857
3
+ size 7166
runs/Mar15_00-54-26_7e523dcb7947/events.out.tfevents.1710464307.7e523dcb7947.15672.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fad0b55e812481423596046b1c148aedc737fbe2ffaa51d5fe2f5eb5538ba6b
3
+ size 1057
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c36d6939fda7f2aad5f2894a3a9379c1eb360571421ed4530ca03c3d34ceec45
3
  size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86787c3d97e3ab8123245daf20bd0ec8da9b700b0ae985858f082b0d92ee93b8
3
  size 4856