Safetensors
English
llama
Eval Results
mkurman commited on
Commit
86036fa
1 Parent(s): 3f7c1fc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +76 -3
README.md CHANGED
@@ -1,3 +1,76 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - allenai/tulu-3-sft-mixture
5
+ - allenai/llama-3.1-tulu-3-8b-preference-mixture
6
+ language:
7
+ - en
8
+ base_model:
9
+ - HuggingFaceTB/SmolLM2-1.7B-Instruct
10
+ ---
11
+ # SmolLM2-MedIT-Upscale-2B
12
+
13
+ **Model Summary**
14
+
15
+ SmolLM2-MedIT-Upscale-2B is an expanded version of the [SmolLM2-1.7B-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-1.7B-Instruct) model, increasing its parameter count to 2 billion. This expansion was achieved by doubling the number of heads in the `q_proj`, `k_proj`, `v_proj`, and `o_proj` layers, resulting in vectors of length 4096, compared to 2048 in the original model.
16
+
17
+ **Purpose of Expansion**
18
+
19
+ This model was developed to test the hypothesis that self-attention layers do not extend the "memory" of the model. By broadening the attention layers, we aim to observe the impact on the model's performance and memory capabilities.
20
+
21
+ **Training Status**
22
+
23
+ The model has undergone preliminary training focused on assessing the effects of the expanded attention layers. It is not fully trained to its maximum potential. We encourage the community to contribute to its further training; pull requests are welcome.
24
+
25
+ **Analysis of Expanded Layers**
26
+
27
+ During fine-tuning, we analyzed the changes in the new parameters of the expanded layers:
28
+
29
+ - **Minimum percentage of new parameters that changed:**
30
+ - `q_proj`: 62.17%
31
+ - `k_proj`: 37.85%
32
+ - `v_proj`: 99.99%
33
+ - `o_proj`: 99.98%
34
+
35
+ - **Maximum percentage of new parameters that changed:**
36
+ - `q_proj`: 98.86%
37
+ - `k_proj`: 97.99%
38
+ - `v_proj`: 99.99%
39
+ - `o_proj`: 99.99%
40
+
41
+ - **Average change in new parameters after fine-tuning:**
42
+ - `q_proj`: 1.838e-07
43
+ - `k_proj`: 2.277e-07
44
+ - `v_proj`: 6.490e-07
45
+ - `o_proj`: 3.924e-07
46
+
47
+ These results are illustrated in the following charts:
48
+
49
+ ![Percentage of Change](percent_of_change.png)
50
+ ![Average Parameter Change](mean_difference.png)
51
+
52
+ **Usage**
53
+
54
+ To utilize this model, follow the instructions provided for the original SmolLM2-1.7B-Instruct model, adjusting for the increased parameter size.
55
+
56
+ **Contributing**
57
+
58
+ We welcome contributions to further train and evaluate this model. Please submit pull requests with your improvements.
59
+
60
+ **License**
61
+
62
+ This model is licensed under the Apache 2.0 License.
63
+
64
+ **Citation**
65
+
66
+ If you use this model in your research, please cite it as follows:
67
+
68
+ ```
69
+ @misc{SmolLM2-MedIT-Upscale-2B,
70
+ author = {Mariusz Kurman, MedIT Solutions},
71
+ title = {SmolLM2-MedIT-Upscale-2B: An Expanded Version of SmolLM2-1.7B-Instruct},
72
+ year = {2024},
73
+ publisher = {Hugging Face},
74
+ url = {https://huggingface.co/YourUsername/SmolLM2-MedIT-Upscale-2B},
75
+ }
76
+ ```