Downloads · 30 days
8
2% of all-time downloads
ChiKoi7/Llama3.1-SuperHawk-8B-Heretic-v2
Llama3.1-SuperHawk-8B-Heretic-v2 is a text generation model from ChiKoi7. Use it when you need the model to write or continue text. The card lists the license as llama3.1.
- A merge/clone of Llama3.1-SuperHawk-8B but all the models were abliterated before merging using Heretic v1.1.0 - To be clear, this repo is NOT the original SuperHawk model passed through Heretic. A version that IS t…
Downloads · 30 days
8
2% of all-time downloads
All-time downloads
498
Public
Parameters
8B
16.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
| Llama3.1-SuperHawk-8B-Heretic-v2 | Original model (Llama3.1-SuperHawk-8B) | |
|---|---|---|
| Refusals | 5/100 | 99/100 |
| KL divergence | 0.0493 | 0 (by definition) |
ChiKoi7/Llama-3.1-SuperNova-8B-Lite_TIES_with_Base-Heretic<br> Initial Refusals: 97/100<br> Heretic: 3/100 @ 0.0530 KL Div.<br><br>
ChiKoi7/Llama-3.1-Hawkish-8B-Heretic<br> Initial Refusals: 98/100<br> Heretic: 9/100 @ 0.0595 KL Div.<br>
slices:
- sources:
- model: ChiKoi7/Llama-3.1-SuperNova-8B-Lite_TIES_with_Base-Heretic
layer_range: [0, 32]
- model: ChiKoi7/Llama-3.1-Hawkish-8B-Heretic
layer_range: [0, 32]
merge_method: slerp
base_model: ChiKoi7/Llama-3.1-SuperNova-8B-Lite_TIES_with_Base-Heretic
parameters:
t:
- value: 0.3
dtype: bfloat16
Llama3.1-SuperHawk-8B is a merge of the following models using LazyMergekit:
slices:
- sources:
- model: Joseph717171/Llama-3.1-SuperNova-8B-Lite_TIES_with_Base
layer_range: [0, 32]
- model: mukaj/Llama-3.1-Hawkish-8B
layer_range: [0, 32]
merge_method: slerp
base_model: Joseph717171/Llama-3.1-SuperNova-8B-Lite_TIES_with_Base
parameters:
t:
- value: 0.3
dtype: bfloat16
!pip install -qU transformers accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "Yuma42/Llama3.1-SuperHawk-8B"
messages = [{"role": "user", "content": "What is a large language model?"}]
tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
"text-generation",
model=model,
torch_dtype=torch.float16,
device_map="auto",
)
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 31.14 |
| IFEval (0-Shot) | 79.86 |
| BBH (3-Shot) | 31.97 |
| MATH Lvl 5 (4-Shot) | 23.49 |
| GPQA (0-shot) | 8.39 |
| MuSR (0-shot) | 10.38 |
| MMLU-PRO (5-shot) | 32.73 |