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

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.4324
21
- - Accuracy: 0.6735
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: 64
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.7114 | 1.0 | 716 | 0.6388 | 0.6283 |
53
- | 0.556 | 2.0 | 1432 | 0.7971 | 0.6890 |
54
- | 0.3142 | 3.0 | 2148 | 1.4232 | 0.6775 |
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.5357
21
+ - Accuracy: 0.7130
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: 32
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.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
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:ecd68f30f498a582b8e800bc016ab1bc93f1232839fd44baac1d0e36a14d1596
3
- size 267844872
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69376644e7495ef9a6cb6fa30af4f5828cac9b7776c5cae01bb6fa24ccde4471
3
+ size 437970952
runs/Mar15_00-11-46_7e523dcb7947/events.out.tfevents.1710461515.7e523dcb7947.5607.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68bc00d364cebca1212ee50e16c70877bbab0232538d66264bd311b97321f730
3
+ size 7278
runs/Mar15_00-11-46_7e523dcb7947/events.out.tfevents.1710462008.7e523dcb7947.5607.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dc9af05be7a5854dcb5408c74a605e9e6f87e8109012c3ff77fa4754047f342
3
+ size 1057
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b9ddc761cab49090c0cfb69ea5e413ba8c5856cfcb9935b2221bbf8b511e6837
3
  size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c36d6939fda7f2aad5f2894a3a9379c1eb360571421ed4530ca03c3d34ceec45
3
  size 4856