Instructions to use plotMaker/qwen25-7b-sft-merged-v5v6-a50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use plotMaker/qwen25-7b-sft-merged-v5v6-a50 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="plotMaker/qwen25-7b-sft-merged-v5v6-a50") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("plotMaker/qwen25-7b-sft-merged-v5v6-a50") model = AutoModelForCausalLM.from_pretrained("plotMaker/qwen25-7b-sft-merged-v5v6-a50") 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]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use plotMaker/qwen25-7b-sft-merged-v5v6-a50 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "plotMaker/qwen25-7b-sft-merged-v5v6-a50" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "plotMaker/qwen25-7b-sft-merged-v5v6-a50", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/plotMaker/qwen25-7b-sft-merged-v5v6-a50
- SGLang
How to use plotMaker/qwen25-7b-sft-merged-v5v6-a50 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 "plotMaker/qwen25-7b-sft-merged-v5v6-a50" \ --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": "plotMaker/qwen25-7b-sft-merged-v5v6-a50", "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 "plotMaker/qwen25-7b-sft-merged-v5v6-a50" \ --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": "plotMaker/qwen25-7b-sft-merged-v5v6-a50", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use plotMaker/qwen25-7b-sft-merged-v5v6-a50 with Docker Model Runner:
docker model run hf.co/plotMaker/qwen25-7b-sft-merged-v5v6-a50
qwen25-7b-sft-merged-v5v6-a50
This repository provides a fully merged model fine-tuned from Qwen2.5-7B-Instruct using QLoRA + Unsloth.
Two SFT models (v5 and v6) were trained independently, then combined via weight interpolation (alpha=0.5). This is a complete model — no adapters or additional weights are needed.
Training Objective
This model is trained to improve multi-turn agent task performance on ALFWorld (household tasks) and DBBench (database operations).
Loss is applied to all assistant turns in the multi-turn trajectory, enabling the model to learn environment observation, action selection, tool use, and recovery from errors.
Training Configuration
- Base model: Qwen/Qwen2.5-7B-Instruct
- Method: QLoRA (4-bit) + Unsloth, merged into base model
- Max sequence length: 2048
- Epochs: 2
- Learning rate: 5e-5
- LoRA: r=32, alpha=64
- Post-training: weight interpolation of v5 and v6 (alpha=0.5)
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "plotMaker/qwen25-7b-sft-merged-v5v6-a50"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
References
- Model Soups (Wortsman et al., 2022) — Weight interpolation of fine-tuned models
- LoRA (Hu et al., 2021) — Low-Rank Adaptation
- NEFTune (Jain et al., 2024) — Noisy embedding fine-tuning
- rsLoRA (Kalajdzievski, 2023) — Rank-stabilized LoRA scaling
- ALFWorld (Shridhar et al., 2021) — Interactive text-world environments
- ReAct (Yao et al., 2023) — Reasoning and acting in LLMs
Sources & Terms (IMPORTANT)
Training data:
- u-10bei/sft_alfworld_trajectory_dataset_v2 ~ v5
- u-10bei/dbbench_sft_dataset_react ~ v4
Base model: Qwen/Qwen2.5-7B-Instruct
This repository does NOT redistribute the dataset. Users must comply with the dataset license and base model terms.
- Downloads last month
- 7