Downloads · 30 days
29
4% of all-time downloads
RichardErkhov/dfurman_-_Qwen2-72B-Orpo-v0.1-gguf
dfurman_-_Qwen2-72B-Orpo-v0.1-gguf is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
29
4% of all-time downloads
All-time downloads
724
Public
Repo size
754 GB
Likes
0
Public
Click a slice to open those files.
.gguf893 GB · 100%
From the Hugging Face model README
Quantization made by Richard Erkhov.
Qwen2-72B-Orpo-v0.1 - GGUF
| Name | Quant method | Size |
|---|---|---|
| Qwen2-72B-Orpo-v0.1.Q2_K.gguf | Q2_K | 27.76GB |
| Qwen2-72B-Orpo-v0.1.Q3_K_S.gguf | Q3_K_S | 32.12GB |
| Qwen2-72B-Orpo-v0.1.Q3_K.gguf | Q3_K | 35.11GB |
| Qwen2-72B-Orpo-v0.1.Q3_K_M.gguf | Q3_K_M | 35.11GB |
| Qwen2-72B-Orpo-v0.1.Q3_K_L.gguf | Q3_K_L | 36.79GB |
| Qwen2-72B-Orpo-v0.1.IQ4_XS.gguf | IQ4_XS | 37.4GB |
| Qwen2-72B-Orpo-v0.1.Q4_0.gguf | Q4_0 | 38.4GB |
| Qwen2-72B-Orpo-v0.1.IQ4_NL.gguf | IQ4_NL | 38.9GB |
| Qwen2-72B-Orpo-v0.1.Q4_K_S.gguf | Q4_K_S | 40.87GB |
| Qwen2-72B-Orpo-v0.1.Q4_K.gguf | Q4_K | 44.15GB |
| Qwen2-72B-Orpo-v0.1.Q4_K_M.gguf | Q4_K_M | 44.15GB |
| Qwen2-72B-Orpo-v0.1.Q4_1.gguf | Q4_1 | 42.55GB |
| Qwen2-72B-Orpo-v0.1.Q5_0.gguf | Q5_0 | 46.71GB |
| Qwen2-72B-Orpo-v0.1.Q5_K_S.gguf | Q5_K_S | 47.84GB |
| Qwen2-72B-Orpo-v0.1.Q5_K.gguf | Q5_K | 50.7GB |
| Qwen2-72B-Orpo-v0.1.Q5_K_M.gguf | Q5_K_M | 50.7GB |
| Qwen2-72B-Orpo-v0.1.Q5_1.gguf | Q5_1 | 50.87GB |
| Qwen2-72B-Orpo-v0.1.Q6_K.gguf | Q6_K | 59.92GB |
| Qwen2-72B-Orpo-v0.1.Q8_0.gguf | Q8_0 | 71.95GB |
language:
This model is a finetune of Qwen/Qwen2-72B-Instruct on 1.5k rows of mlabonne/orpo-dpo-mix-40k. It was trained as a generalist language model for a variety of text generation use cases, including support of agentic capabilities, roleplaying, reasoning, multi-turn conversations, long context coherence, and more.
Thanks go out to mlabonne, Qwen, et al. for the source dataset and base model.


You can find the experiment on W&B at this address.
!pip install -qU transformers accelerate bitsandbytes
!huggingface-cli download dfurman/Qwen2-72B-Orpo-v0.1
from transformers import AutoTokenizer, BitsAndBytesConfig
import transformers
import torch
if torch.cuda.get_device_capability()[0] >= 8:
!pip install -qqq flash-attn
attn_implementation = "flash_attention_2"
torch_dtype = torch.bfloat16
else:
attn_implementation = "eager"
torch_dtype = torch.float16
# quantize if necessary
# bnb_config = BitsAndBytesConfig(
# load_in_4bit=True,
# bnb_4bit_quant_type="nf4",
# bnb_4bit_compute_dtype=torch_dtype,
# bnb_4bit_use_double_quant=True,
# )
model = "dfurman/Qwen2-72B-Orpo-v0.1"
tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
"text-generation",
model=model,
model_kwargs={
"torch_dtype": torch_dtype,
# "quantization_config": bnb_config,
"device_map": "auto",
"attn_implementation": attn_implementation,
}
)
</details>
question = """The bakers at the Beverly Hills Bakery baked 200 loaves of bread on Monday morning.
They sold 93 loaves in the morning and 39 loaves in the afternoon.
A grocery store then returned 6 unsold loaves back to the bakery.
How many loaves of bread did the bakery have left?
Respond as succinctly as possible. Format the response as a completion of this table:
|step|subquestion|procedure|result|
|:---|:----------|:--------|:-----:|"""
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": question},
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
# print("***Prompt:\n", prompt)
outputs = pipeline(prompt, max_new_tokens=1000, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print("***Generation:")
print(outputs[0]["generated_text"][len(prompt):])
***Generation:
|1|Initial loaves|Start with total loaves|200|
|2|Sold in morning|Subtract morning sales|200 - 93 = 107|
|3|Sold in afternoon|Subtract afternoon sales|107 - 39 = 68|
|4|Returned loaves|Add returned loaves|68 + 6 = 74|
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 43.32 |
| IFEval (0-Shot) | 78.80 |
| BBH (3-Shot) | 57.41 |
| MATH Lvl 5 (4-Shot) | 35.42 |
| GPQA (0-shot) | 17.90 |
| MuSR (0-shot) | 20.87 |
| MMLU-PRO (5-shot) | 49.50 |