Main Models
Collection
My main models that I use or have used • 4 items • Updated • 1
How to use Azazelle/L3-Hecate-8B-v1.0 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="Azazelle/L3-Hecate-8B-v1.0")
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe(messages) # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Azazelle/L3-Hecate-8B-v1.0")
model = AutoModelForCausalLM.from_pretrained("Azazelle/L3-Hecate-8B-v1.0")
messages = [
{"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))How to use Azazelle/L3-Hecate-8B-v1.0 with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "Azazelle/L3-Hecate-8B-v1.0"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Azazelle/L3-Hecate-8B-v1.0",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/Azazelle/L3-Hecate-8B-v1.0
How to use Azazelle/L3-Hecate-8B-v1.0 with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "Azazelle/L3-Hecate-8B-v1.0" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Azazelle/L3-Hecate-8B-v1.0",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "Azazelle/L3-Hecate-8B-v1.0" \
--host 0.0.0.0 \
--port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "Azazelle/L3-Hecate-8B-v1.0",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'How to use Azazelle/L3-Hecate-8B-v1.0 with Docker Model Runner:
docker model run hf.co/Azazelle/L3-Hecate-8B-v1.0
This is a merge of pre-trained language models created using mergekit.
Recommended Samplers:
Temperature - 1.0
TFS - 0.85
Smoothing Factor - 0.3
Smoothing Curve - 1.1
Repetition Penalty - 1.1
This model was merged a series of model stock and lora merges, followed by ExPO. It uses a mix of smart and roleplay centered models to improve performance.
The following YAML configuration was used to produce this model:
---
models:
- model: Nitral-AI/Hathor_Stable-v0.2-L3-8B
- model: Sao10K/L3-8B-Stheno-v3.2
- model: Jellywibble/lora_120k_pref_data_ep2
- model: Hastagaras/Jamet-8B-L3-MK.V-Blackroot
- model: Cas-Warehouse/Llama-3-SOVL-MopeyMule-Blackroot-8B
merge_method: model_stock
base_model: failspy/Meta-Llama-3-8B-Instruct-abliterated-v3
dtype: float32
vocab_type: bpe
name: hq_rp
---
# ExPO
models:
- model: hq_rp
parameters:
weight: 1.25
merge_method: task_arithmetic
base_model: failspy/Meta-Llama-3-8B-Instruct-abliterated-v3
parameters:
normalize: false
dtype: float32
vocab_type: bpe