stelterlab/SauerkrautLM-v2-14b-SFT-MLX
The Model stelterlab/SauerkrautLM-v2-14b-SFT-MLX was converted to MLX format from VAGOsolutions/SauerkrautLM-v2-14b-SFT using mlx-lm version 0.19.2.
Use with mlx
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("stelterlab/SauerkrautLM-v2-14b-SFT-MLX")
prompt="hello"
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
Original Weights by VAGOsolutions. Original Model Card follows:
VAGO solutions SauerkrautLM-v2-14b-SFT
Fine-tuned Model - Celebrating one year of SauerkrautLM with our most advanced model yet, showcasing two-phase Spectrum Fine-Tuning
Introducing SauerkrautLM-14b-v2-SFT – our latest Sauerkraut version based on Qwen/Qwen2.5-14B, celebrating the one-year anniversary of SauerkrautLM!
- Two-phase Spectrum Fine-Tuning approach
- Phase 1: 25% layer targeting with 0.6B tokens
- Phase 2: 20% layer targeting with 0.6B tokens
- Enhanced mathematical capabilities, function calling, and multilingual performance
Table of Contents
- Overview of all SauerkrautLM-14b-v2 Models
- Model Details
- Evaluation
- Disclaimer
- Contact
- Collaborations
- Acknowledgement
All SauerkrautLM-v2-14b
Model | HF | EXL2 | GGUF | AWQ |
---|---|---|---|---|
SauerkrautLM-v2-14b-SFT | Link | coming soon | coming soon | coming soon |
SauerkrautLM-v2-14b-DPO | Link | coming soon | coming soon | coming soon |
Model Details
SauerkrautLM-v2-14b-SFT
- Model Type: SauerkrautLM-v2-14b-SFT is a fine-tuned Model based on Qwen/Qwen2.5-14B
- Language(s): German, English
- License: Apache 2.0
- Contact: VAGO solutions
Training Procedure
This model represents a significant advancement in our fine-tuning methodology, utilizing a two-phase Spectrum Fine-Tuning approach:
Phase 1 (25% Layer Targeting):
- Training on 0.6B tokens with four distinct components:
- Mathematics data (curated using proprietary classifier)
- English performance data (from Sauerkraut-v1)
- High-quality German training data (from Sauerkraut-v1)
- Function calling data (from Sauerkraut-v2)
Phase 2 (20% Layer Targeting):
- Training on additional 0.6B tokens with partial overlap:
- New mathematics data (classifier-selected)
- New English performance data (from Sauerkraut-v2)
- New German training data (from Sauerkraut-v2)
- Function calling data (from Sauerkraut-v2)
Dataset Composition:
- Carefully curated mathematical content using a proprietary classification model
- Premium multilingual data from both Sauerkraut-v1 and Sauerkraut-v2
- Specialized function calling training data
- High-quality German-English content across various domains
Objective and Results
This release marks the one-year anniversary of SauerkrautLM, showcasing our most advanced training methodology to date. The two-phase Spectrum Fine-Tuning approach allows for more nuanced learning while maintaining efficiency in resource usage. The model demonstrates significant improvements in:
- Mathematical reasoning capabilities
- Function calling proficiency
- Multilingual performance
- Instruction following
- Common-sense reasoning
Evaluation
Berkeley Function Calling Leaderboard
Please note that our benchmark results in absolute numbers may differ from the Hugging Face Leaderboard due to variations in benchmark evaluation pipelines. However, the relative differences remain consistent.
Disclaimer
We must inform users that despite our best efforts in data cleansing, the possibility of uncensored content slipping through cannot be entirely ruled out. However, we cannot guarantee consistently appropriate behavior. Therefore, if you encounter any issues or come across inappropriate content, we kindly request that you inform us through the contact information provided. Additionally, it is essential to understand that the licensing of these models does not constitute legal advice. We are not held responsible for the actions of third parties who utilize our models.
Contact
If you are interested in customized LLMs for business applications, please get in contact with us via our website. We are also grateful for your feedback and suggestions.
Collaborations
We are also keenly seeking support and investment for our startup, VAGO solutions where we continuously advance the development of robust language models designed to address a diverse range of purposes and requirements. If the prospect of collaboratively navigating future challenges excites you, we warmly invite you to reach out to us at VAGO solutions
Acknowledgement
Many thanks to Qwen for providing such a valuable model to the Open-Source community.
- Downloads last month
- 59
Model tree for stelterlab/SauerkrautLM-v2-14b-SFT-MLX-4bit
Base model
Qwen/Qwen2.5-14BEvaluation results
- strict accuracy on IFEval (0-Shot)Open LLM Leaderboard69.640
- normalized accuracy on BBH (3-Shot)Open LLM Leaderboard45.820
- exact match on MATH Lvl 5 (4-Shot)Open LLM Leaderboard29.230
- acc_norm on GPQA (0-shot)Open LLM Leaderboard11.410
- acc_norm on MuSR (0-shot)Open LLM Leaderboard11.070
- accuracy on MMLU-PRO (5-shot)test set Open LLM Leaderboard46.730