初始化项目,由ModelHub XC社区提供模型
Model: sallani/ISO27001-Qwen2.5-0.5B-Edge Source: Original Platform
This commit is contained in:
37
.gitattributes
vendored
Normal file
37
.gitattributes
vendored
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.model filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||||
|
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
iso27001-qwen2.5-0.5b-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
||||||
188
README.md
Normal file
188
README.md
Normal file
@@ -0,0 +1,188 @@
|
|||||||
|
---
|
||||||
|
license: apache-2.0
|
||||||
|
license_link: https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct/blob/main/LICENSE
|
||||||
|
language:
|
||||||
|
- fr
|
||||||
|
- en
|
||||||
|
pipeline_tag: text-generation
|
||||||
|
base_model: Qwen/Qwen2.5-0.5B-Instruct
|
||||||
|
tags:
|
||||||
|
- iso27001
|
||||||
|
- cybersecurity
|
||||||
|
- isms
|
||||||
|
- compliance
|
||||||
|
- grc
|
||||||
|
- information-security
|
||||||
|
- audit
|
||||||
|
- fine-tuned
|
||||||
|
- qlora
|
||||||
|
- mlx
|
||||||
|
- gguf
|
||||||
|
- on-premise
|
||||||
|
---
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
|
||||||
|
# 🔐 ISO27001-Qwen2.5-0.5B-Edge
|
||||||
|
|
||||||
|
**ISO 27001:2022 fine-tuned SLM — on-premise, offline, sovereign**
|
||||||
|
|
||||||
|
[](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct)
|
||||||
|
[](LICENSE)
|
||||||
|
[]()
|
||||||
|
[]()
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
A specialized AI agent for **ISO/IEC 27001:2022** and **ISO/IEC 27002:2022**, designed to run entirely **on-premise and offline** — no data ever leaves your infrastructure.
|
||||||
|
|
||||||
|
Fine-tuned on 199 Q&A pairs covering the full ISO 27001:2022 requirements: clauses 4-10, all 93 Annex A controls, gap assessment, audit preparation, and regulatory alignment with NIS2, DORA, and GDPR.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Use Cases
|
||||||
|
|
||||||
|
- 🔍 **ISMS Gap Assessment** — maturity evaluation, non-conformity identification
|
||||||
|
- 📋 **ISO 27001 Audit Support** — clauses, Annex A controls, expected audit evidence
|
||||||
|
- 🛡️ **CISO / DPO Advisory** — risk management, risk treatment plan, Statement of Applicability
|
||||||
|
- 📄 **Certification Preparation** — auditor checklist, mandatory documentation
|
||||||
|
- 🔗 **Regulatory Alignment** — NIS2, DORA, GDPR, ISO 42001 mapped to ISO 27001
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Quick Start
|
||||||
|
|
||||||
|
### Ollama (recommended)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Download the Modelfile
|
||||||
|
curl -O https://huggingface.co/sallani/ISO27001-Qwen2.5-0.5B-Edge/resolve/main/Modelfile
|
||||||
|
|
||||||
|
# Create and run
|
||||||
|
ollama create iso27001-agent -f Modelfile
|
||||||
|
ollama run iso27001-agent
|
||||||
|
```
|
||||||
|
|
||||||
|
### llama.cpp
|
||||||
|
|
||||||
|
```bash
|
||||||
|
llama-cli \
|
||||||
|
-m iso27001-qwen2.5-0.5b-q4_k_m.gguf \
|
||||||
|
--chat-template qwen \
|
||||||
|
-p "What are the mandatory documents required by ISO 27001:2022?" \
|
||||||
|
-n 512
|
||||||
|
```
|
||||||
|
|
||||||
|
### Python / transformers
|
||||||
|
|
||||||
|
```python
|
||||||
|
from transformers import AutoModelForCausalLM, AutoTokenizer
|
||||||
|
|
||||||
|
model_id = "sallani/ISO27001-Qwen2.5-0.5B-Edge"
|
||||||
|
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
||||||
|
model = AutoModelForCausalLM.from_pretrained(model_id)
|
||||||
|
|
||||||
|
messages = [
|
||||||
|
{
|
||||||
|
"role": "system",
|
||||||
|
"content": "You are an ISO 27001:2022 Lead Auditor and ISMS expert. Your answers are precise, actionable, and referenced to specific clauses and controls."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"role": "user",
|
||||||
|
"content": "What are the mandatory documents required by ISO 27001:2022?"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
||||||
|
inputs = tokenizer(text, return_tensors="pt")
|
||||||
|
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.7)
|
||||||
|
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
||||||
|
```
|
||||||
|
|
||||||
|
### MLX — Apple Silicon
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install mlx-lm
|
||||||
|
|
||||||
|
python -m mlx_lm.generate \
|
||||||
|
--model sallani/ISO27001-Qwen2.5-0.5B-Edge \
|
||||||
|
--prompt "What is the Statement of Applicability in ISO 27001?" \
|
||||||
|
--max-tokens 512
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Available Files
|
||||||
|
|
||||||
|
| File | Format | Size | Usage |
|
||||||
|
|------|--------|------|-------|
|
||||||
|
| `model.safetensors` | SafeTensors FP16 | ~988 MB | transformers, MLX |
|
||||||
|
| `iso27001-qwen2.5-0.5b-q4_k_m.gguf` | GGUF Q4_K_M | ~398 MB | Ollama, llama.cpp |
|
||||||
|
| `tokenizer.json` | JSON | — | tokenization |
|
||||||
|
| `config.json` | JSON | — | architecture |
|
||||||
|
| `Modelfile` | Ollama | — | local deployment |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Model Details
|
||||||
|
|
||||||
|
| Parameter | Value |
|
||||||
|
|-----------|-------|
|
||||||
|
| Architecture | Qwen2.5 Transformer decoder |
|
||||||
|
| Parameters | 0.5B |
|
||||||
|
| Base model | `Qwen/Qwen2.5-0.5B-Instruct` |
|
||||||
|
| Fine-tuning method | QLoRA / LoRA via MLX-LM |
|
||||||
|
| LoRA layers | 4 |
|
||||||
|
| Learning rate | 1e-4 |
|
||||||
|
| Iterations | 150 |
|
||||||
|
| Batch size | 8 |
|
||||||
|
| Max sequence length | 1,024 tokens |
|
||||||
|
| Max context | 32,768 tokens |
|
||||||
|
| GGUF quantization | Q4_K_M (~398 MB) |
|
||||||
|
| Languages | French 🇫🇷 + English 🇬🇧 |
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Training Dataset
|
||||||
|
|
||||||
|
Fine-tuned on **[sallani/iso27001-isms-dataset](https://huggingface.co/datasets/sallani/iso27001-isms-dataset)** — 199 unique Q&A pairs (159 train / 40 test).
|
||||||
|
|
||||||
|
Coverage:
|
||||||
|
- Clauses 4-10 (all mandatory ISMS requirements)
|
||||||
|
- All 93 Annex A controls across 4 themes: Organisational, People, Physical, Technological
|
||||||
|
- All 11 new ISO 27001:2022 controls (threat intelligence, cloud security, secure coding, DLP, data masking…)
|
||||||
|
- Gap assessment methodology and ISMS maturity levels
|
||||||
|
- Practical scenarios: ransomware response, NIS2/DORA alignment, Zero Trust, AI/ISO 42001
|
||||||
|
- Bilingual FR/EN with Lead Auditor system prompt
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Limitations
|
||||||
|
|
||||||
|
- **0.5B parameter model** — reasoning capabilities are limited compared to larger models (>7B)
|
||||||
|
- **Does not replace** a professional ISO 27001 audit or a certified Lead Auditor
|
||||||
|
- Answers should be **validated by an expert** before use in a real audit context
|
||||||
|
- Knowledge is limited to the fine-tuning date
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
Apache 2.0 — same license as the base model [Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct/blob/main/LICENSE).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Citation
|
||||||
|
|
||||||
|
```bibtex
|
||||||
|
@model{iso27001_qwen25_edge_2025,
|
||||||
|
title = {ISO27001-Qwen2.5-0.5B-Edge},
|
||||||
|
author = {Sabri Allani},
|
||||||
|
year = {2025},
|
||||||
|
url = {https://huggingface.co/sallani/ISO27001-Qwen2.5-0.5B-Edge}
|
||||||
|
}
|
||||||
|
```
|
||||||
54
chat_template.jinja
Normal file
54
chat_template.jinja
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
{%- if tools %}
|
||||||
|
{{- '<|im_start|>system\n' }}
|
||||||
|
{%- if messages[0]['role'] == 'system' %}
|
||||||
|
{{- messages[0]['content'] }}
|
||||||
|
{%- else %}
|
||||||
|
{{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
|
||||||
|
{%- endif %}
|
||||||
|
{{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
||||||
|
{%- for tool in tools %}
|
||||||
|
{{- "\n" }}
|
||||||
|
{{- tool | tojson }}
|
||||||
|
{%- endfor %}
|
||||||
|
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
||||||
|
{%- else %}
|
||||||
|
{%- if messages[0]['role'] == 'system' %}
|
||||||
|
{{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
|
||||||
|
{%- else %}
|
||||||
|
{{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
|
||||||
|
{%- endif %}
|
||||||
|
{%- endif %}
|
||||||
|
{%- for message in messages %}
|
||||||
|
{%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
|
||||||
|
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
|
||||||
|
{%- elif message.role == "assistant" %}
|
||||||
|
{{- '<|im_start|>' + message.role }}
|
||||||
|
{%- if message.content %}
|
||||||
|
{{- '\n' + message.content }}
|
||||||
|
{%- endif %}
|
||||||
|
{%- for tool_call in message.tool_calls %}
|
||||||
|
{%- if tool_call.function is defined %}
|
||||||
|
{%- set tool_call = tool_call.function %}
|
||||||
|
{%- endif %}
|
||||||
|
{{- '\n<tool_call>\n{"name": "' }}
|
||||||
|
{{- tool_call.name }}
|
||||||
|
{{- '", "arguments": ' }}
|
||||||
|
{{- tool_call.arguments | tojson }}
|
||||||
|
{{- '}\n</tool_call>' }}
|
||||||
|
{%- endfor %}
|
||||||
|
{{- '<|im_end|>\n' }}
|
||||||
|
{%- elif message.role == "tool" %}
|
||||||
|
{%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
|
||||||
|
{{- '<|im_start|>user' }}
|
||||||
|
{%- endif %}
|
||||||
|
{{- '\n<tool_response>\n' }}
|
||||||
|
{{- message.content }}
|
||||||
|
{{- '\n</tool_response>' }}
|
||||||
|
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
||||||
|
{{- '<|im_end|>\n' }}
|
||||||
|
{%- endif %}
|
||||||
|
{%- endif %}
|
||||||
|
{%- endfor %}
|
||||||
|
{%- if add_generation_prompt %}
|
||||||
|
{{- '<|im_start|>assistant\n' }}
|
||||||
|
{%- endif %}
|
||||||
30
config.json
Normal file
30
config.json
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"architectures": [
|
||||||
|
"Qwen2ForCausalLM"
|
||||||
|
],
|
||||||
|
"attention_dropout": 0.0,
|
||||||
|
"bos_token_id": 151643,
|
||||||
|
"eos_token_id": [
|
||||||
|
151645,
|
||||||
|
151643
|
||||||
|
],
|
||||||
|
"hidden_act": "silu",
|
||||||
|
"hidden_size": 896,
|
||||||
|
"initializer_range": 0.02,
|
||||||
|
"intermediate_size": 4864,
|
||||||
|
"max_position_embeddings": 32768,
|
||||||
|
"max_window_layers": 21,
|
||||||
|
"model_type": "qwen2",
|
||||||
|
"num_attention_heads": 14,
|
||||||
|
"num_hidden_layers": 24,
|
||||||
|
"num_key_value_heads": 2,
|
||||||
|
"rms_norm_eps": 1e-06,
|
||||||
|
"rope_theta": 1000000.0,
|
||||||
|
"sliding_window": 32768,
|
||||||
|
"tie_word_embeddings": true,
|
||||||
|
"torch_dtype": "bfloat16",
|
||||||
|
"transformers_version": "4.43.1",
|
||||||
|
"use_cache": true,
|
||||||
|
"use_sliding_window": false,
|
||||||
|
"vocab_size": 151936
|
||||||
|
}
|
||||||
14
generation_config.json
Normal file
14
generation_config.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"bos_token_id": 151643,
|
||||||
|
"pad_token_id": 151643,
|
||||||
|
"do_sample": true,
|
||||||
|
"eos_token_id": [
|
||||||
|
151645,
|
||||||
|
151643
|
||||||
|
],
|
||||||
|
"repetition_penalty": 1.1,
|
||||||
|
"temperature": 0.7,
|
||||||
|
"top_p": 0.8,
|
||||||
|
"top_k": 20,
|
||||||
|
"transformers_version": "4.37.0"
|
||||||
|
}
|
||||||
3
iso27001-qwen2.5-0.5b-q4_k_m.gguf
Normal file
3
iso27001-qwen2.5-0.5b-q4_k_m.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:22e45e43854d8664ec0dd51ed407533a1b767f7a160031e364ad48450f4a6edd
|
||||||
|
size 397808032
|
||||||
3
model.safetensors
Normal file
3
model.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:222c8c5bb8e72cdaf4487fc44bf6393bec52b9f61f69943b6b0845f0c049ce84
|
||||||
|
size 988097730
|
||||||
298
model.safetensors.index.json
Normal file
298
model.safetensors.index.json
Normal file
@@ -0,0 +1,298 @@
|
|||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"total_size": 988065536,
|
||||||
|
"total_parameters": 494032768
|
||||||
|
},
|
||||||
|
"weight_map": {
|
||||||
|
"model.embed_tokens.weight": "model.safetensors",
|
||||||
|
"model.layers.0.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.0.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.0.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.0.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.0.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.0.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.0.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.0.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.0.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.0.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.0.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.0.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.1.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.1.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.1.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.1.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.1.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.1.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.1.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.1.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.1.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.1.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.1.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.1.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.10.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.10.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.10.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.10.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.10.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.10.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.10.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.10.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.10.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.10.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.10.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.10.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.11.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.11.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.11.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.11.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.11.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.11.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.11.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.11.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.11.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.11.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.11.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.11.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.12.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.12.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.12.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.12.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.12.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.12.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.12.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.12.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.12.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.12.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.12.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.12.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.13.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.13.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.13.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.13.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.13.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.13.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.13.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.13.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.13.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.13.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.13.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.13.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.14.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.14.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.14.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.14.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.14.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.14.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.14.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.14.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.14.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.14.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.14.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.14.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.15.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.15.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.15.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.15.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.15.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.15.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.15.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.15.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.15.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.15.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.15.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.15.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.16.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.16.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.16.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.16.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.16.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.16.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.16.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.16.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.16.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.16.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.16.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.16.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.17.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.17.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.17.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.17.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.17.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.17.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.17.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.17.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.17.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.17.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.17.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.17.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.18.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.18.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.18.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.18.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.18.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.18.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.18.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.18.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.18.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.18.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.18.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.18.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.19.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.19.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.19.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.19.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.19.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.19.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.19.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.19.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.19.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.19.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.19.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.19.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.2.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.2.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.2.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.2.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.2.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.2.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.2.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.2.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.2.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.2.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.2.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.2.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.20.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.20.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.20.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.20.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.20.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.20.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.20.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.20.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.20.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.20.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.20.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.20.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.21.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.21.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.21.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.21.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.21.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.21.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.21.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.21.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.21.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.21.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.21.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.21.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.22.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.22.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.22.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.22.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.22.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.22.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.22.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.22.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.22.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.22.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.22.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.22.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.23.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.23.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.23.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.23.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.23.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.23.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.23.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.23.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.23.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.23.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.23.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.23.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.3.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.3.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.3.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.3.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.3.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.3.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.3.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.3.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.3.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.3.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.3.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.3.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.4.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.4.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.4.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.4.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.4.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.4.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.4.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.4.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.4.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.4.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.4.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.4.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.5.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.5.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.5.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.5.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.5.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.5.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.5.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.5.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.5.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.5.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.5.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.5.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.6.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.6.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.6.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.6.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.6.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.6.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.6.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.6.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.6.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.6.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.6.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.6.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.7.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.7.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.7.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.7.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.7.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.7.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.7.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.7.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.7.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.7.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.7.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.7.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.8.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.8.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.8.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.8.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.8.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.8.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.8.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.8.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.8.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.8.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.8.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.8.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.9.input_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.9.mlp.down_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.9.mlp.gate_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.9.mlp.up_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.9.post_attention_layernorm.weight": "model.safetensors",
|
||||||
|
"model.layers.9.self_attn.k_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.9.self_attn.k_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.9.self_attn.o_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.9.self_attn.q_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.9.self_attn.q_proj.weight": "model.safetensors",
|
||||||
|
"model.layers.9.self_attn.v_proj.bias": "model.safetensors",
|
||||||
|
"model.layers.9.self_attn.v_proj.weight": "model.safetensors",
|
||||||
|
"model.norm.weight": "model.safetensors"
|
||||||
|
}
|
||||||
|
}
|
||||||
3
tokenizer.json
Normal file
3
tokenizer.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
|
||||||
|
size 11421892
|
||||||
31
tokenizer_config.json
Normal file
31
tokenizer_config.json
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"add_prefix_space": false,
|
||||||
|
"backend": "tokenizers",
|
||||||
|
"bos_token": null,
|
||||||
|
"clean_up_tokenization_spaces": false,
|
||||||
|
"eos_token": "<|im_end|>",
|
||||||
|
"errors": "replace",
|
||||||
|
"extra_special_tokens": [
|
||||||
|
"<|im_start|>",
|
||||||
|
"<|im_end|>",
|
||||||
|
"<|object_ref_start|>",
|
||||||
|
"<|object_ref_end|>",
|
||||||
|
"<|box_start|>",
|
||||||
|
"<|box_end|>",
|
||||||
|
"<|quad_start|>",
|
||||||
|
"<|quad_end|>",
|
||||||
|
"<|vision_start|>",
|
||||||
|
"<|vision_end|>",
|
||||||
|
"<|vision_pad|>",
|
||||||
|
"<|image_pad|>",
|
||||||
|
"<|video_pad|>"
|
||||||
|
],
|
||||||
|
"is_local": true,
|
||||||
|
"local_files_only": false,
|
||||||
|
"model_max_length": 131072,
|
||||||
|
"pad_token": "<|endoftext|>",
|
||||||
|
"split_special_tokens": false,
|
||||||
|
"tokenizer_class": "Qwen2Tokenizer",
|
||||||
|
"tool_parser_type": "json_tools",
|
||||||
|
"unk_token": null
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user