Downloads · 30 days
11
3% of all-time downloads
4513P/deepseek-for-my-bishe
deepseek-for-my-bishe is a text generation model from 4513P. Use it when you need the model to write or continue text. The card lists the license as mit.
中文:本模型是基于 DeepSeek-R1 7B 的微调版本,专为中文交通违法行为问答任务设计,服务于交通违法行为处理管理系统 https://github.com/tutict/Final-Assignment 。通过 LoRA 微调,模型能够高效回答与交通违法相关的查询,如处罚条款(例如“第二十七条第一项”)。模型已转换为 GGUF 格式(q80 量化,8.0 GB),适配 Ollama 进行本地推理。
Downloads · 30 days
11
3% of all-time downloads
All-time downloads
433
Public
Repo size
8.5 GB
Likes
0
Public
Click a slice to open those files.
.gguf8.5 GB · 100%
From the Hugging Face model README
中文:本模型是基于 DeepSeek-R1 7B 的微调版本,专为中文交通违法行为问答任务设计,服务于交通违法行为处理管理系统 https://github.com/tutict/Final-Assignment 。通过 LoRA 微调,模型能够高效回答与交通违法相关的查询,如处罚条款(例如“第二十七条第一项”)。模型已转换为 GGUF 格式(q8_0 量化,8.0 GB),适配 Ollama 进行本地推理。
English: This model is a fine-tuned version of DeepSeek-R1 7B, optimized for Chinese traffic violation Q&A tasks as part of the Traffic Violation Processing System https://github.com/tutict/Final-Assignment . Fine-tuned with LoRA, it efficiently answers queries related to traffic violations, such as penalty clauses (e.g., "Article 27, Item 1"). The model is converted to GGUF format (q8_0 quantization, 8.0 GB) for local inference with Ollama.
中文:
q8_0(8 位整数,8.0 GB,显存需求 8-12 GB)English:
q8_0 (8-bit integer, 8.0 GB, 8-12 GB VRAM)中文:
English:
中文:模型设计用于直接回答中文交通违法相关问题,例如查询处罚条款、违法行为详情等。用户可通过 Ollama 在本地运行模型,适合个人或机构使用。
English: The model is designed for direct use in answering Chinese traffic violation queries, such as penalty clauses or violation details. Users can run it locally with Ollama, suitable for individual or institutional use.
中文:模型可集成到 Web 或移动应用(如 Spring Boot/Flutter 开发的 UserAppealPage),提供实时交通违法问答服务。支持 API 调用,适配数据库查询。
English: The model can be integrated into web or mobile applications (e.g., UserAppealPage built with Spring Boot/Flutter) for real-time traffic violation Q&A. It supports API integration and database queries.
中文:模型不适用于非交通违法领域的问答(如通用聊天、法律咨询)。不建议用于生成敏感或违法内容。
English: The model is not suitable for Q&A outside traffic violations (e.g., general chat, legal consulting). It should not be used to generate sensitive or illegal content.
中文:
q8_0 量化可能略微降低精度,推理需要 8-12 GB 显存。English:
q8_0 quantization may slightly reduce accuracy; inference requires 8-12 GB VRAM.中文:用户应验证模型回答的准确性,尤其在关键场景。建议结合数据库或专家审核。未来可增加数据集覆盖范围或使用 q4_k_m 量化以提高效率。
English: Users should verify the accuracy of responses, especially in critical scenarios. Combine with database checks or expert review. Future improvements include expanding dataset coverage or using q4_k_m quantization for efficiency.
中文:使用以下代码在本地运行模型:
# 安装 Ollama
# 访问 https://ollama.com/ 下载并安装
# 下载模型文件和 Modelfile
# 从 Hugging Face 仓库获取 deepseek_r1_for_hgl_bishe.gguf 和 Modelfile
# 导入模型
ollama create deepseek-finetuned -f Modelfile
# 运行模型
ollama run deepseek-finetuned
English: Use the following code to run the model locally:
# Install Ollama
# Download and install from https://ollama.com/
# Download model files and Modelfile
# Obtain deepseek_r1_for_hgl_bishe.gguf and Modelfile from the Hugging Face repository
# Import model
ollama create deepseek-finetuned -f Modelfile
# Run model
ollama run deepseek-finetuned
中文:
市重点站区管委会-交通违法裁量基准.xlsx(来自北京市公共数据开放平台的 2245 条交通违法记录)English:
中文:XLSX 数据清洗后转换为 JSONL 格式(train_data.jsonl),生成问答对,供 LoRA 微调使用。
English: XLSX data was cleaned and converted to JSONL format (train_data.jsonl) for LoRA fine-tuning.
中文:
English:
中文:微调约耗时20分钟。GGUF 转换耗时约 1.5 分钟,生成 8.0 GB 文件。
English: Fine-tuning takes about 20 minutes. GGUF conversion took ~1.5 minutes, producing an 8.0 GB file.
中文:使用训练数据集的子集(约 10%)进行验证,另需手动测试关键问题(如“巡游出租汽车处罚条款”)。
English: A subset (~10%) of the training dataset was used for validation, with manual testing of key questions (e.g., "penalty for taxi violations").
中文:评估基于违法行为类型(如超速、违规停车)和问题复杂度(单条款 vs 多条款)。
English: Evaluation based on violation types (e.g., speeding, illegal parking) and question complexity (single vs. multiple clauses).
中文:
English:
中文:待补充(建议测试 Ollama 后记录准确率和速度)。
English: To be added (record accuracy and speed after testing with Ollama).
中文:模型在常见交通违法问题上表现良好,需进一步测试边缘案例。
English: The model performs well on common traffic violation queries, with further testing needed for edge cases.
中文:暂无深入分析,建议检查模型对罕见违法行为的泛化能力。
English: No in-depth analysis yet; recommend examining generalization to rare violations.
中文:碳排放使用 Machine Learning Impact calculator 估算:
English: Carbon emissions estimated using the Machine Learning Impact calculator:
中文:基于 Transformer 的 DeepSeek-R1 7B,目标为中文交通违法问答,优化为低显存高效推理。
English: Transformer-based DeepSeek-R1 7B, optimized for Chinese traffic violation Q&A with low-VRAM efficient inference.
中文:NVIDIA RTX 5080(15.92 GB 显存),支持 CUDA 12.8。
English: NVIDIA RTX 5080 (15.92 GB VRAM), CUDA 12.8 compatible.
中文:
English:
中文:暂无相关论文,参考 DeepSeek 和 llama.cpp 项目。
English: No associated paper; refer to DeepSeek and llama.cpp projects.
BibTeX:
@misc{deepseek,
title = {DeepSeek-R1-Distill-Llama-8B},
author = {DeepSeek Team},
url = {https://huggingface.co/unsloth/DeepSeek-R1-Distill-Llama-8B}
}
@misc{llamacpp,
title = {llama.cpp},
author = {Georgi Gerganov},
url = {https://github.com/ggerganov/llama.cpp}
}
APA:
中文:
English:
中文:tutict
English: tutict
中文:如有问题,请在 Hugging Face 或 GitHub 仓库提交 issue。
English: For issues, please open an issue on Hugging Face or GitHub.