ashuc27 commited on
Commit
df5c7d5
·
verified ·
1 Parent(s): 91c30df

ashuc27/Bert_tweetEval

Browse files
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: apache-2.0
3
- base_model: distilbert-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 [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
 
@@ -49,9 +49,9 @@ The following hyperparameters were used during training:
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
 
1
  ---
2
  license: apache-2.0
3
+ base_model: bert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  metrics:
 
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.6234
21
+ - Accuracy: 0.7054
22
 
23
  ## Model description
24
 
 
49
 
50
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.7149 | 1.0 | 716 | 0.6495 | 0.6346 |
53
+ | 0.561 | 2.0 | 1432 | 0.9508 | 0.7089 |
54
+ | 0.2295 | 3.0 | 2148 | 1.5088 | 0.7173 |
55
 
56
 
57
  ### Framework versions
config.json CHANGED
@@ -1,13 +1,14 @@
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,6 +18,7 @@
17
  "5": "LABEL_5"
18
  },
19
  "initializer_range": 0.02,
 
20
  "label2id": {
21
  "LABEL_0": 0,
22
  "LABEL_1": 1,
@@ -25,17 +27,17 @@
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
  }
 
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
  "5": "LABEL_5"
19
  },
20
  "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
  "label2id": {
23
  "LABEL_0": 0,
24
  "LABEL_1": 1,
 
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
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4bf76ecd6b0935debd1bba3f143d14dcba411a433f18ea01098aa34044e752fc
3
- size 267844872
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28d5fda8bdbfb4833b67583bf5d4297ff2ebfd86b2f1033660bb3bd6ba15de41
3
+ size 437970952
runs/Mar15_01-02-10_7e523dcb7947/events.out.tfevents.1710464539.7e523dcb7947.18634.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e87d667f65529782ff57b7b148e9d8bd522c683447dcf02d7a4c64fa7d2a7a0
3
+ size 346
runs/Mar15_01-02-46_7e523dcb7947/events.out.tfevents.1710464598.7e523dcb7947.18634.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fe58cf7221b914fe00d07ac6520ff31a51dde6127f67eba2e1aadb0aa3cf3db
3
+ size 346
runs/Mar15_01-03-41_7e523dcb7947/events.out.tfevents.1710464632.7e523dcb7947.18634.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0d0854097819a9ede81f4cf449aa3da3ce2d2f69dcae8b03803970f2e3943d4
3
+ size 7278
runs/Mar15_01-03-41_7e523dcb7947/events.out.tfevents.1710465038.7e523dcb7947.18634.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12a52665ece2b4949fcdf8f5104c2230bf6315898230e97fd3b5f8f9e9701042
3
+ size 1057
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:86787c3d97e3ab8123245daf20bd0ec8da9b700b0ae985858f082b0d92ee93b8
3
  size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9eb3e141ef2273dd9a8db7310724a881b781800037a627082affdc731af360f
3
  size 4856