Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- README.md +143 -0
- openchat-3.5-0106_32k-pose.Q4_0.gguf +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ 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 |
+
openchat-3.5-0106_32k-pose.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: transformers
|
4 |
+
base_model:
|
5 |
+
- openchat/openchat-3.5-0106
|
6 |
+
datasets:
|
7 |
+
- Yukang/LongAlpaca-12k
|
8 |
+
model-index:
|
9 |
+
- name: OpenChat-3.5-0106_32K-PoSE
|
10 |
+
results:
|
11 |
+
- task:
|
12 |
+
type: text-generation
|
13 |
+
name: Text Generation
|
14 |
+
dataset:
|
15 |
+
name: IFEval (0-Shot)
|
16 |
+
type: HuggingFaceH4/ifeval
|
17 |
+
args:
|
18 |
+
num_few_shot: 0
|
19 |
+
metrics:
|
20 |
+
- type: inst_level_strict_acc and prompt_level_strict_acc
|
21 |
+
value: 39.69
|
22 |
+
name: strict accuracy
|
23 |
+
source:
|
24 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=Pretergeek/OpenChat-3.5-0106_32K-PoSE
|
25 |
+
name: Open LLM Leaderboard
|
26 |
+
- task:
|
27 |
+
type: text-generation
|
28 |
+
name: Text Generation
|
29 |
+
dataset:
|
30 |
+
name: BBH (3-Shot)
|
31 |
+
type: BBH
|
32 |
+
args:
|
33 |
+
num_few_shot: 3
|
34 |
+
metrics:
|
35 |
+
- type: acc_norm
|
36 |
+
value: 8.83
|
37 |
+
name: normalized accuracy
|
38 |
+
source:
|
39 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=Pretergeek/OpenChat-3.5-0106_32K-PoSE
|
40 |
+
name: Open LLM Leaderboard
|
41 |
+
- task:
|
42 |
+
type: text-generation
|
43 |
+
name: Text Generation
|
44 |
+
dataset:
|
45 |
+
name: MATH Lvl 5 (4-Shot)
|
46 |
+
type: hendrycks/competition_math
|
47 |
+
args:
|
48 |
+
num_few_shot: 4
|
49 |
+
metrics:
|
50 |
+
- type: exact_match
|
51 |
+
value: 1.44
|
52 |
+
name: exact match
|
53 |
+
source:
|
54 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=Pretergeek/OpenChat-3.5-0106_32K-PoSE
|
55 |
+
name: Open LLM Leaderboard
|
56 |
+
- task:
|
57 |
+
type: text-generation
|
58 |
+
name: Text Generation
|
59 |
+
dataset:
|
60 |
+
name: GPQA (0-shot)
|
61 |
+
type: Idavidrein/gpqa
|
62 |
+
args:
|
63 |
+
num_few_shot: 0
|
64 |
+
metrics:
|
65 |
+
- type: acc_norm
|
66 |
+
value: 3.47
|
67 |
+
name: acc_norm
|
68 |
+
source:
|
69 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=Pretergeek/OpenChat-3.5-0106_32K-PoSE
|
70 |
+
name: Open LLM Leaderboard
|
71 |
+
- task:
|
72 |
+
type: text-generation
|
73 |
+
name: Text Generation
|
74 |
+
dataset:
|
75 |
+
name: MuSR (0-shot)
|
76 |
+
type: TAUR-Lab/MuSR
|
77 |
+
args:
|
78 |
+
num_few_shot: 0
|
79 |
+
metrics:
|
80 |
+
- type: acc_norm
|
81 |
+
value: 11.33
|
82 |
+
name: acc_norm
|
83 |
+
source:
|
84 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=Pretergeek/OpenChat-3.5-0106_32K-PoSE
|
85 |
+
name: Open LLM Leaderboard
|
86 |
+
- task:
|
87 |
+
type: text-generation
|
88 |
+
name: Text Generation
|
89 |
+
dataset:
|
90 |
+
name: MMLU-PRO (5-shot)
|
91 |
+
type: TIGER-Lab/MMLU-Pro
|
92 |
+
config: main
|
93 |
+
split: test
|
94 |
+
args:
|
95 |
+
num_few_shot: 5
|
96 |
+
metrics:
|
97 |
+
- type: acc
|
98 |
+
value: 11.46
|
99 |
+
name: accuracy
|
100 |
+
source:
|
101 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=Pretergeek/OpenChat-3.5-0106_32K-PoSE
|
102 |
+
name: Open LLM Leaderboard
|
103 |
+
---
|
104 |
+
<p align="center">
|
105 |
+
<a href="https://ko-fi.com/pretergeek">Buy me a Ko-Fi</a> •
|
106 |
+
<a href="https://patreon.com/Pretergeek">Support my work using Patreon</a>
|
107 |
+
</p>
|
108 |
+
|
109 |
+
# OpenChat-3.5-0106_32K-PoSE
|
110 |
+
|
111 |
+
## Description
|
112 |
+
|
113 |
+
This model is [Openchat-3.5-0106](https://huggingface.co/openchat/openchat-3.5-0106) with the context length extended from 8192 tokens to 32768 tokens using [PoSE](https://huggingface.co/papers/2309.10400).
|
114 |
+
|
115 |
+
The model was fine-tuned using [Rank-Stabilized LoRA](https://huggingface.co/blog/damjan-k/rslora) and the [LongAlpaca-12K](Yukang/LongAlpaca-12k) dataset. I hope to continue extending the context in future versions and then apply the same methods to my [upscaled versions of OpenChat-3.5](https://huggingface.co/collections/Pretergeek/openchat-35-0106-with-additional-layers-66a8d3262c7c3ebdd7783a29) that were created using Block Expansion instead of Depth UP Scaling.
|
116 |
+
|
117 |
+
After fine-tuning, the model was tested using passkey retrieval and achieved a score of 100%. Below you can also find the results of the Open LLM Leaderboard evaluations and I am a bit disappointed with those. The model ended up with a significant reduction in performance compared to the original model in all but one test (MUSR). I expected it to do better than the original model on MUSR since that test benefits from long context understanding but I didn't expect such a negative impact on the other tasks. Anyway, I will be addressing this on a future version. I used the LongAlpaca-12K dataset because it is small and I have limited computational resources but I might have to try a larger dataset for the next attempt. If you would like to help me, there are links on the top of the model card for my Patreon and Ko-Fi.
|
118 |
+
|
119 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)
|
120 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_Pretergeek__OpenChat-3.5-0106_32K-PoSE)
|
121 |
+
|
122 |
+
| Metric |Value|
|
123 |
+
|-------------------|----:|
|
124 |
+
|Avg. |12.70|
|
125 |
+
|IFEval (0-Shot) |39.69|
|
126 |
+
|BBH (3-Shot) | 8.83|
|
127 |
+
|MATH Lvl 5 (4-Shot)| 1.44|
|
128 |
+
|GPQA (0-shot) | 3.47|
|
129 |
+
|MuSR (0-shot) |11.33|
|
130 |
+
|MMLU-PRO (5-shot) |11.46|
|
131 |
+
|
132 |
+
# Citation
|
133 |
+
```
|
134 |
+
@misc{zhu2024poseefficientcontextwindow,
|
135 |
+
title={PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Training},
|
136 |
+
author={Dawei Zhu and Nan Yang and Liang Wang and Yifan Song and Wenhao Wu and Furu Wei and Sujian Li},
|
137 |
+
year={2024},
|
138 |
+
eprint={2309.10400},
|
139 |
+
archivePrefix={arXiv},
|
140 |
+
primaryClass={cs.CL},
|
141 |
+
url={https://arxiv.org/abs/2309.10400},
|
142 |
+
}
|
143 |
+
```
|
openchat-3.5-0106_32k-pose.Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bac660b9a7ef901c7a0eb765f98bbde38894a87cb60fe7a337488635d0690ac2
|
3 |
+
size 4108928992
|