Upload MLX converted model with quantization settings
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- README.md +42 -0
- chat_template.jinja +46 -0
- config.json +126 -0
- configuration_deepseek.py +212 -0
- generation_config.json +4 -0
- model-00001-of-00109.safetensors +3 -0
- model-00002-of-00109.safetensors +3 -0
- model-00003-of-00109.safetensors +3 -0
- model-00004-of-00109.safetensors +3 -0
- model-00005-of-00109.safetensors +3 -0
- model-00006-of-00109.safetensors +3 -0
- model-00007-of-00109.safetensors +3 -0
- model-00008-of-00109.safetensors +3 -0
- model-00009-of-00109.safetensors +3 -0
- model-00010-of-00109.safetensors +3 -0
- model-00011-of-00109.safetensors +3 -0
- model-00012-of-00109.safetensors +3 -0
- model-00013-of-00109.safetensors +3 -0
- model-00014-of-00109.safetensors +3 -0
- model-00015-of-00109.safetensors +3 -0
- model-00016-of-00109.safetensors +3 -0
- model-00017-of-00109.safetensors +3 -0
- model-00018-of-00109.safetensors +3 -0
- model-00019-of-00109.safetensors +3 -0
- model-00020-of-00109.safetensors +3 -0
- model-00021-of-00109.safetensors +3 -0
- model-00022-of-00109.safetensors +3 -0
- model-00023-of-00109.safetensors +3 -0
- model-00024-of-00109.safetensors +3 -0
- model-00025-of-00109.safetensors +3 -0
- model-00026-of-00109.safetensors +3 -0
- model-00027-of-00109.safetensors +3 -0
- model-00028-of-00109.safetensors +3 -0
- model-00029-of-00109.safetensors +3 -0
- model-00030-of-00109.safetensors +3 -0
- model-00031-of-00109.safetensors +3 -0
- model-00032-of-00109.safetensors +3 -0
- model-00033-of-00109.safetensors +3 -0
- model-00034-of-00109.safetensors +3 -0
- model-00035-of-00109.safetensors +3 -0
- model-00036-of-00109.safetensors +3 -0
- model-00037-of-00109.safetensors +3 -0
- model-00038-of-00109.safetensors +3 -0
- model-00039-of-00109.safetensors +3 -0
- model-00040-of-00109.safetensors +3 -0
- model-00041-of-00109.safetensors +3 -0
- model-00042-of-00109.safetensors +3 -0
- model-00043-of-00109.safetensors +3 -0
- model-00044-of-00109.safetensors +3 -0
- model-00045-of-00109.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: modified-mit
|
| 4 |
+
library_name: transformers
|
| 5 |
+
base_model: moonshotai/Kimi-K2-Instruct-0905
|
| 6 |
+
tags:
|
| 7 |
+
- mlx
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# cs2764/Kimi-K2-Instruct-0905-mlx-3Bit-gs32
|
| 11 |
+
|
| 12 |
+
The Model [cs2764/Kimi-K2-Instruct-0905-mlx-3Bit-gs32](https://huggingface.co/cs2764/Kimi-K2-Instruct-0905-mlx-3Bit-gs32) was converted to MLX format from [moonshotai/Kimi-K2-Instruct-0905](https://huggingface.co/moonshotai/Kimi-K2-Instruct-0905) using mlx-lm version **0.28.0**.
|
| 13 |
+
|
| 14 |
+
## Quantization Details
|
| 15 |
+
|
| 16 |
+
This model was converted with the following quantization settings:
|
| 17 |
+
|
| 18 |
+
- **Quantization Strategy**: 3-bit quantization
|
| 19 |
+
- **Group Size**: 32
|
| 20 |
+
- **Average bits per weight**: 4.002
|
| 21 |
+
|
| 22 |
+
## Use with mlx
|
| 23 |
+
|
| 24 |
+
```bash
|
| 25 |
+
pip install mlx-lm
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
```python
|
| 29 |
+
from mlx_lm import load, generate
|
| 30 |
+
|
| 31 |
+
model, tokenizer = load("cs2764/Kimi-K2-Instruct-0905-mlx-3Bit-gs32")
|
| 32 |
+
|
| 33 |
+
prompt="hello"
|
| 34 |
+
|
| 35 |
+
if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
|
| 36 |
+
messages = [{"role": "user", "content": prompt}]
|
| 37 |
+
prompt = tokenizer.apply_chat_template(
|
| 38 |
+
messages, tokenize=False, add_generation_prompt=True
|
| 39 |
+
)
|
| 40 |
+
|
| 41 |
+
response = generate(model, tokenizer, prompt=prompt, verbose=True)
|
| 42 |
+
```
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools -%}
|
| 2 |
+
<|im_system|>tool_declare<|im_middle|>
|
| 3 |
+
# Tools
|
| 4 |
+
{{ tools | tojson }}<|im_end|>
|
| 5 |
+
{%- endif -%}
|
| 6 |
+
{%- for message in messages -%}
|
| 7 |
+
{%- if loop.first and messages[0]['role'] != 'system' -%}
|
| 8 |
+
<|im_system|>system<|im_middle|>You are Kimi, an AI assistant created by Moonshot AI.<|im_end|>
|
| 9 |
+
{%- endif -%}
|
| 10 |
+
|
| 11 |
+
{%- set role_name = message.get('name') or message['role'] -%}
|
| 12 |
+
{%- if message['role'] == 'user' -%}
|
| 13 |
+
<|im_user|>{{role_name}}<|im_middle|>
|
| 14 |
+
{%- elif message['role'] == 'assistant' -%}
|
| 15 |
+
<|im_assistant|>{{role_name}}<|im_middle|>
|
| 16 |
+
{%- else -%}
|
| 17 |
+
<|im_system|>{{role_name}}<|im_middle|>
|
| 18 |
+
{% endif %}
|
| 19 |
+
|
| 20 |
+
{%- if message['role'] == 'assistant' and message.get('tool_calls') -%}
|
| 21 |
+
{%- if message['content'] -%}{{ message['content'] }}{%- endif -%}
|
| 22 |
+
<|tool_calls_section_begin|>
|
| 23 |
+
{%- for tool_call in message['tool_calls'] -%}
|
| 24 |
+
{%- set formatted_id = tool_call['id'] -%}
|
| 25 |
+
<|tool_call_begin|>{{ formatted_id }}<|tool_call_argument_begin|>{% if tool_call['function']['arguments'] is string %}{{ tool_call['function']['arguments'] }}{% else %}{{ tool_call['function']['arguments'] | tojson }}{% endif %}<|tool_call_end|>
|
| 26 |
+
{%- endfor -%}
|
| 27 |
+
<|tool_calls_section_end|>
|
| 28 |
+
{%- elif message['role'] == 'tool' -%}
|
| 29 |
+
## Return of {{ message.tool_call_id }}
|
| 30 |
+
{{ message['content'] }}
|
| 31 |
+
{%- elif message['content'] is string -%}
|
| 32 |
+
{{ message['content'] }}
|
| 33 |
+
{%- elif message['content'] is not none -%}
|
| 34 |
+
{% for content in message['content'] -%}
|
| 35 |
+
{% if content['type'] == 'image' or 'image' in content or 'image_url' in content -%}
|
| 36 |
+
<|media_start|>image<|media_content|><|media_pad|><|media_end|>
|
| 37 |
+
{% else -%}
|
| 38 |
+
{{ content['text'] }}
|
| 39 |
+
{%- endif -%}
|
| 40 |
+
{%- endfor -%}
|
| 41 |
+
{%- endif -%}
|
| 42 |
+
<|im_end|>
|
| 43 |
+
{%- endfor -%}
|
| 44 |
+
{%- if add_generation_prompt -%}
|
| 45 |
+
<|im_assistant|>assistant<|im_middle|>
|
| 46 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_attn_implementation_autoset": false,
|
| 3 |
+
"add_cross_attention": false,
|
| 4 |
+
"architectures": [
|
| 5 |
+
"DeepseekV3ForCausalLM"
|
| 6 |
+
],
|
| 7 |
+
"attention_bias": false,
|
| 8 |
+
"attention_dropout": 0.0,
|
| 9 |
+
"auto_map": {
|
| 10 |
+
"AutoConfig": "configuration_deepseek.DeepseekV3Config",
|
| 11 |
+
"AutoModel": "modeling_deepseek.DeepseekV3Model",
|
| 12 |
+
"AutoModelForCausalLM": "modeling_deepseek.DeepseekV3ForCausalLM"
|
| 13 |
+
},
|
| 14 |
+
"aux_loss_alpha": 0.001,
|
| 15 |
+
"bad_words_ids": null,
|
| 16 |
+
"begin_suppress_tokens": null,
|
| 17 |
+
"bos_token_id": 163584,
|
| 18 |
+
"chunk_size_feed_forward": 0,
|
| 19 |
+
"cross_attention_hidden_size": null,
|
| 20 |
+
"decoder_start_token_id": null,
|
| 21 |
+
"diversity_penalty": 0.0,
|
| 22 |
+
"do_sample": false,
|
| 23 |
+
"early_stopping": false,
|
| 24 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 25 |
+
"eos_token_id": 163585,
|
| 26 |
+
"ep_size": 1,
|
| 27 |
+
"exponential_decay_length_penalty": null,
|
| 28 |
+
"finetuning_task": null,
|
| 29 |
+
"first_k_dense_replace": 1,
|
| 30 |
+
"forced_bos_token_id": null,
|
| 31 |
+
"forced_eos_token_id": null,
|
| 32 |
+
"hidden_act": "silu",
|
| 33 |
+
"hidden_size": 7168,
|
| 34 |
+
"id2label": {
|
| 35 |
+
"0": "LABEL_0",
|
| 36 |
+
"1": "LABEL_1"
|
| 37 |
+
},
|
| 38 |
+
"initializer_range": 0.02,
|
| 39 |
+
"intermediate_size": 18432,
|
| 40 |
+
"is_decoder": false,
|
| 41 |
+
"is_encoder_decoder": false,
|
| 42 |
+
"kv_lora_rank": 512,
|
| 43 |
+
"label2id": {
|
| 44 |
+
"LABEL_0": 0,
|
| 45 |
+
"LABEL_1": 1
|
| 46 |
+
},
|
| 47 |
+
"length_penalty": 1.0,
|
| 48 |
+
"max_length": 20,
|
| 49 |
+
"max_position_embeddings": 262144,
|
| 50 |
+
"min_length": 0,
|
| 51 |
+
"model_type": "kimi_k2",
|
| 52 |
+
"moe_intermediate_size": 2048,
|
| 53 |
+
"moe_layer_freq": 1,
|
| 54 |
+
"n_group": 1,
|
| 55 |
+
"n_routed_experts": 384,
|
| 56 |
+
"n_shared_experts": 1,
|
| 57 |
+
"no_repeat_ngram_size": 0,
|
| 58 |
+
"norm_topk_prob": true,
|
| 59 |
+
"num_attention_heads": 64,
|
| 60 |
+
"num_beam_groups": 1,
|
| 61 |
+
"num_beams": 1,
|
| 62 |
+
"num_experts_per_tok": 8,
|
| 63 |
+
"num_hidden_layers": 61,
|
| 64 |
+
"num_key_value_heads": 64,
|
| 65 |
+
"num_nextn_predict_layers": 0,
|
| 66 |
+
"num_return_sequences": 1,
|
| 67 |
+
"output_attentions": false,
|
| 68 |
+
"output_hidden_states": false,
|
| 69 |
+
"output_scores": false,
|
| 70 |
+
"pad_token_id": 163839,
|
| 71 |
+
"prefix": null,
|
| 72 |
+
"pretraining_tp": 1,
|
| 73 |
+
"problem_type": null,
|
| 74 |
+
"pruned_heads": {},
|
| 75 |
+
"q_lora_rank": 1536,
|
| 76 |
+
"qk_nope_head_dim": 128,
|
| 77 |
+
"qk_rope_head_dim": 64,
|
| 78 |
+
"quantization": {
|
| 79 |
+
"group_size": 32,
|
| 80 |
+
"bits": 3,
|
| 81 |
+
"mode": "affine"
|
| 82 |
+
},
|
| 83 |
+
"quantization_config": {
|
| 84 |
+
"group_size": 32,
|
| 85 |
+
"bits": 3,
|
| 86 |
+
"mode": "affine"
|
| 87 |
+
},
|
| 88 |
+
"remove_invalid_values": false,
|
| 89 |
+
"repetition_penalty": 1.0,
|
| 90 |
+
"return_dict": true,
|
| 91 |
+
"return_dict_in_generate": false,
|
| 92 |
+
"rms_norm_eps": 1e-05,
|
| 93 |
+
"rope_scaling": {
|
| 94 |
+
"beta_fast": 1.0,
|
| 95 |
+
"beta_slow": 1.0,
|
| 96 |
+
"factor": 64.0,
|
| 97 |
+
"mscale": 1.0,
|
| 98 |
+
"mscale_all_dim": 1.0,
|
| 99 |
+
"original_max_position_embeddings": 4096,
|
| 100 |
+
"type": "yarn"
|
| 101 |
+
},
|
| 102 |
+
"rope_theta": 50000.0,
|
| 103 |
+
"routed_scaling_factor": 2.827,
|
| 104 |
+
"scoring_func": "sigmoid",
|
| 105 |
+
"sep_token_id": null,
|
| 106 |
+
"seq_aux": true,
|
| 107 |
+
"suppress_tokens": null,
|
| 108 |
+
"task_specific_params": null,
|
| 109 |
+
"temperature": 1.0,
|
| 110 |
+
"tf_legacy_loss": false,
|
| 111 |
+
"tie_encoder_decoder": false,
|
| 112 |
+
"tie_word_embeddings": false,
|
| 113 |
+
"tokenizer_class": null,
|
| 114 |
+
"top_k": 50,
|
| 115 |
+
"top_p": 1.0,
|
| 116 |
+
"topk_group": 1,
|
| 117 |
+
"topk_method": "noaux_tc",
|
| 118 |
+
"torch_dtype": "bfloat16",
|
| 119 |
+
"torchscript": false,
|
| 120 |
+
"transformers_version": "4.51.3",
|
| 121 |
+
"typical_p": 1.0,
|
| 122 |
+
"use_bfloat16": false,
|
| 123 |
+
"use_cache": true,
|
| 124 |
+
"v_head_dim": 128,
|
| 125 |
+
"vocab_size": 163840
|
| 126 |
+
}
|
configuration_deepseek.py
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copy from https://huggingface.co/deepseek-ai/DeepSeek-V3/blob/main/configuration_deepseek.py
|
| 2 |
+
|
| 3 |
+
from transformers.configuration_utils import PretrainedConfig
|
| 4 |
+
from transformers.utils import logging
|
| 5 |
+
|
| 6 |
+
logger = logging.get_logger(__name__)
|
| 7 |
+
|
| 8 |
+
DEEPSEEK_PRETRAINED_CONFIG_ARCHIVE_MAP = {}
|
| 9 |
+
class DeepseekV3Config(PretrainedConfig):
|
| 10 |
+
r"""
|
| 11 |
+
This is the configuration class to store the configuration of a [`DeepseekV3Model`]. It is used to instantiate an DeepSeek
|
| 12 |
+
model according to the specified arguments, defining the model architecture. Instantiating a configuration with the
|
| 13 |
+
defaults will yield a similar configuration to that of the DeepSeek-V3.
|
| 14 |
+
|
| 15 |
+
Configuration objects inherit from [`PretrainedConfig`] and can be used to control the model outputs. Read the
|
| 16 |
+
documentation from [`PretrainedConfig`] for more information.
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
Args:
|
| 20 |
+
vocab_size (`int`, *optional*, defaults to 129280):
|
| 21 |
+
Vocabulary size of the Deep model. Defines the number of different tokens that can be represented by the
|
| 22 |
+
`inputs_ids` passed when calling [`DeepseekV3Model`]
|
| 23 |
+
hidden_size (`int`, *optional*, defaults to 4096):
|
| 24 |
+
Dimension of the hidden representations.
|
| 25 |
+
intermediate_size (`int`, *optional*, defaults to 11008):
|
| 26 |
+
Dimension of the MLP representations.
|
| 27 |
+
moe_intermediate_size (`int`, *optional*, defaults to 1407):
|
| 28 |
+
Dimension of the MoE representations.
|
| 29 |
+
num_hidden_layers (`int`, *optional*, defaults to 32):
|
| 30 |
+
Number of hidden layers in the Transformer decoder.
|
| 31 |
+
num_nextn_predict_layers (`int`, *optional*, defaults to 1):
|
| 32 |
+
Number of nextn predict layers in the DeepSeekV3 Model.
|
| 33 |
+
num_attention_heads (`int`, *optional*, defaults to 32):
|
| 34 |
+
Number of attention heads for each attention layer in the Transformer decoder.
|
| 35 |
+
n_shared_experts (`int`, *optional*, defaults to None):
|
| 36 |
+
Number of shared experts, None means dense model.
|
| 37 |
+
n_routed_experts (`int`, *optional*, defaults to None):
|
| 38 |
+
Number of routed experts, None means dense model.
|
| 39 |
+
routed_scaling_factor (`float`, *optional*, defaults to 1.0):
|
| 40 |
+
Scaling factor or routed experts.
|
| 41 |
+
topk_method (`str`, *optional*, defaults to `gready`):
|
| 42 |
+
Topk method used in routed gate.
|
| 43 |
+
n_group (`int`, *optional*, defaults to None):
|
| 44 |
+
Number of groups for routed experts.
|
| 45 |
+
topk_group (`int`, *optional*, defaults to None):
|
| 46 |
+
Number of selected groups for each token(for each token, ensuring the selected experts is only within `topk_group` groups).
|
| 47 |
+
num_experts_per_tok (`int`, *optional*, defaults to None):
|
| 48 |
+
Number of selected experts, None means dense model.
|
| 49 |
+
moe_layer_freq (`int`, *optional*, defaults to 1):
|
| 50 |
+
The frequency of the MoE layer: one expert layer for every `moe_layer_freq - 1` dense layers.
|
| 51 |
+
first_k_dense_replace (`int`, *optional*, defaults to 0):
|
| 52 |
+
Number of dense layers in shallow layers(embed->dense->dense->...->dense->moe->moe...->lm_head).
|
| 53 |
+
\--k dense layers--/
|
| 54 |
+
norm_topk_prob (`bool`, *optional*, defaults to False):
|
| 55 |
+
Whether to normalize the weights of the routed experts.
|
| 56 |
+
scoring_func (`str`, *optional*, defaults to 'softmax'):
|
| 57 |
+
Method of computing expert weights.
|
| 58 |
+
aux_loss_alpha (`float`, *optional*, defaults to 0.001):
|
| 59 |
+
Auxiliary loss weight coefficient.
|
| 60 |
+
seq_aux = (`bool`, *optional*, defaults to True):
|
| 61 |
+
Whether to compute the auxiliary loss for each individual sample.
|
| 62 |
+
num_key_value_heads (`int`, *optional*):
|
| 63 |
+
This is the number of key_value heads that should be used to implement Grouped Query Attention. If
|
| 64 |
+
`num_key_value_heads=num_attention_heads`, the model will use Multi Head Attention (MHA), if
|
| 65 |
+
`num_key_value_heads=1 the model will use Multi Query Attention (MQA) otherwise GQA is used. When
|
| 66 |
+
converting a multi-head checkpoint to a GQA checkpoint, each group key and value head should be constructed
|
| 67 |
+
by meanpooling all the original heads within that group. For more details checkout [this
|
| 68 |
+
paper](https://arxiv.org/pdf/2305.13245.pdf). If it is not specified, will default to
|
| 69 |
+
`num_attention_heads`.
|
| 70 |
+
hidden_act (`str` or `function`, *optional*, defaults to `"silu"`):
|
| 71 |
+
The non-linear activation function (function or string) in the decoder.
|
| 72 |
+
max_position_embeddings (`int`, *optional*, defaults to 2048):
|
| 73 |
+
The maximum sequence length that this model might ever be used with.
|
| 74 |
+
initializer_range (`float`, *optional*, defaults to 0.02):
|
| 75 |
+
The standard deviation of the truncated_normal_initializer for initializing all weight matrices.
|
| 76 |
+
rms_norm_eps (`float`, *optional*, defaults to 1e-06):
|
| 77 |
+
The epsilon used by the rms normalization layers.
|
| 78 |
+
use_cache (`bool`, *optional*, defaults to `True`):
|
| 79 |
+
Whether or not the model should return the last key/values attentions (not used by all models). Only
|
| 80 |
+
relevant if `config.is_decoder=True`.
|
| 81 |
+
pad_token_id (`int`, *optional*):
|
| 82 |
+
Padding token id.
|
| 83 |
+
bos_token_id (`int`, *optional*, defaults to 1):
|
| 84 |
+
Beginning of stream token id.
|
| 85 |
+
eos_token_id (`int`, *optional*, defaults to 2):
|
| 86 |
+
End of stream token id.
|
| 87 |
+
pretraining_tp (`int`, *optional*, defaults to 1):
|
| 88 |
+
Experimental feature. Tensor parallelism rank used during pretraining. Please refer to [this
|
| 89 |
+
document](https://huggingface.co/docs/transformers/parallelism) to understand more about it. This value is
|
| 90 |
+
necessary to ensure exact reproducibility of the pretraining results. Please refer to [this
|
| 91 |
+
issue](https://github.com/pytorch/pytorch/issues/76232).
|
| 92 |
+
tie_word_embeddings (`bool`, *optional*, defaults to `False`):
|
| 93 |
+
Whether to tie weight embeddings
|
| 94 |
+
rope_theta (`float`, *optional*, defaults to 10000.0):
|
| 95 |
+
The base period of the RoPE embeddings.
|
| 96 |
+
rope_scaling (`Dict`, *optional*):
|
| 97 |
+
Dictionary containing the scaling configuration for the RoPE embeddings. Currently supports two scaling
|
| 98 |
+
strategies: linear and dynamic. Their scaling factor must be a float greater than 1. The expected format is
|
| 99 |
+
`{"type": strategy name, "factor": scaling factor}`. When using this flag, don't update
|
| 100 |
+
`max_position_embeddings` to the expected new maximum.
|
| 101 |
+
attention_bias (`bool`, defaults to `False`, *optional*, defaults to `False`):
|
| 102 |
+
Whether to use a bias in the query, key, value and output projection layers during self-attention.
|
| 103 |
+
attention_dropout (`float`, *optional*, defaults to 0.0):
|
| 104 |
+
The dropout ratio for the attention probabilities.
|
| 105 |
+
|
| 106 |
+
```python
|
| 107 |
+
>>> from transformers import DeepseekV3Model, DeepseekV3Config
|
| 108 |
+
|
| 109 |
+
>>> # Initializing a Deepseek-V3 style configuration
|
| 110 |
+
>>> configuration = DeepseekV3Config()
|
| 111 |
+
|
| 112 |
+
>>> # Accessing the model configuration
|
| 113 |
+
>>> configuration = model.config
|
| 114 |
+
```"""
|
| 115 |
+
|
| 116 |
+
model_type = "deepseek_v3"
|
| 117 |
+
keys_to_ignore_at_inference = ["past_key_values"]
|
| 118 |
+
|
| 119 |
+
def __init__(
|
| 120 |
+
self,
|
| 121 |
+
vocab_size=129280,
|
| 122 |
+
hidden_size=7168,
|
| 123 |
+
intermediate_size=18432,
|
| 124 |
+
moe_intermediate_size = 2048,
|
| 125 |
+
num_hidden_layers=61,
|
| 126 |
+
num_nextn_predict_layers=1,
|
| 127 |
+
num_attention_heads=128,
|
| 128 |
+
num_key_value_heads=128,
|
| 129 |
+
n_shared_experts = 1,
|
| 130 |
+
n_routed_experts = 256,
|
| 131 |
+
ep_size = 1,
|
| 132 |
+
routed_scaling_factor = 2.5,
|
| 133 |
+
kv_lora_rank = 512,
|
| 134 |
+
q_lora_rank = 1536,
|
| 135 |
+
qk_rope_head_dim = 64,
|
| 136 |
+
v_head_dim = 128,
|
| 137 |
+
qk_nope_head_dim = 128,
|
| 138 |
+
topk_method = 'noaux_tc',
|
| 139 |
+
n_group = 8,
|
| 140 |
+
topk_group = 4,
|
| 141 |
+
num_experts_per_tok = 8,
|
| 142 |
+
moe_layer_freq = 1,
|
| 143 |
+
first_k_dense_replace = 3,
|
| 144 |
+
norm_topk_prob = True,
|
| 145 |
+
scoring_func = 'sigmoid',
|
| 146 |
+
aux_loss_alpha = 0.001,
|
| 147 |
+
seq_aux = True,
|
| 148 |
+
hidden_act="silu",
|
| 149 |
+
max_position_embeddings=4096,
|
| 150 |
+
initializer_range=0.02,
|
| 151 |
+
rms_norm_eps=1e-6,
|
| 152 |
+
use_cache=True,
|
| 153 |
+
pad_token_id=None,
|
| 154 |
+
bos_token_id=0,
|
| 155 |
+
eos_token_id=1,
|
| 156 |
+
pretraining_tp=1,
|
| 157 |
+
tie_word_embeddings=False,
|
| 158 |
+
rope_theta=10000.0,
|
| 159 |
+
rope_scaling=None,
|
| 160 |
+
attention_bias=False,
|
| 161 |
+
attention_dropout=0.0,
|
| 162 |
+
**kwargs,
|
| 163 |
+
):
|
| 164 |
+
self.vocab_size = vocab_size
|
| 165 |
+
self.max_position_embeddings = max_position_embeddings
|
| 166 |
+
self.hidden_size = hidden_size
|
| 167 |
+
self.intermediate_size = intermediate_size
|
| 168 |
+
self.moe_intermediate_size = moe_intermediate_size
|
| 169 |
+
self.num_hidden_layers = num_hidden_layers
|
| 170 |
+
self.num_nextn_predict_layers = num_nextn_predict_layers
|
| 171 |
+
self.num_attention_heads = num_attention_heads
|
| 172 |
+
self.n_shared_experts = n_shared_experts
|
| 173 |
+
self.n_routed_experts = n_routed_experts
|
| 174 |
+
self.ep_size = ep_size
|
| 175 |
+
self.routed_scaling_factor = routed_scaling_factor
|
| 176 |
+
self.kv_lora_rank = kv_lora_rank
|
| 177 |
+
self.q_lora_rank = q_lora_rank
|
| 178 |
+
self.qk_rope_head_dim = qk_rope_head_dim
|
| 179 |
+
self.v_head_dim = v_head_dim
|
| 180 |
+
self.qk_nope_head_dim = qk_nope_head_dim
|
| 181 |
+
self.topk_method = topk_method
|
| 182 |
+
self.n_group = n_group
|
| 183 |
+
self.topk_group = topk_group
|
| 184 |
+
self.num_experts_per_tok = num_experts_per_tok
|
| 185 |
+
self.moe_layer_freq = moe_layer_freq
|
| 186 |
+
self.first_k_dense_replace = first_k_dense_replace
|
| 187 |
+
self.norm_topk_prob = norm_topk_prob
|
| 188 |
+
self.scoring_func = scoring_func
|
| 189 |
+
self.aux_loss_alpha = aux_loss_alpha
|
| 190 |
+
self.seq_aux = seq_aux
|
| 191 |
+
# for backward compatibility
|
| 192 |
+
if num_key_value_heads is None:
|
| 193 |
+
num_key_value_heads = num_attention_heads
|
| 194 |
+
|
| 195 |
+
self.num_key_value_heads = num_key_value_heads
|
| 196 |
+
self.hidden_act = hidden_act
|
| 197 |
+
self.initializer_range = initializer_range
|
| 198 |
+
self.rms_norm_eps = rms_norm_eps
|
| 199 |
+
self.pretraining_tp = pretraining_tp
|
| 200 |
+
self.use_cache = use_cache
|
| 201 |
+
self.rope_theta = rope_theta
|
| 202 |
+
self.rope_scaling = rope_scaling
|
| 203 |
+
self.attention_bias = attention_bias
|
| 204 |
+
self.attention_dropout = attention_dropout
|
| 205 |
+
|
| 206 |
+
super().__init__(
|
| 207 |
+
pad_token_id=pad_token_id,
|
| 208 |
+
bos_token_id=bos_token_id,
|
| 209 |
+
eos_token_id=eos_token_id,
|
| 210 |
+
tie_word_embeddings=tie_word_embeddings,
|
| 211 |
+
**kwargs,
|
| 212 |
+
)
|
generation_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_length": 131072,
|
| 3 |
+
"eos_token_id": 163586
|
| 4 |
+
}
|
model-00001-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0aafac8f2772e55fb9d30038f96555ef906d88900bae337f8f759b00042a1eb
|
| 3 |
+
size 3705120655
|
model-00002-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5cfb89d01e6444d344b71d43deb0726861df06cc82d837cfb4581d42d966b71d
|
| 3 |
+
size 5284823701
|
model-00003-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1081465f39fc4bc247476aae8933d49d73fdb03a4b85f541b8681be1edb049bd
|
| 3 |
+
size 5362947782
|
model-00004-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b1b989e98bcc8619cb1cd5892732f897b0aa6ee8e8f0e7aefc97d72042d4116e
|
| 3 |
+
size 3601340056
|
model-00005-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63e486f24af026838e1dc35199602e390732a4d57f1d21fe3eca73637f0bac0d
|
| 3 |
+
size 5284823702
|
model-00006-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50ff5e8d3e6cafe63eaa5e2f91a4650ed3372031f210ab3882b02c6d3f609a3c
|
| 3 |
+
size 5362947781
|
model-00007-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f90625b7411aac0e6542fea263d40f0d95bf9e392c4051299fe0ffe96a342286
|
| 3 |
+
size 3523216023
|
model-00008-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a2857841ceecc2bf6bdf4764600e50d5c68d19d8645c9aaba2f0c6aeb72ad90
|
| 3 |
+
size 5362947781
|
model-00009-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3451a4bd8d06023253975fd4fa0bbb385da71cd718925d0f5879885f4c68eba0
|
| 3 |
+
size 5284823704
|
model-00010-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd1e3f6c5537078feeb9619296b1ae6c051c748e8f23c3c8227331361064cb03
|
| 3 |
+
size 3601340102
|
model-00011-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45fc0598714c4e9377cc700ee7a922d2fbbb9f5154a6f501b6e80bded3fa9922
|
| 3 |
+
size 5284823703
|
model-00012-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:044e51786a003d17fde4a3cbfb7f7ce020495eb396e1a79b90cc7907fdd3307f
|
| 3 |
+
size 5362947778
|
model-00013-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af2f5487ac1e279273e761380d89437f009959631a8a9438589c1e05340cd280
|
| 3 |
+
size 3601340014
|
model-00014-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eaca4a54a4d9a22a64afd9096b7e65cfa953297e8cb6affddfb9e8e0d33ad45f
|
| 3 |
+
size 5284823704
|
model-00015-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85e26d9f4b40c21d0321e262d7aba84c3598b013e49769a5b73101ccda4586a5
|
| 3 |
+
size 5362947693
|
model-00016-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19094ff25a55efaa1a50109bc92d4ba28d435eda67065735f51020ae42ed47ab
|
| 3 |
+
size 3523216025
|
model-00017-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b897934b6a22325ee4986ae222e08e6e09ac68e2e53f5069141cfb52ddf9aa3
|
| 3 |
+
size 5362947802
|
model-00018-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f30607481a34fa055ee8feb725f52ae1531de8abf4db21c8377afe2421c62eb
|
| 3 |
+
size 5284823705
|
model-00019-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c4b499e2fb6084c32db858f9b2f6811e4849349464f0af7c2f0a8ac489488f1
|
| 3 |
+
size 3601340113
|
model-00020-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92e4f1d434bbc13f539772013237d3a5afe8bacf29e38197b76712fb67e40621
|
| 3 |
+
size 5284823706
|
model-00021-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed5201dfcefb8146f3a3dac73655b397a750f48c8eef4eecdf375e5ecc0c0736
|
| 3 |
+
size 5362947775
|
model-00022-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b928224a43609bada3a70350ce3b8748de9d63d96f72878862099aa49d1693d
|
| 3 |
+
size 3601340079
|
model-00023-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1539757e49858e406e4260eebc1f85ad7aace923a8b4c9276a391bc122bb3c41
|
| 3 |
+
size 5284823707
|
model-00024-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:484303cf7cbe740558956ff013c545998a09193244c98e388cfe8266fc93ac8c
|
| 3 |
+
size 5362947750
|
model-00025-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:430ce725564db6363c1630b1661b03265655fde762f9751d23d7137a25512928
|
| 3 |
+
size 3523216026
|
model-00026-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5ef20342b2876d8ba510970212525c56a920cf5d5263f996ee0114012c954f9
|
| 3 |
+
size 5362947794
|
model-00027-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4dd817417977afe845f4ba67ed6713cd6cf3c1508e97cf141d5287b64475d48
|
| 3 |
+
size 5284823709
|
model-00028-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0348d24c4ec71020f599ce0805c1bb26d16f6cfd83b87cefcfa1769aa552891
|
| 3 |
+
size 3601340135
|
model-00029-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:107cf2aeb522b46f6ec86d82a69f1085b76603f835a8b4f81af3f0bccdd33580
|
| 3 |
+
size 5284823708
|
model-00030-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5f91611fd7d16ba430284427a6a399d38feb7fa10617043a06df04da879fe03
|
| 3 |
+
size 5362947817
|
model-00031-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d496191af17819179510c2cbf0bdbe055069546bf1b6935bfd18852f8293c857
|
| 3 |
+
size 3601340031
|
model-00032-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ace9b608325cc2465ac5243abef3fa707aa19acc05469000cf83677841bbc11
|
| 3 |
+
size 5284823711
|
model-00033-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adb9bda4ac637153e153ae2f9d61e2e951ea9d4ee1026254ecc82d9e4cd983b0
|
| 3 |
+
size 5362947816
|
model-00034-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4954a66e5836037c9dd228cf77987325a3a21fe98aaf72e6a40d796e1987d6e2
|
| 3 |
+
size 3523216026
|
model-00035-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fff7a77440b2587ef3c433129eb7427a44d491be5dd617dc4302c2dd30a369ae
|
| 3 |
+
size 5362947816
|
model-00036-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5e45b9db9e78b1e5f1ac20cbed0decb5f0d6b2d093e810d54c5b114ffbf33bb
|
| 3 |
+
size 5284823709
|
model-00037-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab70db5c2e357c5a0d142cffd33e10271b44c728e63187f1157b1a403ba4d7a7
|
| 3 |
+
size 3601340123
|
model-00038-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65873dd054794f6b39b3a4ad3bc952144e7f272e53ea44a972b2f575afd6ccbd
|
| 3 |
+
size 5284823708
|
model-00039-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1416ece911016c2017d618b193ec25f0aafa5e2ff70c849659402e1fdc1e266e
|
| 3 |
+
size 5362947817
|
model-00040-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9dee871309766ee5d288207630195aee256157b097cab7a12d137227ab986286
|
| 3 |
+
size 3601340015
|
model-00041-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:519d7978ba441b08044fe34f5fa0643819cb0f82bba5ae3627bc7621053ffd87
|
| 3 |
+
size 5284823707
|
model-00042-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95ebf3c4ec8da67e1229254040178beea300bdb731bea2d2dab89da5a897d325
|
| 3 |
+
size 5362947742
|
model-00043-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1399666998f3ce4e32c5bc8ce3b854ab2859c956e2b969525574122f67cdb36
|
| 3 |
+
size 3523216026
|
model-00044-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62668a9741b8cf66b9cb52c31f20e6073d12b30ac54fe90460f65bd93d284d8c
|
| 3 |
+
size 5362947730
|
model-00045-of-00109.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3649f4c67227b59509bcf08fa1e6b59300478a30c4ad233502e37bfa56ee7d5b
|
| 3 |
+
size 5284823709
|