Nali19 commited on
Commit
38617da
·
verified ·
1 Parent(s): 614290c

finetuned_tinybert_spam

Browse files
Files changed (4) hide show
  1. README.md +69 -0
  2. config.json +34 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: hf-internal-testing/tiny-albert
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ model-index:
8
+ - name: results
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # results
16
+
17
+ This model is a fine-tuned version of [hf-internal-testing/tiny-albert](https://huggingface.co/hf-internal-testing/tiny-albert) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.1315
20
+ - Accuracy: 0.96
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 0.001
40
+ - train_batch_size: 24
41
+ - eval_batch_size: 24
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - lr_scheduler_warmup_steps: 25.0
46
+ - num_epochs: 1
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.6937 | 0.1 | 25 | 0.6927 | 0.5115 |
53
+ | 0.6911 | 0.2 | 50 | 0.6770 | 0.613 |
54
+ | 0.4988 | 0.3 | 75 | 0.3574 | 0.886 |
55
+ | 0.2604 | 0.4 | 100 | 0.1720 | 0.9525 |
56
+ | 0.1758 | 0.5 | 125 | 0.1787 | 0.9435 |
57
+ | 0.1964 | 0.6 | 150 | 0.1327 | 0.9615 |
58
+ | 0.1637 | 0.7 | 175 | 0.1269 | 0.9635 |
59
+ | 0.1453 | 0.8 | 200 | 0.1538 | 0.9565 |
60
+ | 0.1563 | 0.9 | 225 | 0.1508 | 0.9575 |
61
+ | 0.1657 | 1.0 | 250 | 0.1315 | 0.96 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.40.0
67
+ - Pytorch 2.2.1+cu121
68
+ - Datasets 2.19.0
69
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-internal-testing/tiny-albert",
3
+ "architectures": [
4
+ "AlbertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 2,
8
+ "classifier_dropout_prob": 0.1,
9
+ "down_scale_factor": 1,
10
+ "embedding_size": 64,
11
+ "eos_token_id": 3,
12
+ "gap_size": 0,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 32,
16
+ "initializer_range": 0.02,
17
+ "inner_group_num": 1,
18
+ "intermediate_size": 128,
19
+ "layer_norm_eps": 1e-12,
20
+ "max_position_embeddings": 256,
21
+ "model_type": "albert",
22
+ "net_structure_type": 0,
23
+ "num_attention_heads": 2,
24
+ "num_hidden_groups": 1,
25
+ "num_hidden_layers": 2,
26
+ "num_memory_blocks": 0,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.40.0",
32
+ "type_vocab_size": 2,
33
+ "vocab_size": 5000
34
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:931af7274dfa317eedecd4a316043d164f8fd7d4534be226e43fe63a8efb5a85
3
+ size 1413520
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36f7c215aff54cfcf7e591211a2fddd97a6c0639f9e3f68885b97a63d266511c
3
+ size 4920