Views
No views yet
Qwen/Qwen2.5-14B-Instruct
to specialize the base for end-to-end ServiceNow delivery work. For ready-to-run
weights see the merged model
MainStack/marvy-1-14B or the
quantized MainStack/marvy-1-14B-GGUF.Released under Apache-2.0. Built with Qwen — seeNOTICE.
USAGE.md ·
Validate it works: VALIDATION.md1pip install mlx-lm
2python -m mlx_lm generate \
3 --model Qwen/Qwen2.5-14B-Instruct \
4 --adapter-path . \
5 --system-prompt "You are a senior ServiceNow delivery consultant..." \
6 --prompt "Write a user story with acceptance criteria for P1 SLA escalation." \
7 --max-tokens 1024 --temp 0.41from peft import PeftModel
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4base = "Qwen/Qwen2.5-14B-Instruct"
5tok = AutoTokenizer.from_pretrained(base)
6model = AutoModelForCausalLM.from_pretrained(base, torch_dtype="auto", device_map="auto")
7model = PeftModel.from_pretrained(model, "MainStack/marvy-1-14B-lora")Note: the adapter was trained with MLX-LM. The MLXadapter_config.json/adapters.safetensorsare included. A PEFT-format conversion is provided for Transformers users where available; otherwise prefer the MLX path or the merged model.
| Setting | Value |
|---|---|
| Method | LoRA SFT (rank 32, scale 20, dropout 0.0) |
| Target keys | q/k/v/o_proj, gate/up/down_proj (top 16 layers) |
| Max seq length | 8,192 |
| Effective batch | 16 (batch 1 × grad-accum 16) |
| Best checkpoint | iter 150 (best validation loss) |
| Framework | MLX-LM 0.31.3 on Apple Silicon |
LICENSING.md. If you use
marvy-1-14B as a baseline, fine-tune it, distill from it, or evaluate against
it, please credit MainStack and link to
https://huggingface.co/MainStack/marvy-1-14B. Keep the NOTICE file intact
(required by Apache-2.0 §4) and cite the entry on the
merged model card.