tsunemoto commited on
Commit
d94ce52
1 Parent(s): 1a15063

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,17 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ heimer-dpo-tinyllama-1.1b.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ heimer-dpo-tinyllama-1.1b.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ heimer-dpo-tinyllama-1.1b.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ heimer-dpo-tinyllama-1.1b.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ heimer-dpo-tinyllama-1.1b.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ heimer-dpo-tinyllama-1.1b.Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
42
+ heimer-dpo-tinyllama-1.1b.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ heimer-dpo-tinyllama-1.1b.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ heimer-dpo-tinyllama-1.1b.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
45
+ heimer-dpo-tinyllama-1.1b.Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
46
+ heimer-dpo-tinyllama-1.1b.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
47
+ heimer-dpo-tinyllama-1.1b.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
48
+ heimer-dpo-tinyllama-1.1b.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ heimer-dpo-tinyllama-1.1b.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: "Heimer-dpo-TinyLlama-1.1B Quantized in GGUF"
3
+ tags:
4
+ - GGUF
5
+ language: en
6
+ ---
7
+ ![Image description](https://i.postimg.cc/MGwhtFfF/tsune-fixed.png)
8
+
9
+ # Tsunemoto GGUF's of Heimer-dpo-TinyLlama-1.1B
10
+
11
+ This is a GGUF quantization of Heimer-dpo-TinyLlama-1.1B.
12
+
13
+ ## Original Repo Link:
14
+ [Original Repository](https://huggingface.co/abideen/Heimer-dpo-TinyLlama-1.1B)
15
+
16
+ ## Original Model Card:
17
+ ---
18
+
19
+ # Heimer-dpo-TinyLlama-1.1B
20
+
21
+
22
+ ![image/jpeg](https://cdn-uploads.huggingface.co/production/uploads/64e380b2e12618b261fa6ba0/a7joKICVpqGElN3mh2MpS.jpeg)
23
+
24
+
25
+ # WandB Experiment Tracking
26
+
27
+ Check out the experiment details in this [report](https://api.wandb.ai/links/zaiinn440/dqlt70dc)
28
+
29
+
30
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/64e380b2e12618b261fa6ba0/HLhrSUFD1-e6f31F3WGK2.png)
31
+
32
+ # 🧩 DPO adaptation hyperparameters
33
+
34
+ ## LoRA:
35
+
36
+ r=8
37
+
38
+ lora_alpha=16
39
+
40
+ lora_dropout=0.05
41
+
42
+ bias="none"
43
+
44
+ task_type="CAUSAL_LM"
45
+
46
+ target_modules=['k_proj', 'gate_proj', 'v_proj', 'up_proj', 'q_proj', 'o_proj', 'down_proj']
47
+
48
+ ## Training arguments:
49
+
50
+ per_device_train_batch_size=2
51
+
52
+ gradient_accumulation_steps=4
53
+
54
+ gradient_checkpointing=True
55
+
56
+ learning_rate=5e-5
57
+
58
+ lr_scheduler_type="cosine"
59
+
60
+ max_steps=50
61
+
62
+ optim="paged_adamw_32bit"
63
+
64
+ warmup_steps=10
65
+
66
+ ## DPOTrainer:
67
+
68
+ beta=0.1
69
+
70
+ max_prompt_length=1024
71
+
72
+ max_length=1536
73
+
74
+
75
+ ## 💻 Usage
76
+
77
+ Here's a [Colab notebook](https://colab.research.google.com/drive/11KEX1LG3nRBoeGR0Iyy-459XllGlLOA9?usp=sharing) to run Heimer-TinyLLama-1.1B in 4-bit precision on a free T4 GPU.
78
+
79
+ ```python
80
+ !pip install -qU transformers accelerate
81
+
82
+ from transformers import AutoTokenizer
83
+ import transformers
84
+ import torch
85
+
86
+ model = "abideen/Heimer-dpo-TinyLlama-1.1B"
87
+ messages = [{"role": "user", "content": "Explain what is Data science."}]
88
+
89
+ tokenizer = AutoTokenizer.from_pretrained(model)
90
+ prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
91
+ pipeline = transformers.pipeline(
92
+ "text-generation",
93
+ model=model,
94
+ torch_dtype=torch.float16,
95
+ device_map="auto",
96
+ )
97
+
98
+ outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
99
+ print(outputs[0]["generated_text"])
100
+ ```
101
+
102
+ "What is Data Science?
103
+ A data scientist is an individual who has a passion for data and knowledge of the technology that can be used to help make sense of data. Data scientists are often involved in the development of new software and software platforms, as well as analyzing and interpreting data.
104
+ What are the Important components of Data Science?
105
+ 1. Data: The data is the most important component of a data science project. Data science is the application of data science to make sense of data. Data scientists usually work with data, but data scientists are not necessarily data scientists.
106
+ 2. Analysis: This is the process of taking data and turning it into something useful.
107
+ 3. Modeling: The use of machine learning and statistical techniques.
108
+ 4. Prediction: The prediction of a future event, such as the future market share of a product or the future population of an area.
109
+ 5. Visualization: Displaying the data in a graphical or interactive format.
110
+ 6. Statistics: The use of statistical analysis techniques.
111
+ What are the Advantages of Data Science?
112
+ Data science is the application of data science to make sense of data."
heimer-dpo-tinyllama-1.1b.Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcd3b804de5d2dc359d099df7488ad65d394cf05d85ee6bdf5bb77b5c7febfa1
3
+ size 483115904
heimer-dpo-tinyllama-1.1b.Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:418d02b2f9fe08170be6fd2cf5b99642264234ada63d973b8d953b9a95ced646
3
+ size 592499584
heimer-dpo-tinyllama-1.1b.Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f48a8be84633548e636862a952284bc976c552c50f08b88cfe7c71c6f99cb04
3
+ size 550818688
heimer-dpo-tinyllama-1.1b.Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e012ca7b2f91f9af05c826be110b271eaaad036b37b3dd66584a15fa9c5afc42
3
+ size 500315008
heimer-dpo-tinyllama-1.1b.Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de5c0ca32df9abac1ae80f14e1824dfd5800b337b7bc6e3e1d8664ed87b041a5
3
+ size 637698944
heimer-dpo-tinyllama-1.1b.Q4_1.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b535d7a80fcf53e7cdb6f2674fa9af2d5868e0f87b7c2007ba568710060cc27b
3
+ size 702350208
heimer-dpo-tinyllama-1.1b.Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65d1e686ec150109cc35704b262d716ecc80fc570be90a4aba219b2ccedc1057
3
+ size 668787584
heimer-dpo-tinyllama-1.1b.Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21fd452b63431cbee6672c00a18f573534980ef21dc3020d7d938f2e5554914c
3
+ size 643728256
heimer-dpo-tinyllama-1.1b.Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d85669c70cae7c78783b2f37c4607603ddfa87745739be1e913fe6053f582da
3
+ size 767001472
heimer-dpo-tinyllama-1.1b.Q5_1.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bea154a48e8d99faf0d2dda254e9d17d771b8a4a7a66a025396c0e1a2012c9b
3
+ size 831652736
heimer-dpo-tinyllama-1.1b.Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:684f8e38c05cdd848594f01bbb7cc9aaa574f91415e3f72cd4b98bed296c1a88
3
+ size 783016832
heimer-dpo-tinyllama-1.1b.Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0192dc909a43ed60ed0fd56738b0fcba1cba28ddc1c6a3f0e233ac8b542e06f9
3
+ size 767001472
heimer-dpo-tinyllama-1.1b.Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56a887370ddafa452a1b53f226e77e4585f7cd5eaf6019392f2d26849a53d36d
3
+ size 904385408
heimer-dpo-tinyllama-1.1b.Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5fb20e08f30d2e1ae00630b6c104fbc96b9a451649eee0118a51fb8a5c543de8
3
+ size 1170781056