Text Generation
Transformers
Safetensors
English
llama
conversational
text-generation-inference
4-bit precision
exl3
Instructions to use Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6") model = AutoModelForMultimodalLM.from_pretrained("Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6") 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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6
- SGLang
How to use Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6" \ --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": "Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
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 "Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6" \ --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": "Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6 with Docker Model Runner:
docker model run hf.co/Marcal91/Sao10K_Llama-3.3-70B-Vulpecula-r1_EXL3-4.0bpw-H6
File size: 6,303 Bytes
7c7a9a7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | ---
license: llama3.3
base_model:
- Sao10K/Llama-3.3-70B-Vulpecula-r1
base_model_relation: quantized
language:
- en
library_name: transformers
---
EXL3 4.0bpw quant of https://huggingface.co/Sao10K/Llama-3.3-70B-Vulpecula-r1
<div align="center">
<img src="https://huggingface.co/Sao10K/Llama-3.3-70B-Vulpecula-r1/resolve/main/senkooo.jpg" alt="Senko" style="border-radius: 10px; max-width: 400px;">
</div>
<div style="background: linear-gradient(to bottom, #ffb6c1, #ffe4e8); padding: 20px; border-radius: 15px; margin: 20px 0;">
<h1 align="center" style="color: #d35d6e; font-family: 'Noto Sans JP', sans-serif;">π¦ L3.3-70B-Vulpecula πΈ</h1>
<div style="background: rgba(255, 255, 255, 0.7); padding: 20px; border-radius: 10px; margin: 15px 0;">
<p style="color: #444; font-size: 16px;">Hi hi! π</p>
<p style="color: #444; font-size: 16px;">This is a collaboration work between <a href="https://huggingface.co/gradientputri" style="color: #d35d6e; text-decoration: none;">GradientPutri</a> and <a href="https://huggingface.co/Sao10K" style="color: #d35d6e; text-decoration: none;">Sao10K</a>.</p>
<p style="color: #444; font-size: 16px;">This is a passion project of mine spanning the past few weeks, so we hope you like it.</p>
<p style="color: #444; font-size: 16px;">While there may some minor issues, I think the final result is nice, and there are nice outputs which was the main goal.</p>
<p style="color: #444; font-size: 16px;">Model card made by <a href="https://huggingface.co/gradientputri" style="color: #d35d6e; text-decoration: none;">GradientPutri</a>.</p>
</div>
<div style="background: rgba(255, 255, 255, 0.7); padding: 20px; border-radius: 10px; margin: 15px 0;">
<h2 style="color: #d35d6e; border-bottom: 2px solid #ff9eb5; padding-bottom: 10px;">π Licensing Information</h2>
<p style="color: #444; font-size: 16px;">This model is based on Meta's Llama 3.3 and is subject to the <a href="https://llama.meta.com/llama3_3/license/" style="color: #d35d6e;">Llama 3.3 Community License Agreement</a> and the <a href="https://www.llama.com/llama3_3/use-policy" style="color: #d35d6e;">Acceptable Use Policy</a>.</p>
<div style="background: #fff3f6; padding: 15px; border-radius: 8px; margin: 15px 0; border-left: 4px solid #d35d6e;">
<p style="margin: 0; color: #333; font-weight: 500;">
While we are unable to disallow commercial usage, do note that this is a project made using our own resources, time and effort. I'd rather not be discouraged from doing future project models instead. We kindly request that commercial users reach out before deployment to discuss usage and proper attribution. We appreciate users who help maintain transparency in the AI ecosystem by keeping us informed of how our work is being used. Same goes for any merges or derivatives, hopefully :)
</p>
</div>
</div>
<div style="background: rgba(255, 255, 255, 0.7); padding: 20px; border-radius: 10px; margin: 15px 0;">
<h2 style="color: #d35d6e; border-bottom: 2px solid #ff9eb5; padding-bottom: 10px;">π Model Details</h2>
<ul style="list-style: none; padding-left: 20px;">
<li style="margin: 10px 0;">π A thinking-based model inspired by Deepseek-R1, trained through both SFT and a little bit of RL on creative writing data.</li>
<li style="margin: 10px 0;">π§ Prefill, or begin assistant replies with <think>\n to activate thinking mode, or not. It works well without thinking too.</li>
<li style="margin: 10px 0;">π Improved Steerability, instruct-roleplay and creative control over base model.</li>
</ul>
</div>
<div style="background: rgba(255, 255, 255, 0.7); padding: 20px; border-radius: 10px; margin: 15px 0;">
<h2 style="color: #d35d6e; border-bottom: 2px solid #ff9eb5; padding-bottom: 10px;">π Dataset Composition</h2>
<ul style="list-style: none; padding-left: 20px;">
<li style="margin: 10px 0;">πΎ Semi-synthetic Chat/Roleplaying datasets that has been re-made, cleaned and filtered for repetition, quality and output.</li>
<li style="margin: 10px 0;">π Human-based Natural Chat / Roleplaying datasets cleaned, filtered and checked for quality.</li>
<li style="margin: 10px 0;">π Diverse Instruct dataset from a few different LLMs, cleaned and filtered for refusals and quality.</li>
<li style="margin: 10px 0;">π Reasoning Traces taken from Deepseek-R1 for Instruct, Chat & Creative Tasks, filtered and cleaned for quality.</li>
<li style="margin: 10px 0;">βββ Toxic / Decensorship data was not needed for our purposes, the model is unrestricted enough as is.</li>
</ul>
<p style="color: #666; font-style: italic;">Total token count: ~270M Tokens (210M Trainable), over 2 epochs.</p>
</div>
<div style="background: rgba(255, 255, 255, 0.7); padding: 20px; border-radius: 10px; margin: 15px 0;">
<h2 style="color: #d35d6e; border-bottom: 2px solid #ff9eb5; padding-bottom: 10px;">π¨ Formatting and Samplers</h2>
<h3 style="color: #d35d6e; padding-bottom: 10px;">Instruct Format: Llama-3-Instruct</h3>
```
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
{system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
{input}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
{output}<|eot_id|>
---
Note that newlines are represented within example above
```
<h3 style="color: #d35d6e; border-bottom: 2px solid #ff9eb5; padding-bottom: 10px;">β¨ Sampler Recommendations</h3>
```yaml
temperature: 0.75
min_p: 0.1
Repetition Penalty: 1.1
Presence Penalty: 1.1
```
<h3 style="color: #d35d6e; border-bottom: 2px solid #ff9eb5; padding-bottom: 10px;">βοΈ Training Details</h3>
```yaml
# Iterations
num_epochs: 2
# Batching - Global Batch 4x GPUs Γ Batch 2 Γ 4 Grad_accum = 32
gradient_accumulation_steps: 4
micro_batch_size: 2
# Optimizer
optimizer: paged_ademamix_8bit
lr_scheduler: cosine
learning_rate: 0.00002
max_grad_norm: 1
weight_decay: 0.01
```
</div>
<div align="center" style="margin-top: 30px; color: #d35d6e;">
<p>π¦ Thank you for visiting! May the foxes bring you good fortune! πΈ</p>
</div>
</div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
</style> |