Downloads · 30 days
16
32% of all-time downloads
zhatrix/logistics-qwen-lora
logistics-qwen-lora is a machine learning model from zhatrix. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
物流行业智能助手的 LoRA 适配器(PEFT 格式)。配合知识库检索与业务工具使用,覆盖客服问答、单据/地址抽取、路径调度、行业知识四类场景。
Downloads · 30 days
16
32% of all-time downloads
All-time downloads
50
Public
Repo size
46.2 MB
Likes
0
Public
Click a slice to open those files.
.safetensors46.2 MB · 100%
From the Hugging Face model README
物流行业智能助手的 LoRA 适配器(PEFT 格式)。配合知识库检索与业务工具使用,覆盖客服问答、单据/地址抽取、路径调度、行业知识四类场景。
Qwen/Qwen2.5-7B-Instructfrom transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = "Qwen/Qwen2.5-7B-Instruct"
tok = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(base, dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(model, "zhatrix/logistics-qwen-lora")
模型以 Qwen chat template 的工具调用格式工作(tools 传入模板,输出 <tool_call>…</tool_call>)。在线演示:https://huggingface.co/spaces/zhatrix/logistics-llm | ModelScope 镜像:https://www.modelscope.cn/models/zh4trix/logistics-qwen-lora | 完整应用见 GitHub:https://github.com/zhatrix/logicLLM