Instructions to use v000000/L3.1-Storniitova-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use v000000/L3.1-Storniitova-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="v000000/L3.1-Storniitova-8B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("v000000/L3.1-Storniitova-8B") model = AutoModelForCausalLM.from_pretrained("v000000/L3.1-Storniitova-8B") 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
- vLLM
How to use v000000/L3.1-Storniitova-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "v000000/L3.1-Storniitova-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "v000000/L3.1-Storniitova-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/v000000/L3.1-Storniitova-8B
- SGLang
How to use v000000/L3.1-Storniitova-8B 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 "v000000/L3.1-Storniitova-8B" \ --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": "v000000/L3.1-Storniitova-8B", "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 "v000000/L3.1-Storniitova-8B" \ --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": "v000000/L3.1-Storniitova-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use v000000/L3.1-Storniitova-8B with Docker Model Runner:
docker model run hf.co/v000000/L3.1-Storniitova-8B
Llama-3.1-Storniitova-8B
Storniitova-8B is a RP/Instruct model built on the foundation of Llama-3.1-SuperNova-Lite, which is distilled from the 405B parameter variant of Llama-3.1
By only changing the vector tasks, I attempt to retain the full 405B distillation while learning roleplaying capabilties.
(GGUF) mradermacher quants:
(GGUF) QuantFactory quants:
merge
This is a merge of pre-trained language models created using mergekit and other proprietary tools.
Merge Details
Merge Method
This model was merged using the SLERP, Task_Arithmetic and NEARSWAP merge method.
Models Merged
The following models were included in the merge:
- v000000/L3.1-Niitorm-8B-t0.0001
- akjindal53244/Llama-3.1-Storm-8B
- arcee-ai/Llama-Spark
- arcee-ai/Llama-3.1-SuperNova-Lite
- v000000/L3.1-8B-RP-Test-003-Task_Arithmetic
- Sao10K/L3.1-8B-Niitama-v1.1 + grimjim/Llama-3-Instruct-abliteration-LoRA-8B
- v000000/L3.1-8B-RP-Test-002-Task_Arithmetic + grimjim/Llama-3-Instruct-abliteration-LoRA-8B
Recipe
The following YAML configuration was used to produce this model:
#Step1 - Add smarts to Niitama with alchemonaut's algorithm.
slices:
- sources:
- model: Sao10K/L3.1-8B-Niitama-v1.1+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
layer_range: [0, 32]
- model: akjindal53244/Llama-3.1-Storm-8B
layer_range: [0, 32]
merge_method: nearswap
base_model: Sao10K/L3.1-8B-Niitama-v1.1+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
parameters:
t:
- value: 0.0001
dtype: bfloat16
out_type: float16
#Step 2 - Learn vectors onto Supernova 0.4(Niitorm)
models:
- model: arcee-ai/Llama-3.1-SuperNova-Lite
parameters:
weight: 1.0
- model: v000000/L3.1-Niitorm-8B-t0.0001
parameters:
weight: 0.4
merge_method: task_arithmetic
base_model: arcee-ai/Llama-3.1-SuperNova-Lite
parameters:
normalize: false
dtype: float16
#Step 3 - Fully learn vectors onto Supernova 1.25(Niitorm)
models:
- model: arcee-ai/Llama-3.1-SuperNova-Lite
parameters:
weight: 0.0
- model: v000000/L3.1-Niitorm-8B-t0.0001
parameters:
weight: 1.25
merge_method: task_arithmetic
base_model: arcee-ai/Llama-3.1-SuperNova-Lite
parameters:
normalize: false
dtype: float16
#Step 4 - Merge checkpoints and keep output/input Supernova heavy
#Merge with a triangular slerp from sophosympatheia.
models:
- model: v000000/L3.1-8B-RP-Test-003-Task_Arithmetic
merge_method: slerp
base_model: v000000/L3.1-8B-RP-Test-002-Task_Arithmetic+grimjim/Llama-3-Instruct-abliteration-LoRA-8B
# This model needed some abliteration^
parameters:
t:
- value: [0, 0, 0.3, 0.4, 0.5, 0.6, 0.5, 0.4, 0.3, 0, 0]
dtype: float16
SLERP distribution used to smoothly blend the mostly Supernova base with the roleplay vectors:
Open LLM Leaderboard Evaluation Results
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 28.06 |
| IFEval (0-Shot) | 78.17 |
| BBH (3-Shot) | 30.81 |
| MATH Lvl 5 (4-Shot) | 13.29 |
| GPQA (0-shot) | 5.26 |
| MuSR (0-shot) | 9.96 |
| MMLU-PRO (5-shot) | 30.84 |
- Downloads last month
- 22
Model tree for v000000/L3.1-Storniitova-8B
Collection including v000000/L3.1-Storniitova-8B
Evaluation results
- strict accuracy on IFEval (0-Shot)Open LLM Leaderboard78.170
- normalized accuracy on BBH (3-Shot)Open LLM Leaderboard30.810
- exact match on MATH Lvl 5 (4-Shot)Open LLM Leaderboard13.290
- acc_norm on GPQA (0-shot)Open LLM Leaderboard5.260
- acc_norm on MuSR (0-shot)Open LLM Leaderboard9.960
- accuracy on MMLU-PRO (5-shot)test set Open LLM Leaderboard30.840
