Michaelj1 commited on
Commit
75f02b2
·
verified ·
1 Parent(s): 246da17

Michaelj1/smolLM2-360M-finetuned-wikitext2-raw-v1

Browse files
Files changed (5) hide show
  1. README.md +71 -0
  2. config.json +32 -0
  3. generation_config.json +6 -0
  4. model.safetensors +3 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: HuggingFaceTB/SmolLM2-360M
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: finetune-smolLM2-360M
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
+ # finetune-smolLM2-360M
16
+
17
+ This model is a fine-tuned version of [HuggingFaceTB/SmolLM2-360M](https://huggingface.co/HuggingFaceTB/SmolLM2-360M) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 2.7585
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 16
40
+ - eval_batch_size: 16
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 4
43
+ - total_train_batch_size: 64
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 1
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:------:|:----:|:---------------:|
53
+ | 2.7017 | 0.0871 | 50 | 2.8763 |
54
+ | 2.6474 | 0.1743 | 100 | 2.8244 |
55
+ | 2.5094 | 0.2614 | 150 | 2.8044 |
56
+ | 2.6284 | 0.3486 | 200 | 2.7901 |
57
+ | 2.7183 | 0.4357 | 250 | 2.7798 |
58
+ | 2.6457 | 0.5229 | 300 | 2.7732 |
59
+ | 2.7641 | 0.6100 | 350 | 2.7691 |
60
+ | 2.6276 | 0.6972 | 400 | 2.7661 |
61
+ | 2.7211 | 0.7843 | 450 | 2.7639 |
62
+ | 2.6556 | 0.8715 | 500 | 2.7603 |
63
+ | 2.7031 | 0.9586 | 550 | 2.7587 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.45.1
69
+ - Pytorch 2.4.0
70
+ - Datasets 3.0.1
71
+ - Tokenizers 0.20.0
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "HuggingFaceTB/SmolLM2-360M",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 0,
9
+ "eos_token_id": 0,
10
+ "head_dim": 64,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 960,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 2560,
15
+ "is_llama_config": true,
16
+ "max_position_embeddings": 8192,
17
+ "mlp_bias": false,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 15,
20
+ "num_hidden_layers": 32,
21
+ "num_key_value_heads": 5,
22
+ "pretraining_tp": 1,
23
+ "rms_norm_eps": 1e-05,
24
+ "rope_interleaved": false,
25
+ "rope_scaling": null,
26
+ "rope_theta": 100000,
27
+ "tie_word_embeddings": true,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.45.1",
30
+ "use_cache": true,
31
+ "vocab_size": 49152
32
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "transformers_version": "4.45.1"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d4899d143a14478ac3642da9a5d5e2f7c3063680c812e9ac4805e5db6d6969e
3
+ size 1447317080
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee57d003dda30cd2a372459bb1fbd4966f1ababaacd8640d54df073586682507
3
+ size 5240