Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
datasets:
|
| 5 |
+
- anthracite-org/kalo-opus-instruct-22k-no-refusal
|
| 6 |
+
- Nopm/Opus_WritingStruct
|
| 7 |
+
- Gryphe/Sonnet3.5-SlimOrcaDedupCleaned
|
| 8 |
+
- Gryphe/Sonnet3.5-Charcard-Roleplay
|
| 9 |
+
- Gryphe/ChatGPT-4o-Writing-Prompts
|
| 10 |
+
- Epiculous/Synthstruct-Gens-v1.1-Filtered-n-Cleaned
|
| 11 |
+
- Epiculous/SynthRP-Gens-v1.1-Filtered-n-Cleaned
|
| 12 |
+
- nothingiisreal/Reddit-Dirty-And-WritingPrompts
|
| 13 |
+
- allura-org/Celeste-1.x-data-mixture
|
| 14 |
+
- cognitivecomputations/dolphin-2.9.3
|
| 15 |
+
base_model: GoraPakora/QwenQwen2
|
| 16 |
+
tags:
|
| 17 |
+
- generated_from_trainer
|
| 18 |
+
- mlx
|
| 19 |
+
- mlx-my-repo
|
| 20 |
+
model-index:
|
| 21 |
+
- name: EVA-Qwen2.5-32B-SFFT-v0.1
|
| 22 |
+
results: []
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
# Fmuaddib/QwenQwen2-mlx-8Bit
|
| 26 |
+
|
| 27 |
+
The Model [Fmuaddib/QwenQwen2-mlx-8Bit](https://huggingface.co/Fmuaddib/QwenQwen2-mlx-8Bit) was converted to MLX format from [GoraPakora/QwenQwen2](https://huggingface.co/GoraPakora/QwenQwen2) using mlx-lm version **0.22.1**.
|
| 28 |
+
|
| 29 |
+
## Use with mlx
|
| 30 |
+
|
| 31 |
+
```bash
|
| 32 |
+
pip install mlx-lm
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
```python
|
| 36 |
+
from mlx_lm import load, generate
|
| 37 |
+
|
| 38 |
+
model, tokenizer = load("Fmuaddib/QwenQwen2-mlx-8Bit")
|
| 39 |
+
|
| 40 |
+
prompt="hello"
|
| 41 |
+
|
| 42 |
+
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
|
| 43 |
+
messages = [{"role": "user", "content": prompt}]
|
| 44 |
+
prompt = tokenizer.apply_chat_template(
|
| 45 |
+
messages, tokenize=False, add_generation_prompt=True
|
| 46 |
+
)
|
| 47 |
+
|
| 48 |
+
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
| 49 |
+
```
|