初始化项目,由ModelHub XC社区提供模型
Model: marinarosa/minicpm5-1b-vivamais-v4 Source: Original Platform
This commit is contained in:
35
.gitattributes
vendored
Normal file
35
.gitattributes
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
*.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
|
||||
198
README.md
Normal file
198
README.md
Normal file
@@ -0,0 +1,198 @@
|
||||
---
|
||||
language:
|
||||
- pt
|
||||
license: apache-2.0
|
||||
base_model:
|
||||
- marinarosa/minicpm5-1b-vivamais-v1
|
||||
datasets:
|
||||
- marinarosa/minicpm5-vivamais-text-sft-v4
|
||||
library_name: transformers
|
||||
pipeline_tag: text-generation
|
||||
tags:
|
||||
- brazilian-portuguese
|
||||
- minicpm5
|
||||
- vivamais
|
||||
- travel-agency
|
||||
- grounded-qa
|
||||
- conversational
|
||||
- distilled
|
||||
- qlora
|
||||
- lora
|
||||
- redacted
|
||||
model-index:
|
||||
- name: minicpm5-1b-vivamais-v4
|
||||
results:
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Viva Mais dashboard QA
|
||||
dataset:
|
||||
name: Viva Mais QA eval v4
|
||||
type: marinarosa/minicpm5-vivamais-text-sft-v4
|
||||
split: eval
|
||||
metrics:
|
||||
- type: average_score
|
||||
value: 0.5569620253164557
|
||||
name: Average score
|
||||
- type: pass_rate
|
||||
value: 0.44936708860759494
|
||||
name: Pass rate
|
||||
- task:
|
||||
type: text-generation
|
||||
name: Generic PT-BR conversational QA
|
||||
dataset:
|
||||
name: Viva Mais generic PT-BR eval
|
||||
type: marinarosa/minicpm5-vivamais-text-sft-v4
|
||||
split: eval
|
||||
metrics:
|
||||
- type: average_score
|
||||
value: 0.627906976744186
|
||||
name: Average score
|
||||
- type: pass_rate
|
||||
value: 0.627906976744186
|
||||
name: Pass rate
|
||||
---
|
||||
|
||||
# MiniCPM5-1B Viva Mais v4
|
||||
|
||||
`marinarosa/minicpm5-1b-vivamais-v4` is a Brazilian Portuguese text model for Viva Mais, a local-first
|
||||
WhatsApp copilot for travel-agency CRM workflows. It is intended for grounded Q&A
|
||||
over extracted customer, payment, reservation, ticket, and document context.
|
||||
|
||||
This v4 candidate was published because it improves the aggregate dashboard and
|
||||
generic PT-BR eval scores over v1. It still has an important limitation: it often
|
||||
over-generates and may include adjacent customer facts after the direct answer.
|
||||
Use short generation limits and strong retrieval/context isolation in production.
|
||||
|
||||
## Lineage
|
||||
|
||||
- Upstream family: `openbmb/MiniCPM5-1B`.
|
||||
- Fine-tuning base for this release: `marinarosa/minicpm5-1b-vivamais-v1`.
|
||||
- Published Transformers model: `marinarosa/minicpm5-1b-vivamais-v4`.
|
||||
- GGUF export: `marinarosa/minicpm5-1b-vivamais-v4-GGUF`.
|
||||
- Training dataset: `marinarosa/minicpm5-vivamais-text-sft-v4`.
|
||||
|
||||
## Fine-Tuning Recipe
|
||||
|
||||
The v4 run used response-only supervised fine-tuning with a QLoRA-style training
|
||||
setup, followed by a merged 16-bit export.
|
||||
|
||||
- Hardware: A100 on Modal.
|
||||
- Context length: 8192 tokens.
|
||||
- Training rows: 4000.
|
||||
- Epochs: 2.0.
|
||||
- Steps: 500.
|
||||
- Learning rate: 1e-05 with cosine schedule and 3%
|
||||
warmup.
|
||||
- Per-device batch size: 2.
|
||||
- Gradient accumulation: 8.
|
||||
- Effective batch size: 16.
|
||||
- Final training loss: 0.2231.
|
||||
- Base loaded in 4-bit for training; final artifact saved as merged 16-bit
|
||||
safetensors.
|
||||
- LoRA rank: 16.
|
||||
- LoRA alpha: 32.
|
||||
- LoRA dropout: 0.05.
|
||||
- LoRA target modules: `q_proj`, `k_proj`, `v_proj`, `o_proj`, `gate_proj`,
|
||||
`up_proj`, `down_proj`.
|
||||
- Response-only masking used `<|im_start|>user` and a no-thinking assistant
|
||||
prefix so the model trains only on final assistant answers.
|
||||
|
||||
## Dataset Mix
|
||||
|
||||
| Bucket | Rows |
|
||||
| --- | ---: |
|
||||
| Grounding negatives / unknown-answer cases | 2381 |
|
||||
| Viva Mais domain QA | 1511 |
|
||||
| Rio 3.1 teacher-distilled chat | 80 |
|
||||
| Generic PT-BR conversation remainder | 28 |
|
||||
|
||||
Teacher distillation used `prefeitura-rio/Rio-3.1-Open-4B-Instruct`. The run accepted
|
||||
80 rows and rejected
|
||||
5 rows after filters for verbose wrappers,
|
||||
hidden-reasoning artifacts, weak travel claims, and category mismatch.
|
||||
|
||||
## Evaluation
|
||||
|
||||
Run name: `v4_rio_001`. Baseline: `marinarosa/minicpm5-1b-vivamais-v1`. Candidate: `marinarosa/minicpm5-1b-vivamais-v4`.
|
||||
|
||||
| Suite | Model | Avg score | Pass rate | Count |
|
||||
| --- | --- | ---: | ---: | ---: |
|
||||
| Viva Mais dashboard QA | v1 baseline | 0.5042 | 0.4051 | 158 |
|
||||
| Viva Mais dashboard QA | v4 candidate | 0.5570 | 0.4494 | 158 |
|
||||
| Generic PT-BR conversational QA | v1 baseline | 0.5814 | 0.5814 | 43 |
|
||||
| Generic PT-BR conversational QA | v4 candidate | 0.6279 | 0.6279 | 43 |
|
||||
|
||||
Dashboard QA details:
|
||||
|
||||
| Metric | v1 baseline | v4 candidate |
|
||||
| --- | ---: | ---: |
|
||||
| Average score | 0.5042 | 0.5570 |
|
||||
| Pass rate | 0.4051 | 0.4494 |
|
||||
| Leakage failures | 54 | 55 |
|
||||
| Unknown failures | 18 | 11 |
|
||||
| Internal gate passed | false | false |
|
||||
|
||||
Viva Mais category scores for v4:
|
||||
|
||||
| Category | Score |
|
||||
| --- | ---: |
|
||||
| conversation_grounding | 0.6667 |
|
||||
| dates | 0.7222 |
|
||||
| document_status | 0.7500 |
|
||||
| entity_isolation | 0.8333 |
|
||||
| long_context_distractor | 0.6250 |
|
||||
| not_enough_information | 0.0556 |
|
||||
| outstanding_balance | 0.5417 |
|
||||
| passenger_flight_lookup | 0.4677 |
|
||||
| payment_status | 0.6000 |
|
||||
| pipeline_stage | 0.7500 |
|
||||
| quote_status | 0.7500 |
|
||||
| what_is_missing | 0.2500 |
|
||||
|
||||
Generic PT-BR category scores for v4:
|
||||
|
||||
| Category | Score |
|
||||
| --- | ---: |
|
||||
| customer_service | 0.6250 |
|
||||
| entity_isolation | 0.4000 |
|
||||
| grounded_refusal | 0.8333 |
|
||||
| payment_math | 0.6667 |
|
||||
| summary_rewrite | 0.5714 |
|
||||
| travel_qa | 0.3333 |
|
||||
| whatsapp_style | 1.0000 |
|
||||
|
||||
## Usage
|
||||
|
||||
Use the MiniCPM chat template and keep generation short for grounded CRM answers.
|
||||
For local llama.cpp inference, prefer the GGUF repo linked above.
|
||||
|
||||
```python
|
||||
from transformers import AutoModelForCausalLM, AutoTokenizer
|
||||
|
||||
model_id = "marinarosa/minicpm5-1b-vivamais-v4"
|
||||
tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
|
||||
model = AutoModelForCausalLM.from_pretrained(
|
||||
model_id,
|
||||
torch_dtype="auto",
|
||||
device_map="auto",
|
||||
trust_remote_code=True,
|
||||
)
|
||||
messages = [
|
||||
{"role": "system", "content": "Responda em PT-BR usando apenas o contexto fornecido."},
|
||||
{"role": "user", "content": "Contexto: ...\nPergunta: qual saldo ainda falta?"},
|
||||
]
|
||||
text = tok.apply_chat_template(
|
||||
messages,
|
||||
tokenize=False,
|
||||
add_generation_prompt=True,
|
||||
enable_thinking=False,
|
||||
)
|
||||
```
|
||||
|
||||
## Privacy and Safety
|
||||
|
||||
The training data is synthetic or redacted. No raw WhatsApp exports, identity
|
||||
documents, client names, CPF values, phone numbers, emails, card numbers, or
|
||||
local private data are published. This model is not a general travel advisor or
|
||||
payment authority; it should answer only from supplied context and defer when the
|
||||
context is insufficient.
|
||||
179
chat_template.jinja
Normal file
179
chat_template.jinja
Normal file
@@ -0,0 +1,179 @@
|
||||
{{- bos_token }}{%- if tools %}
|
||||
{%- set tool_definitions %}
|
||||
{{- "# Tools\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
||||
{%- for tool in tools %}
|
||||
{{- "\n" }}
|
||||
{{- tool | tojson(ensure_ascii=False) }}
|
||||
{%- endfor %}
|
||||
{{- '\n</tools>\n\nTool usage guidelines:\n- You may call zero or more functions. If no function calls are needed, just answer normally and do not include any <function ... </function>.\n- When calling a function, return an XML object within <function ... </function> using:\n<function name="function-name"><param name="param-name">param-value</param></function>\n- param-value may be multi-line. If it contains <, & or newline characters, wrap it in a CDATA block: <param name="param-name"><![CDATA[...multi-line value...]]></param>' }}
|
||||
{%- endset %}
|
||||
|
||||
{{- '<|im_start|>system\n' }}
|
||||
{%- if messages[0].role == 'system' %}
|
||||
{%- if '<tool_def_sep>' in messages[0].content %}
|
||||
{{- messages[0].content.replace('<tool_def_sep>', tool_definitions) }}
|
||||
{%- else %}
|
||||
{{- messages[0].content + '\n\n' + tool_definitions }}
|
||||
{%- endif %}
|
||||
{%- else %}
|
||||
{{- tool_definitions.lstrip() }}
|
||||
{%- endif %}
|
||||
{{- '<|im_end|>\n' }}
|
||||
{%- else %}
|
||||
{%- if messages[0].role == 'system' %}
|
||||
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
||||
{%- for message in messages[::-1] %}
|
||||
{%- set index = (messages|length - 1) - loop.index0 %}
|
||||
{%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
|
||||
{%- set ns.multi_step_tool = false %}
|
||||
{%- set ns.last_query_index = index %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- for message in messages %}
|
||||
{%- if message.content is string %}
|
||||
{%- set content = message.content %}
|
||||
{%- else %}
|
||||
{%- set content = '' %}
|
||||
{%- endif %}
|
||||
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
||||
{%- elif message.role == "assistant" %}
|
||||
{%- set reasoning_content = '' %}
|
||||
{%- if message.reasoning_content is string %}
|
||||
{%- set reasoning_content = message.reasoning_content %}
|
||||
{%- else %}
|
||||
{%- if '</think>' in content %}
|
||||
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
||||
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
|
||||
{%- if message.tool_calls %}
|
||||
{%- set content_parts = content.split('<tool_sep>') %}
|
||||
{%- set processed_content = content_parts[0] %}
|
||||
{%- set tool_calls_count = message.tool_calls|length %}
|
||||
{%- set tool_sep_count = content_parts|length - 1 %}
|
||||
{%- set min_count = [tool_calls_count, tool_sep_count]|min %}
|
||||
|
||||
{%- for i in range(1, content_parts|length) %}
|
||||
{%- set tool_index = i - 1 %}
|
||||
{%- if tool_index < tool_calls_count %}
|
||||
{%- set tool_call = message.tool_calls[tool_index] %}
|
||||
{%- if tool_call.function %}
|
||||
{%- set tool_call = tool_call.function %}
|
||||
{%- endif %}
|
||||
{%- set single_tool_xml %}
|
||||
{{- '<function name="' ~ tool_call.name ~ '">' }}
|
||||
{%- if tool_call.arguments %}
|
||||
{%- set args_dict = tool_call.arguments %}
|
||||
{%- for param_name, param_value in args_dict.items() %}
|
||||
{{- '<param name="' ~ param_name ~ '">' }}
|
||||
{%- if param_value is string and ('<' in param_value or '&' in param_value or '\n' in param_value) %}
|
||||
{{- '<![CDATA[' + param_value + ']]>' }}
|
||||
{%- else %}
|
||||
{{- param_value }}
|
||||
{%- endif %}
|
||||
{{- '</param>' }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{{- '</function>' }}
|
||||
{%- endset %}
|
||||
{%- set processed_content = processed_content + single_tool_xml + content_parts[i] %}
|
||||
{%- else %}
|
||||
{%- set processed_content = processed_content + content_parts[i] %}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
|
||||
{%- if tool_calls_count > tool_sep_count %}
|
||||
{%- for remaining_index in range(tool_sep_count, tool_calls_count) %}
|
||||
{%- set tool_call = message.tool_calls[remaining_index] %}
|
||||
{%- if tool_call.function %}
|
||||
{%- set tool_call = tool_call.function %}
|
||||
{%- endif %}
|
||||
{%- set remaining_tool_xml %}
|
||||
{{- '<function name="' ~ tool_call.name ~ '">' }}
|
||||
{%- if tool_call.arguments %}
|
||||
{%- set args_dict = tool_call.arguments %}
|
||||
{%- for param_name, param_value in args_dict.items() %}
|
||||
{{- '<param name="' ~ param_name ~ '">' }}
|
||||
{%- if param_value is string and ('<' in param_value or '&' in param_value or '\n' in param_value) %}
|
||||
{{- '<![CDATA[' + param_value + ']]>' }}
|
||||
{%- else %}
|
||||
{{- param_value }}
|
||||
{%- endif %}
|
||||
{{- '</param>' }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{{- '</function>' }}
|
||||
{%- endset %}
|
||||
{%- set processed_content = processed_content + remaining_tool_xml %}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
|
||||
{%- set content = processed_content %}
|
||||
{%- endif %}
|
||||
|
||||
{%- if loop.index0 > ns.last_query_index %}
|
||||
{%- if reasoning_content %}
|
||||
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
|
||||
{%- else %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + content }}
|
||||
{%- endif %}
|
||||
{%- else %}
|
||||
{{- '<|im_start|>' + message.role + '\n' + content }}
|
||||
{%- endif %}
|
||||
|
||||
{%- if message.tool_calls and not has_tool_sep %}
|
||||
{%- for tool_call in message.tool_calls %}
|
||||
{%- if (loop.first and content) or (not loop.first) %}
|
||||
{{- '\n' }}
|
||||
{%- endif %}
|
||||
{%- if tool_call.function %}
|
||||
{%- set tool_call = tool_call.function %}
|
||||
{%- endif %}
|
||||
{{- '<function name="' ~ tool_call.name ~ '">' }}
|
||||
{%- if tool_call.arguments %}
|
||||
{%- set args_dict = tool_call.arguments %}
|
||||
{%- for param_name, param_value in args_dict.items() %}
|
||||
{{- '<param name="' ~ param_name ~ '">' }}
|
||||
{%- if param_value is string and ('<' in param_value or '&' in param_value or '\n' in param_value) %}
|
||||
{{- '<![CDATA[' + param_value + ']]>' }}
|
||||
{%- else %}
|
||||
{{- param_value }}
|
||||
{%- endif %}
|
||||
{{- '</param>' }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{{- '</function>' }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{{- '<|im_end|>\n' }}
|
||||
{%- elif message.role == "tool" %}
|
||||
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
||||
{{- '<|im_start|>user' }}
|
||||
{%- endif %}
|
||||
{{- '\n<tool_response>\n' }}
|
||||
{%- if message.content is string %}
|
||||
{{- content }}
|
||||
{%- else %}
|
||||
{{- message.content | tojson(ensure_ascii=False) }}
|
||||
{%- endif %}
|
||||
{{- '\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' }}
|
||||
{%- if enable_thinking is defined %}
|
||||
{%- if enable_thinking is false %}
|
||||
{{- '<think>\n\n</think>\n\n' }}
|
||||
{%- elif enable_thinking is true %}
|
||||
{{- '<think>\n' }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
35
config.json
Normal file
35
config.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"architectures": [
|
||||
"LlamaForCausalLM"
|
||||
],
|
||||
"attention_bias": false,
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 0,
|
||||
"torch_dtype": "bfloat16",
|
||||
"eos_token_id": [
|
||||
1,
|
||||
130073
|
||||
],
|
||||
"head_dim": 128,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 1536,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 4608,
|
||||
"max_position_embeddings": 131072,
|
||||
"mlp_bias": false,
|
||||
"model_type": "llama",
|
||||
"num_attention_heads": 16,
|
||||
"num_hidden_layers": 24,
|
||||
"num_key_value_heads": 2,
|
||||
"pad_token_id": 130559,
|
||||
"pretraining_tp": 1,
|
||||
"rms_norm_eps": 1e-06,
|
||||
"rope_parameters": {
|
||||
"rope_theta": 5000000,
|
||||
"rope_type": "default"
|
||||
},
|
||||
"tie_word_embeddings": false,
|
||||
"unsloth_version": "2026.6.7",
|
||||
"use_cache": false,
|
||||
"vocab_size": 130560
|
||||
}
|
||||
14
generation_config.json
Normal file
14
generation_config.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 0,
|
||||
"do_sample": true,
|
||||
"eos_token_id": [
|
||||
1,
|
||||
130073
|
||||
],
|
||||
"max_length": 131072,
|
||||
"pad_token_id": 130559,
|
||||
"temperature": 0.9,
|
||||
"top_p": 0.95,
|
||||
"transformers_version": "5.5.0"
|
||||
}
|
||||
3
model-00000-of-00001.safetensors
Normal file
3
model-00000-of-00001.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:521254892be43a72d0650b77ab465b96f85b1cc3a6c1415baba935086eb0cdad
|
||||
size 2161290912
|
||||
226
model.safetensors.index.json
Normal file
226
model.safetensors.index.json
Normal file
@@ -0,0 +1,226 @@
|
||||
{
|
||||
"metadata": {
|
||||
"total_size": 2161265664
|
||||
},
|
||||
"weight_map": {
|
||||
"model.embed_tokens.weight": "model-00000-of-00001.safetensors",
|
||||
"lm_head.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.0.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.1.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.2.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.3.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.4.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.5.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.6.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.7.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.8.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.9.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.10.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.11.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.12.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.13.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.14.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.15.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.16.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.17.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.18.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.19.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.20.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.21.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.22.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.23.self_attn.o_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.0.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.0.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.0.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.1.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.1.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.1.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.2.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.2.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.2.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.3.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.3.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.3.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.4.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.4.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.4.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.5.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.5.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.5.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.6.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.6.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.6.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.7.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.7.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.7.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.8.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.8.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.8.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.9.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.9.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.9.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.10.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.10.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.10.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.11.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.11.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.11.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.12.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.12.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.12.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.13.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.13.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.13.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.14.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.14.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.14.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.15.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.15.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.15.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.16.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.16.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.16.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.17.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.17.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.17.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.18.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.18.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.18.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.19.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.19.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.19.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.20.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.20.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.20.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.21.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.21.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.21.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.22.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.22.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.22.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.23.self_attn.q_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.23.self_attn.k_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.23.self_attn.v_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.0.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.0.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.1.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.1.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.2.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.2.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.3.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.3.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.4.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.4.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.5.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.5.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.6.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.6.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.7.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.7.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.8.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.8.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.9.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.9.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.10.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.10.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.11.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.11.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.12.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.12.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.13.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.13.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.14.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.14.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.15.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.15.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.16.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.16.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.17.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.17.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.18.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.18.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.19.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.19.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.20.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.20.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.21.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.21.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.22.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.22.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.23.mlp.gate_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.23.mlp.up_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.0.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.1.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.2.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.3.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.4.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.5.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.6.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.7.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.8.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.9.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.10.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.11.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.12.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.13.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.14.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.15.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.16.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.17.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.18.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.19.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.20.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.21.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.22.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.23.mlp.down_proj.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.0.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.1.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.2.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.3.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.4.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.5.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.6.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.7.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.8.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.9.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.10.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.11.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.12.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.13.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.14.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.15.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.16.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.17.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.18.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.19.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.20.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.21.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.22.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.23.input_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.0.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.1.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.2.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.3.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.4.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.5.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.6.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.7.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.8.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.9.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.10.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.11.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.12.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.13.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.14.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.15.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.16.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.17.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.18.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.19.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.20.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.21.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.22.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.layers.23.post_attention_layernorm.weight": "model-00000-of-00001.safetensors",
|
||||
"model.norm.weight": "model-00000-of-00001.safetensors"
|
||||
}
|
||||
}
|
||||
653947
tokenizer.json
Normal file
653947
tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
4101
tokenizer_config.json
Normal file
4101
tokenizer_config.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user