Pinkstack commited on
Commit
8cb6604
·
verified ·
1 Parent(s): 17e0cc8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +82 -6
README.md CHANGED
@@ -1,23 +1,99 @@
1
  ---
2
- base_model: Pinkstack/Fijik-3b-sft
 
3
  tags:
4
  - text-generation-inference
5
  - transformers
6
  - unsloth
7
- - qwen2
8
  - trl
9
  - dpo
 
 
 
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)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ base_model:
3
+ - Qwen/Qwen2.5-1.5B-Instruct
4
  tags:
5
  - text-generation-inference
6
  - transformers
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
+ ![Fijik 1.0 6B banner](https://cdn-uploads.huggingface.co/production/uploads/6710ba6af1279fe0dfe33afe/Dub2iaHaWhxfMC_ZGBYtc.png)
24
+ # What is it
25
+ 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.
26
+
27
+ After merging, we used a custom dataset mix meant for this model, to improve its performance even more.
28
+ - **Step 1 for fine-tuning via unsloth:** SFT on an estimated 20 million tokens. (more or less)
29
+ - **Step 2 for the fine-tuning via unsloth:** DPO for 2 epochs for even better instruction following.
30
+ 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.
31
+
32
+ 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.
33
+
34
+ # What should Fijik be used for?
35
+ 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.
36
+ - 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.
37
+ - 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.
38
+ - In our fine-tuning data we included quite a bit of creative writing examples, so the model is pretty good at it.
39
+ - 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.
40
+ # Examples
41
+
42
+ none yet
43
+
44
+ # Limitations
45
+ This model is not uncensored, yet it may produce erotic outputs. You are solely responsible for the outputs from the model.
46
+ 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.
47
+
48
+ # Notices
49
+ This was the mergekit YAML config we used:
50
+ ```yaml
51
+ base_model: Qwen/Qwen2.5-1.5B-Instruct
52
+ merge_method: passthrough
53
+ slices:
54
+ - sources:
55
+ - model: Qwen/Qwen2.5-1.5B-Instruct
56
+ layer_range: [0, 21] # Lower layers
57
+ - sources:
58
+ - model: Qwen/Qwen2.5-Coder-1.5B-Instruct
59
+ layer_range: [8, 10] # Better coding performance
60
+ - sources:
61
+ - model: huihui-ai/Qwen2.5-1.5B-Instruct-abliterated
62
+ layer_range: [5, 24] # Mid layers
63
+ - sources:
64
+ - model: Unsloth/Qwen2.5-1.5B-Instruct
65
+ layer_range: [14, 28] # Higher layers
66
+ tokenizer_source: unsloth/Qwen2.5-1.5B-Instruct
67
+ dtype: bfloat16
68
+ ```
69
  # Uploaded model
70
 
71
  - **Developed by:** Pinkstack
72
+ - **License:** Apache 2.0
73
+ - **Finetuned from model :** Pinkstack/Fijik-3b-v1-sft
74
 
75
+ This Qwen2.5 model was trained with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
76
 
77
+ # Citations
78
+ Magpie:
79
+ ```
80
+ {
81
+ title={Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothing},
82
+ author={Zhangchen Xu and Fengqing Jiang and Luyao Niu and Yuntian Deng and Radha Poovendran and Yejin Choi and Bill Yuchen Lin},
83
+ year={2024},
84
+ eprint={2406.08464},
85
+ archivePrefix={arXiv},
86
+ primaryClass={cs.CL}
87
+ }
88
+ ```
89
+ Lion:
90
+ ```
91
+ {
92
+ title={Symbolic Discovery of Optimization Algorithm},
93
+ author={Xiangning Chen},
94
+ year={2023},
95
+ eprint={2302.06675},
96
+ archivePrefix={arXiv},
97
+ primaryClass={cs.CL}
98
+ }
99
+ ```