Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| Orpo-Llama-3.2-1B-15k.Q2_K.gguf | Q2_K | 0.54GB |
| Orpo-Llama-3.2-1B-15k.Q3_K_S.gguf | Q3_K_S | 0.6GB |
| Orpo-Llama-3.2-1B-15k.Q3_K.gguf | Q3_K | 0.64GB |
| Orpo-Llama-3.2-1B-15k.Q3_K_M.gguf | Q3_K_M | 0.64GB |
| Orpo-Llama-3.2-1B-15k.Q3_K_L.gguf | Q3_K_L | 0.68GB |
| Orpo-Llama-3.2-1B-15k.IQ4_XS.gguf | IQ4_XS | 0.7GB |
| Orpo-Llama-3.2-1B-15k.Q4_0.gguf | Q4_0 | 0.72GB |
| Orpo-Llama-3.2-1B-15k.IQ4_NL.gguf | IQ4_NL | 0.72GB |
| Orpo-Llama-3.2-1B-15k.Q4_K_S.gguf | Q4_K_S | 0.72GB |
| Orpo-Llama-3.2-1B-15k.Q4_K.gguf | Q4_K | 0.75GB |
| Orpo-Llama-3.2-1B-15k.Q4_K_M.gguf | Q4_K_M | 0.75GB |
| Orpo-Llama-3.2-1B-15k.Q4_1.gguf | Q4_1 | 0.77GB |
| Orpo-Llama-3.2-1B-15k.Q5_0.gguf | Q5_0 | 0.83GB |
| Orpo-Llama-3.2-1B-15k.Q5_K_S.gguf | Q5_K_S | 0.83GB |
| Orpo-Llama-3.2-1B-15k.Q5_K.gguf | Q5_K | 0.85GB |
| Orpo-Llama-3.2-1B-15k.Q5_K_M.gguf | Q5_K_M | 0.85GB |
| Orpo-Llama-3.2-1B-15k.Q5_1.gguf | Q5_1 | 0.89GB |
| Orpo-Llama-3.2-1B-15k.Q6_K.gguf | Q6_K | 0.95GB |
| Orpo-Llama-3.2-1B-15k.Q8_0.gguf | Q8_0 | 1.23GB |
| Benchmark | Accuracy | Notes |
|---|---|---|
| AGIEval | 20.99% | Average across multiple reasoning tasks |
| TruthfulQA | 42.80% | MC2 accuracy |
| BigBench | 31.75% | Average across 18 tasks |
| MMLU | 31.23% | Average across all categories |
| Winogrande | 61.33% | 5-shot evaluation |
| ARC Challenge | 35.92% | 25-shot evaluation |
| HellaSwag | 48.65% | 10-shot evaluation |
1from transformers import AutoTokenizer
2import transformers
3import torch
4
5# Load Model and Pipeline
6model = "AdamLucek/Orpo-Llama-3.2-1B-15k"
7
8pipeline = transformers.pipeline(
9 "text-generation",
10 model=model,
11 torch_dtype=torch.float16,
12 device_map="auto",
13)
14
15# Load Tokenizer
16tokenizer = AutoTokenizer.from_pretrained(model)
17
18# Generate Message
19messages = [{"role": "user", "content": "What is a language model?"}]
20prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
21outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
22print(outputs[0]["generated_text"])


