ashuc27 commited on
Commit
524a2f0
·
verified ·
1 Parent(s): 79f7088

ashuc27/Albert_tweetEval

Browse files
README.md CHANGED
@@ -1,13 +1,28 @@
1
  ---
2
  license: apache-2.0
3
- base_model: distilbert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  datasets:
7
  - emotion
 
 
8
  model-index:
9
  - name: results
10
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -15,14 +30,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 the emotion dataset.
19
  It achieves the following results on the evaluation set:
20
- - eval_loss: 1.8177
21
- - eval_accuracy: 0.0345
22
- - eval_runtime: 10.6974
23
- - eval_samples_per_second: 186.961
24
- - eval_steps_per_second: 11.685
25
- - step: 0
26
 
27
  ## Model description
28
 
@@ -41,14 +52,23 @@ More information needed
41
  ### Training hyperparameters
42
 
43
  The following hyperparameters were used during training:
44
- - learning_rate: 5e-05
45
- - train_batch_size: 16
46
- - eval_batch_size: 16
47
  - seed: 42
48
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
  - lr_scheduler_type: linear
50
  - num_epochs: 3
51
 
 
 
 
 
 
 
 
 
 
52
  ### Framework versions
53
 
54
  - Transformers 4.38.2
 
1
  ---
2
  license: apache-2.0
3
+ base_model: albert-base-v2
4
  tags:
5
  - generated_from_trainer
6
  datasets:
7
  - emotion
8
+ metrics:
9
+ - accuracy
10
  model-index:
11
  - name: results
12
+ results:
13
+ - task:
14
+ name: Text Classification
15
+ type: text-classification
16
+ dataset:
17
+ name: emotion
18
+ type: emotion
19
+ config: split
20
+ split: validation
21
+ args: split
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.9305
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
30
 
31
  # results
32
 
33
+ This model is a fine-tuned version of [albert-base-v2](https://huggingface.co/albert-base-v2) on the emotion dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 0.2314
36
+ - Accuracy: 0.9305
 
 
 
 
37
 
38
  ## Model description
39
 
 
52
  ### Training hyperparameters
53
 
54
  The following hyperparameters were used during training:
55
+ - learning_rate: 2.8e-05
56
+ - train_batch_size: 4
57
+ - eval_batch_size: 64
58
  - seed: 42
59
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
  - lr_scheduler_type: linear
61
  - num_epochs: 3
62
 
63
+ ### Training results
64
+
65
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|
67
+ | 0.4298 | 1.0 | 4000 | 0.4243 | 0.9085 |
68
+ | 0.2389 | 2.0 | 8000 | 0.3465 | 0.922 |
69
+ | 0.1856 | 3.0 | 12000 | 0.2700 | 0.929 |
70
+
71
+
72
  ### Framework versions
73
 
74
  - Transformers 4.38.2
config.json CHANGED
@@ -1,13 +1,18 @@
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 +22,8 @@
17
  "5": "LABEL_5"
18
  },
19
  "initializer_range": 0.02,
 
 
20
  "label2id": {
21
  "LABEL_0": 0,
22
  "LABEL_1": 1,
@@ -25,17 +32,19 @@
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": "albert-base-v2",
 
3
  "architectures": [
4
+ "AlbertForSequenceClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0,
7
+ "bos_token_id": 2,
8
+ "classifier_dropout_prob": 0.1,
9
+ "down_scale_factor": 1,
10
+ "embedding_size": 128,
11
+ "eos_token_id": 3,
12
+ "gap_size": 0,
13
+ "hidden_act": "gelu_new",
14
+ "hidden_dropout_prob": 0,
15
+ "hidden_size": 768,
16
  "id2label": {
17
  "0": "LABEL_0",
18
  "1": "LABEL_1",
 
22
  "5": "LABEL_5"
23
  },
24
  "initializer_range": 0.02,
25
+ "inner_group_num": 1,
26
+ "intermediate_size": 3072,
27
  "label2id": {
28
  "LABEL_0": 0,
29
  "LABEL_1": 1,
 
32
  "LABEL_4": 4,
33
  "LABEL_5": 5
34
  },
35
+ "layer_norm_eps": 1e-12,
36
  "max_position_embeddings": 512,
37
+ "model_type": "albert",
38
+ "net_structure_type": 0,
39
+ "num_attention_heads": 12,
40
+ "num_hidden_groups": 1,
41
+ "num_hidden_layers": 12,
42
+ "num_memory_blocks": 0,
43
  "pad_token_id": 0,
44
+ "position_embedding_type": "absolute",
45
  "problem_type": "single_label_classification",
 
 
 
 
46
  "torch_dtype": "float32",
47
  "transformers_version": "4.38.2",
48
+ "type_vocab_size": 2,
49
+ "vocab_size": 30000
50
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:93b50567c9209e758921f1dfb02ae7e291a63e870feb2443af4ddca5628361f2
3
- size 267844872
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28406c318314a09a392b68f9b5cf2bb3c584c75e616706e62b7d47f8cd706d14
3
+ size 46756216
runs/Mar15_01-18-58_7e523dcb7947/events.out.tfevents.1710465561.7e523dcb7947.21996.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:684a72d48660e76972937b21197799f9c64768d09a7870f7845c04e1b72aeb7a
3
+ size 346
runs/Mar15_01-20-48_7e523dcb7947/events.out.tfevents.1710465673.7e523dcb7947.21996.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9601805a6bce2b53b248fb3f60cd91af1a3f2ba866bf94d198d93659b02f3a81
3
+ size 346
runs/Mar15_01-22-22_7e523dcb7947/events.out.tfevents.1710465926.7e523dcb7947.21996.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb2989970de40543fe93693cc7da7a703f82c30deaea50309767b059ab1684b0
3
+ size 11660
runs/Mar15_01-22-22_7e523dcb7947/events.out.tfevents.1710468056.7e523dcb7947.21996.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a34253b883cccc77b886f83fc81d753e13c6ea45f05f2b85123124592397a182
3
+ size 1057
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c90f26f1b131452e9fd4771cfb540b5196e03c1ac79954eebe0401eb92b9af6b
3
  size 4856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d235e97416679ab43ed03b93bfcb66dd82ad38ba15d06958a37f3bd034217efa
3
  size 4856