lucyknada commited on
Commit
02b34ac
·
verified ·
1 Parent(s): 0fa05d3

Upload ./README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +203 -0
README.md ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ library_name: transformers
6
+ tags:
7
+ - role-play
8
+ - fine-tuned
9
+ - qwen2.5
10
+ base_model:
11
+ - Qwen/Qwen2.5-14B-Instruct
12
+ pipeline_tag: text-generation
13
+ model-index:
14
+ - name: oxy-1-small
15
+ results:
16
+ - task:
17
+ type: text-generation
18
+ name: Text Generation
19
+ dataset:
20
+ name: IFEval (0-Shot)
21
+ type: HuggingFaceH4/ifeval
22
+ args:
23
+ num_few_shot: 0
24
+ metrics:
25
+ - type: inst_level_strict_acc and prompt_level_strict_acc
26
+ value: 62.45
27
+ name: strict accuracy
28
+ source:
29
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=oxyapi/oxy-1-small
30
+ name: Open LLM Leaderboard
31
+ - task:
32
+ type: text-generation
33
+ name: Text Generation
34
+ dataset:
35
+ name: BBH (3-Shot)
36
+ type: BBH
37
+ args:
38
+ num_few_shot: 3
39
+ metrics:
40
+ - type: acc_norm
41
+ value: 41.18
42
+ name: normalized accuracy
43
+ source:
44
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=oxyapi/oxy-1-small
45
+ name: Open LLM Leaderboard
46
+ - task:
47
+ type: text-generation
48
+ name: Text Generation
49
+ dataset:
50
+ name: MATH Lvl 5 (4-Shot)
51
+ type: hendrycks/competition_math
52
+ args:
53
+ num_few_shot: 4
54
+ metrics:
55
+ - type: exact_match
56
+ value: 18.28
57
+ name: exact match
58
+ source:
59
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=oxyapi/oxy-1-small
60
+ name: Open LLM Leaderboard
61
+ - task:
62
+ type: text-generation
63
+ name: Text Generation
64
+ dataset:
65
+ name: GPQA (0-shot)
66
+ type: Idavidrein/gpqa
67
+ args:
68
+ num_few_shot: 0
69
+ metrics:
70
+ - type: acc_norm
71
+ value: 16.22
72
+ name: acc_norm
73
+ source:
74
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=oxyapi/oxy-1-small
75
+ name: Open LLM Leaderboard
76
+ - task:
77
+ type: text-generation
78
+ name: Text Generation
79
+ dataset:
80
+ name: MuSR (0-shot)
81
+ type: TAUR-Lab/MuSR
82
+ args:
83
+ num_few_shot: 0
84
+ metrics:
85
+ - type: acc_norm
86
+ value: 16.28
87
+ name: acc_norm
88
+ source:
89
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=oxyapi/oxy-1-small
90
+ name: Open LLM Leaderboard
91
+ - task:
92
+ type: text-generation
93
+ name: Text Generation
94
+ dataset:
95
+ name: MMLU-PRO (5-shot)
96
+ type: TIGER-Lab/MMLU-Pro
97
+ config: main
98
+ split: test
99
+ args:
100
+ num_few_shot: 5
101
+ metrics:
102
+ - type: acc
103
+ value: 44.45
104
+ name: accuracy
105
+ source:
106
+ url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=oxyapi/oxy-1-small
107
+ name: Open LLM Leaderboard
108
+ ---
109
+ ### exl2 quant (measurement.json in main branch)
110
+ ---
111
+ ### check revisions for quants
112
+ ---
113
+
114
+
115
+ ![Oxy 1 Small](https://cdn-uploads.huggingface.co/production/uploads/64fb80c8bb362cbf2ff96c7e/tTIVIblPUbTYnlvHQQjXB.png)
116
+
117
+ ## Introduction
118
+
119
+ **Oxy 1 Small** is a fine-tuned version of the [Qwen/Qwen2.5-14B-Instruct](https://huggingface.co/Qwen/Qwen/Qwen2.5-14B-Instruct) language model, specialized for **role-play** scenarios. Despite its small size, it delivers impressive performance in generating engaging dialogues and interactive storytelling.
120
+
121
+ Developed by **Oxygen (oxyapi)**, with contributions from **TornadoSoftwares**, Oxy 1 Small aims to provide an accessible and efficient language model for creative and immersive role-play experiences.
122
+
123
+ ## Model Details
124
+
125
+ - **Model Name**: Oxy 1 Small
126
+ - **Model ID**: [oxyapi/oxy-1-small](https://huggingface.co/oxyapi/oxy-1-small)
127
+ - **Base Model**: [Qwen/Qwen2.5-14B-Instruct](https://huggingface.co/Qwen/Qwen2.5-14B-Instruct)
128
+ - **Model Type**: Chat Completions
129
+ - **Prompt Format**: ChatML
130
+ - **License**: Apache-2.0
131
+ - **Language**: English
132
+ - **Tokenizer**: [Qwen/Qwen2.5-14B-Instruct](https://huggingface.co/Qwen/Qwen2.5-14B-Instruct)
133
+ - **Max Input Tokens**: 32,768
134
+ - **Max Output Tokens**: 8,192
135
+
136
+ ### Features
137
+
138
+ - **Fine-tuned for Role-Play**: Specially trained to generate dynamic and contextually rich role-play dialogues.
139
+ - **Efficient**: Compact model size allows for faster inference and reduced computational resources.
140
+ - **Parameter Support**:
141
+ - `temperature`
142
+ - `top_p`
143
+ - `top_k`
144
+ - `frequency_penalty`
145
+ - `presence_penalty`
146
+ - `max_tokens`
147
+
148
+ ### Metadata
149
+
150
+ - **Owned by**: Oxygen (oxyapi)
151
+ - **Contributors**: TornadoSoftwares
152
+ - **Description**: A Qwen/Qwen2.5-14B-Instruct fine-tune for role-play trained on custom datasets
153
+
154
+ ## Usage
155
+
156
+ To utilize Oxy 1 Small for text generation in role-play scenarios, you can load the model using the Hugging Face Transformers library:
157
+
158
+ ```python
159
+ from transformers import AutoModelForCausalLM, AutoTokenizer
160
+
161
+ tokenizer = AutoTokenizer.from_pretrained("oxyapi/oxy-1-small")
162
+ model = AutoModelForCausalLM.from_pretrained("oxyapi/oxy-1-small")
163
+
164
+ prompt = "You are a wise old wizard in a mystical land. A traveler approaches you seeking advice."
165
+ inputs = tokenizer(prompt, return_tensors="pt")
166
+ outputs = model.generate(**inputs, max_length=500)
167
+ response = tokenizer.decode(outputs[0], skip_special_tokens=True)
168
+ print(response)
169
+ ```
170
+
171
+ ## Performance
172
+
173
+ Performance benchmarks for Oxy 1 Small are not available at this time. Future updates may include detailed evaluations on relevant datasets.
174
+
175
+ ## License
176
+
177
+ This model is licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0).
178
+
179
+ ## Citation
180
+
181
+ If you find Oxy 1 Small useful in your research or applications, please cite it as:
182
+
183
+ ```
184
+ @misc{oxy1small2024,
185
+ title={Oxy 1 Small: A Fine-Tuned Qwen2.5-14B-Instruct Model for Role-Play},
186
+ author={Oxygen (oxyapi)},
187
+ year={2024},
188
+ howpublished={\url{https://huggingface.co/oxyapi/oxy-1-small}},
189
+ }
190
+ ```
191
+ # [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)
192
+ Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_oxyapi__oxy-1-small)
193
+
194
+ | Metric |Value|
195
+ |-------------------|----:|
196
+ |Avg. |33.14|
197
+ |IFEval (0-Shot) |62.45|
198
+ |BBH (3-Shot) |41.18|
199
+ |MATH Lvl 5 (4-Shot)|18.28|
200
+ |GPQA (0-shot) |16.22|
201
+ |MuSR (0-shot) |16.28|
202
+ |MMLU-PRO (5-shot) |44.45|
203
+