Pinkstack commited on
Commit
1c6bc84
·
verified ·
1 Parent(s): 674c9cb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +86 -7
README.md CHANGED
@@ -3,21 +3,100 @@ base_model:
3
  - Pinkstack/Fijik-3b-Instruct
4
  tags:
5
  - text-generation-inference
6
- - transformers
7
  - unsloth
8
- - qwen2
9
- - gguf
 
 
 
 
10
  license: apache-2.0
11
  language:
12
  - en
 
 
13
  ---
 
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  # Uploaded model
16
 
17
  - **Developed by:** Pinkstack
18
- - **License:** apache-2.0
19
- - **Finetuned from model :** Pinkstack/Fijik-3b-sft
20
 
21
- This qwen2 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
22
 
23
- [<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  - Pinkstack/Fijik-3b-Instruct
4
  tags:
5
  - text-generation-inference
6
+ - GGUF
7
  - unsloth
8
+ - Qwen2
9
+ - trl
10
+ - dpo
11
+ - roleplay
12
+ - math
13
+ - code
14
  license: apache-2.0
15
  language:
16
  - en
17
+ pipeline_tag: text-generation
18
+ library_name: transformers
19
  ---
20
+ 😁:```Hi Fijik!```
21
 
22
+ 🤖:```Hello! What's up? How may I help?```
23
+
24
+ gguf version
25
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6710ba6af1279fe0dfe33afe/m8o_qX4M5A5bd_qqSBQPN.png)
26
+
27
+ # What is it
28
+ This is a 1.0 Fijik series with **3 billion** parameters, dense 56 layer transformer LLM based on Qwen2.5, specifically, it was merged using Mergekit to be twice as large as Qwen2.5 1.5B.
29
+
30
+ After merging, we used a custom dataset mix meant for this model, to improve its performance even more.
31
+ - **Step 1 for fine-tuning via unsloth:** SFT on an estimated 20 million tokens. (more or less)
32
+ - **Step 2 for the fine-tuning via unsloth:** DPO for 2 epochs for even better instruction following.
33
+ After these two steps, we got a powerful model which has less parameters than llama 3.1 8B yet performs just as good if not better, Note that unlike our other recent models, it is not a thinking model, yet it can reason quite well. Our theory behind this model is that a smaller yet deeper model can outperform for it's size.
34
+
35
+ Alibaba qwen states that Qwen2.5 was pre-trained on up to 18 trillion high-quality tokens. This model supports up to **32768** input tokens and can generate up to **8192** tokens.
36
+
37
+ # What should Fijik be used for?
38
+ Fijik 1.0 3B is by design, meant to be a production-ready, general use, high-performance model, which is also small enough to be run at high token throughputs while minimising performance loss.
39
+ - We made some efforts at ensuring the model is safe while keeping it useable. In addition, it is sensitive to system prompts (in a good way, adheres to them well), so it is very customisable. We did not put in our fine-tuning data any information about the identity of the model; rather it just knows that it is a Large Language Model (LLM), but it does not know it is Fijik, unless you specify in the system prompt.
40
+ - Due to the large context of the model, It can be used for RAG, but like any other LLM out there, you should be aware that it *may* hallucinate.
41
+ - In our fine-tuning data we included quite a bit of creative writing examples, so the model is pretty good at it.
42
+ - Coding, Math: In our SFT, DPO fine-tuning data we have put an effort into improving coding and step-by-step math performance, while it is indeed not perfect, no LLM is.
43
+ # Examples
44
+
45
+ none yet
46
+
47
+ # Limitations
48
+ This model is not uncensored, yet it may produce erotic outputs. You are solely responsible for the outputs from the model.
49
+ Like any other LLM, users and hosters alike should be aware that AI language models may hallucinate and produce inaccurate, dangerous, or even completly nonsensical outputs, all the information the model provides may seem accurate, but please, for important tasks always double check responses with credible sources.
50
+
51
+ # Notices
52
+ This was the mergekit YAML config we used:
53
+ ```yaml
54
+ base_model: Qwen/Qwen2.5-1.5B-Instruct
55
+ merge_method: passthrough
56
+ slices:
57
+ - sources:
58
+ - model: Qwen/Qwen2.5-1.5B-Instruct
59
+ layer_range: [0, 21] # Lower layers
60
+ - sources:
61
+ - model: Qwen/Qwen2.5-Coder-1.5B-Instruct
62
+ layer_range: [8, 10] # Better coding performance
63
+ - sources:
64
+ - model: huihui-ai/Qwen2.5-1.5B-Instruct-abliterated
65
+ layer_range: [5, 24] # Mid layers
66
+ - sources:
67
+ - model: Unsloth/Qwen2.5-1.5B-Instruct
68
+ layer_range: [14, 28] # Higher layers
69
+ tokenizer_source: unsloth/Qwen2.5-1.5B-Instruct
70
+ dtype: bfloat16
71
+ ```
72
  # Uploaded model
73
 
74
  - **Developed by:** Pinkstack
75
+ - **License:** Apache 2.0
76
+ - **Finetuned from model :** Pinkstack/Fijik-3b-v1-sft
77
 
78
+ This Qwen2.5 model was trained with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
79
 
80
+ # Citations
81
+ Magpie:
82
+ ```
83
+ {
84
+ title={Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothing},
85
+ author={Zhangchen Xu and Fengqing Jiang and Luyao Niu and Yuntian Deng and Radha Poovendran and Yejin Choi and Bill Yuchen Lin},
86
+ year={2024},
87
+ eprint={2406.08464},
88
+ archivePrefix={arXiv},
89
+ primaryClass={cs.CL}
90
+ }
91
+ ```
92
+ Lion:
93
+ ```
94
+ {
95
+ title={Symbolic Discovery of Optimization Algorithm},
96
+ author={Xiangning Chen},
97
+ year={2023},
98
+ eprint={2302.06675},
99
+ archivePrefix={arXiv},
100
+ primaryClass={cs.CL}
101
+ }
102
+ ```