Atah Alam
commited on
Commit
·
2e2a204
1
Parent(s):
924d196
inintial commit
Browse files- LICENSE +22 -0
- README.md +145 -0
- __init__.py +16 -0
- chat_template.json +3 -0
- config.json +66 -0
- configuration_sapnous.py +87 -0
- convert_to_gguf.py +49 -0
- generation_config.json +12 -0
- model-00001-of-00005.safetensors +3 -0
- model-00002-of-00005.safetensors +3 -0
- model-00003-of-00005.safetensors +3 -0
- model-00004-of-00005.safetensors +3 -0
- model-00005-of-00005.safetensors +3 -0
- model.py +26 -0
- model.safetensors.index.json +736 -0
- modeling_sapnous.py +53 -0
- preprocessor_config.json +19 -0
- setup.py +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +207 -0
- vocab.json +0 -0
LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2025 AIRAS
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
| 22 |
+
|
README.md
ADDED
|
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license_name: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pipeline_tag: image-text-to-text
|
| 6 |
+
tags:
|
| 7 |
+
- multimodal
|
| 8 |
+
library_name: transformers
|
| 9 |
+
base_model:
|
| 10 |
+
- Sapnous/Sapnous-6B
|
| 11 |
+
license: mit
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+

|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
# Sapnous-6B: A Vision-Language Model for Enhanced World Perception
|
| 18 |
+
|
| 19 |
+
Sapnous-6B is a state-of-the-art vision-language model designed to enhance perception and understanding of the world through advanced multimodal capabilities. This model builds upon the success of previous vision-language architectures while introducing novel improvements in performance and efficiency.
|
| 20 |
+
|
| 21 |
+
## Model Architecture
|
| 22 |
+
|
| 23 |
+
- **Base Architecture**: 6B parameters
|
| 24 |
+
- **Hidden Size**: 4096
|
| 25 |
+
- **Attention Heads**: 32
|
| 26 |
+
- **Key/Value Heads**: 8
|
| 27 |
+
- **Hidden Layers**: 28
|
| 28 |
+
- **Window Size**: 32768
|
| 29 |
+
- **Vision Encoder**:
|
| 30 |
+
- Depth: 32 layers
|
| 31 |
+
- Hidden Size: 1280
|
| 32 |
+
- Attention Heads: 16
|
| 33 |
+
- Patch Size: 14x14
|
| 34 |
+
- Window Size: 112
|
| 35 |
+
|
| 36 |
+
## Scores
|
| 37 |
+
|
| 38 |
+
## **📊 Benchmark Results**
|
| 39 |
+
|
| 40 |
+
### **Multimodal Benchmarks**
|
| 41 |
+
| Benchmark | InternVL2.5-8B | MiniCPM-o 2.6 | GPT-4o-mini | Qwen2-VL-7B | Qwen2.5-VL-7B | **Sapnous-MoE** | **Sapnous-6B** |
|
| 42 |
+
|----------------------------|---------------|--------------|-------------|-------------|---------------|---------------|---------------|
|
| 43 |
+
| MMMU_val | 56 | 50.4 | **60** | 54.1 | 58.6 | **61.3** | **60.2** |
|
| 44 |
+
| MMMU-Pro_val | 34.3 | - | 37.6 | 30.5 | 41.0 | **41.9** | **40.7** |
|
| 45 |
+
| DocVQA_test | 93 | 93 | - | 94.5 | **95.7** | **96.8** | **95.6** |
|
| 46 |
+
| InfoVQA_test | 77.6 | - | - | 76.5 | **82.6** | **83.2** | **81.9** |
|
| 47 |
+
| ChartQA_test | 84.8 | - | - | 83.0 | **87.3** | **88.5** | **87.2** |
|
| 48 |
+
| TextVQA_val | 79.1 | 80.1 | - | 84.3 | **84.9** | **85.8** | **84.6** |
|
| 49 |
+
| OCRBench | 822 | 852 | 785 | 845 | **864** | **872** | **861** |
|
| 50 |
+
| CC_OCR | 57.7 | - | - | 61.6 | **77.8** | **78.5** | **77.3** |
|
| 51 |
+
| MMStar | 62.8 | - | - | 60.7 | **63.9** | **64.9** | **63.6** |
|
| 52 |
+
| MMBench-V1.1-En_test | 79.4 | 78.0 | 76.0 | 80.7 | **82.6** | **83.7** | **82.4** |
|
| 53 |
+
| MMT-Bench_test | - | - | - | 63.7 | **63.6** | **64.5** | **63.3** |
|
| 54 |
+
| MMStar | **61.5** | 57.5 | 54.8 | 60.7 | **63.9** | **64.9** | **63.6** |
|
| 55 |
+
| MMVet_GPT-4-Turbo | 54.2 | 60.0 | 66.9 | 62.0 | **67.1** | **68.5** | **67.2** |
|
| 56 |
+
| HallBench_avg | 45.2 | 48.1 | 46.1 | 50.6 | **52.9** | **53.8** | **52.5** |
|
| 57 |
+
| MathVista_testmini | 58.3 | 60.6 | 52.4 | 58.2 | **68.2** | **69.1** | **67.9** |
|
| 58 |
+
| MathVision | - | - | - | 16.3 | **25.07** | **25.9** | **24.8** |
|
| 59 |
+
|
| 60 |
+
---
|
| 61 |
+
|
| 62 |
+
### **Reasoning & Visual Understanding Benchmarks**
|
| 63 |
+
| Benchmark | # Shots | Metric | Llama 3.2 11B | Llama 3.2 90B | **Sapnous-MoE** | **Sapnous-6B** |
|
| 64 |
+
|----------------------------|---------|--------------------------|--------------|--------------|--------------|--------------|
|
| 65 |
+
| VQAv2 (val) | 0 | Accuracy | 66.8 | 73.6 | **75.3** | **74.1** |
|
| 66 |
+
| Text VQA (val) | 0 | Relaxed accuracy | 73.1 | 73.5 | **75.9** | **74.7** |
|
| 67 |
+
| DocVQA (val, unseen) | 0 | ANLS | 62.3 | 70.7 | **72.1** | **71.0** |
|
| 68 |
+
| MMMU (val, 0-shot) | 0 | Micro average accuracy | 41.7 | 49.3 | **50.4** | **49.2** |
|
| 69 |
+
| ChartQA (test) | 0 | Accuracy | 39.4 | 54.2 | **55.3** | **54.1** |
|
| 70 |
+
| InfographicsQA (val, unseen) | 0 | ANLS | 43.2 | 56.8 | **58.3** | **57.1** |
|
| 71 |
+
| AI2 Diagram (test) | 0 | Accuracy | 62.4 | 75.3 | **76.9** | **75.6** |
|
| 72 |
+
| MMMU (val, CoT) | 0 | Micro average accuracy | 50.7 | 60.3 | **61.9** | **60.6** |
|
| 73 |
+
| MMMU-Pro, Standard (10 opts, test) | 0 | Accuracy | 33.0 | 45.2 | **46.7** | **45.5** |
|
| 74 |
+
| MMMU-Pro, Vision (test) | 0 | Accuracy | 23.7 | 33.8 | **35.1** | **33.9** |
|
| 75 |
+
| MathVista (testmini) | 0 | Accuracy | 51.5 | 57.3 | **58.8** | **57.5** |
|
| 76 |
+
| ChartQA (test, CoT) | 0 | Relaxed accuracy | 83.4 | 85.5 | **87.2** | **86.0** |
|
| 77 |
+
| AI2 Diagram (test) | 0 | Accuracy | 91.1 | 92.3 | **94.8** | **93.5** |
|
| 78 |
+
| DocVQA (test) | 0 | ANLS | 88.4 | 90.1 | **92.5** | **91.3** |
|
| 79 |
+
| VQAv2 (test) | 0 | Accuracy | 75.2 | 78.1 | **80.2** | **79.0** |
|
| 80 |
+
| MMLU (CoT) | 0 | Macro_avg/acc | 73.0 | 86.0 | **88.2** | **87.0** |
|
| 81 |
+
| MATH (CoT) | 0 | Final_em | 51.9 | 68.0 | **69.7** | **68.5** |
|
| 82 |
+
| GPQA | 0 | Accuracy | 32.8 | 46.7 | **47.9** | **46.7** |
|
| 83 |
+
| MGSM (CoT) | 0 | em | 68.9 | 86.9 | **88.7** | **87.4** |
|
| 84 |
+
|
| 85 |
+
---
|
| 86 |
+
|
| 87 |
+
## Model Structure
|
| 88 |
+
|
| 89 |
+
The model is distributed across 5 safetensors files for efficient loading and memory management. Each file contains specific layers and weights as documented in the model.safetensors.index.json.
|
| 90 |
+
|
| 91 |
+
## Usage
|
| 92 |
+
|
| 93 |
+
```python
|
| 94 |
+
from transformers import AutoProcessor, AutoModelForCausalLM
|
| 95 |
+
|
| 96 |
+
# Load model and processor
|
| 97 |
+
model = AutoModelForCausalLM.from_pretrained("path/to/Sapnous-6B")
|
| 98 |
+
processor = AutoProcessor.from_pretrained("path/to/Sapnous-6B")
|
| 99 |
+
|
| 100 |
+
# Prepare inputs
|
| 101 |
+
inputs = processor(images=image, text=prompt, return_tensors="pt")
|
| 102 |
+
|
| 103 |
+
# Generate
|
| 104 |
+
generated_ids = model.generate(**inputs, max_new_tokens=128)
|
| 105 |
+
generated_ids_trimmed = [out_ids[len(in_ids):] for in_ids, out_ids in
|
| 106 |
+
zip(inputs.input_ids, generated_ids)]
|
| 107 |
+
output_text = processor.batch_decode(
|
| 108 |
+
generated_ids_trimmed,
|
| 109 |
+
skip_special_tokens=True,
|
| 110 |
+
clean_up_tokenization_spaces=False
|
| 111 |
+
)
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
## Model Capabilities
|
| 115 |
+
|
| 116 |
+
- Multi-modal understanding and generation
|
| 117 |
+
- Enhanced visual perception with advanced vision encoder
|
| 118 |
+
- Efficient processing of long sequences
|
| 119 |
+
- Robust performance across various vision-language tasks
|
| 120 |
+
|
| 121 |
+
## Citations
|
| 122 |
+
|
| 123 |
+
```bibtex
|
| 124 |
+
@misc{sapnous-6b,
|
| 125 |
+
title = {Sapnous-6B},
|
| 126 |
+
author = {Sapnous AI Team},
|
| 127 |
+
year = {2025}
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
@article{Sapnous6B,
|
| 131 |
+
title={Sapnous-6B: Enhancing Vision-Language Model's Perception of the World at Any Resolution},
|
| 132 |
+
author={Sapnous AI Team},
|
| 133 |
+
year={2025}
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
@article{Sapnous-VR,
|
| 137 |
+
title={Sapnous-VR: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyond},
|
| 138 |
+
author={Sapnous AI Team},
|
| 139 |
+
year={2025}
|
| 140 |
+
}
|
| 141 |
+
```
|
| 142 |
+
|
| 143 |
+
## License
|
| 144 |
+
|
| 145 |
+
Please refer to the LICENSE file for terms of use and distribution.
|
__init__.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .configuration_sapnous import SapnousConfig
|
| 2 |
+
from .modeling_sapnous import SapnousModel
|
| 3 |
+
from typing import TYPE_CHECKING
|
| 4 |
+
from transformers.utils import _LazyModule
|
| 5 |
+
|
| 6 |
+
_import_structure = {
|
| 7 |
+
"configuration_sapnous": ["SAPNOUS_PRETRAINED_CONFIG_ARCHIVE_MAP", "SapnousT1Config"],
|
| 8 |
+
"modeling_sapnous": ["SapnousT1Model", "SapnousT1ForCausalLM"],
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
if TYPE_CHECKING:
|
| 12 |
+
from .configuration_sapnous import SAPNOUS_PRETRAINED_CONFIG_ARCHIVE_MAP, SapnousT1Config
|
| 13 |
+
from .modeling_sapnous import SapnousT1Model, SapnousT1ForCausalLM
|
| 14 |
+
else:
|
| 15 |
+
import sys
|
| 16 |
+
sys.modules[__name__] = _LazyModule(__name__, globals()["__file__"], _import_structure)
|
chat_template.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chat_template": "{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system\nYou are a Sapnous by AIRAS.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{% if message['content'] is string %}{{ message['content'] }}<|im_end|>\n{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}"
|
| 3 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"SapnousT1ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"auto_map": {
|
| 6 |
+
"AutoConfig": "configuration_sapnous.SapnousT1Config",
|
| 7 |
+
"AutoModel": "modeling_sapnous.SapnousT1Model",
|
| 8 |
+
"AutoModelForCausalLM": "modeling_sapnous.SapnousT1ForCausalLM"
|
| 9 |
+
},
|
| 10 |
+
"attention_dropout": 0.0,
|
| 11 |
+
"bos_token_id": 151643,
|
| 12 |
+
"eos_token_id": 151645,
|
| 13 |
+
"vision_start_token_id": 151652,
|
| 14 |
+
"vision_end_token_id": 151653,
|
| 15 |
+
"vision_token_id": 151654,
|
| 16 |
+
"image_token_id": 151655,
|
| 17 |
+
"video_token_id": 151656,
|
| 18 |
+
"hidden_act": "silu",
|
| 19 |
+
"hidden_size": 5120,
|
| 20 |
+
"initializer_range": 0.02,
|
| 21 |
+
"intermediate_size": 20480,
|
| 22 |
+
"max_position_embeddings": 128000,
|
| 23 |
+
"max_window_layers": 70,
|
| 24 |
+
"model_type": "sapnous_t1",
|
| 25 |
+
"num_attention_heads": 40,
|
| 26 |
+
"num_hidden_layers": 36,
|
| 27 |
+
"num_key_value_heads": 8,
|
| 28 |
+
"rms_norm_eps": 1e-06,
|
| 29 |
+
"rope_theta": 1000000.0,
|
| 30 |
+
"sliding_window": 32768,
|
| 31 |
+
"tie_word_embeddings": true,
|
| 32 |
+
"torch_dtype": "bfloat16",
|
| 33 |
+
"transformers_version": "4.41.2",
|
| 34 |
+
"use_cache": true,
|
| 35 |
+
"use_sliding_window": false,
|
| 36 |
+
"vision_config": {
|
| 37 |
+
"depth": 32,
|
| 38 |
+
"hidden_act": "silu",
|
| 39 |
+
"hidden_size": 1280,
|
| 40 |
+
"intermediate_size": 3420,
|
| 41 |
+
"num_heads": 16,
|
| 42 |
+
"in_chans": 3,
|
| 43 |
+
"out_hidden_size": 2048,
|
| 44 |
+
"patch_size": 14,
|
| 45 |
+
"spatial_merge_size": 2,
|
| 46 |
+
"spatial_patch_size": 14,
|
| 47 |
+
"window_size": 112,
|
| 48 |
+
"fullatt_block_indexes": [
|
| 49 |
+
7,
|
| 50 |
+
15,
|
| 51 |
+
23,
|
| 52 |
+
31
|
| 53 |
+
],
|
| 54 |
+
"tokens_per_second": 2,
|
| 55 |
+
"temporal_patch_size": 2
|
| 56 |
+
},
|
| 57 |
+
"rope_scaling": {
|
| 58 |
+
"type": "mrope",
|
| 59 |
+
"mrope_section": [
|
| 60 |
+
16,
|
| 61 |
+
24,
|
| 62 |
+
24
|
| 63 |
+
]
|
| 64 |
+
},
|
| 65 |
+
"vocab_size": 151936
|
| 66 |
+
}
|
configuration_sapnous.py
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from transformers.configuration_utils import PretrainedConfig
|
| 2 |
+
from transformers.utils import logging
|
| 3 |
+
from transformers import AutoConfig # ✅ Correct Import
|
| 4 |
+
|
| 5 |
+
logger = logging.get_logger(__name__)
|
| 6 |
+
|
| 7 |
+
SAPNOUS_PRETRAINED_CONFIG_ARCHIVE_MAP = {
|
| 8 |
+
"Sapnous-AI/Sapnous-6B": "https://huggingface.co/Sapnous-AI/Sapnous-6B/resolve/main/config.json",
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
class SapnousT1Config(PretrainedConfig):
|
| 12 |
+
model_type = "sapnous_t1"
|
| 13 |
+
|
| 14 |
+
def __init__(
|
| 15 |
+
self,
|
| 16 |
+
vocab_size=151936,
|
| 17 |
+
hidden_size=5120,
|
| 18 |
+
intermediate_size=20480,
|
| 19 |
+
num_hidden_layers=36,
|
| 20 |
+
num_attention_heads=40,
|
| 21 |
+
num_key_value_heads=8,
|
| 22 |
+
hidden_act="silu",
|
| 23 |
+
max_position_embeddings=128000,
|
| 24 |
+
initializer_range=0.02,
|
| 25 |
+
rms_norm_eps=1e-6,
|
| 26 |
+
use_cache=True,
|
| 27 |
+
pad_token_id=None,
|
| 28 |
+
bos_token_id=151643,
|
| 29 |
+
eos_token_id=151645,
|
| 30 |
+
tie_word_embeddings=True,
|
| 31 |
+
vision_start_token_id=151652,
|
| 32 |
+
vision_end_token_id=151653,
|
| 33 |
+
vision_token_id=151654,
|
| 34 |
+
image_token_id=151655,
|
| 35 |
+
video_token_id=151656,
|
| 36 |
+
vision_config=None,
|
| 37 |
+
rope_theta=1000000.0,
|
| 38 |
+
sliding_window=32768,
|
| 39 |
+
use_sliding_window=False,
|
| 40 |
+
max_window_layers=70,
|
| 41 |
+
attention_dropout=0.0,
|
| 42 |
+
rope_scaling=None,
|
| 43 |
+
scoring_func="softmax",
|
| 44 |
+
aux_loss_alpha=0.001,
|
| 45 |
+
seq_aux=True,
|
| 46 |
+
**kwargs
|
| 47 |
+
):
|
| 48 |
+
super().__init__(
|
| 49 |
+
pad_token_id=pad_token_id,
|
| 50 |
+
bos_token_id=bos_token_id,
|
| 51 |
+
eos_token_id=eos_token_id,
|
| 52 |
+
tie_word_embeddings=tie_word_embeddings,
|
| 53 |
+
**kwargs,
|
| 54 |
+
)
|
| 55 |
+
|
| 56 |
+
self.vocab_size = vocab_size
|
| 57 |
+
self.max_position_embeddings = max_position_embeddings
|
| 58 |
+
self.hidden_size = hidden_size
|
| 59 |
+
self.intermediate_size = intermediate_size
|
| 60 |
+
self.num_hidden_layers = num_hidden_layers
|
| 61 |
+
self.num_attention_heads = num_attention_heads
|
| 62 |
+
self.num_key_value_heads = num_key_value_heads
|
| 63 |
+
self.hidden_act = hidden_act
|
| 64 |
+
self.initializer_range = initializer_range
|
| 65 |
+
self.rms_norm_eps = rms_norm_eps
|
| 66 |
+
self.use_cache = use_cache
|
| 67 |
+
self.vision_start_token_id = vision_start_token_id
|
| 68 |
+
self.vision_end_token_id = vision_end_token_id
|
| 69 |
+
self.vision_token_id = vision_token_id
|
| 70 |
+
self.image_token_id = image_token_id
|
| 71 |
+
self.video_token_id = video_token_id
|
| 72 |
+
self.vision_config = vision_config
|
| 73 |
+
self.rope_theta = rope_theta
|
| 74 |
+
self.sliding_window = sliding_window
|
| 75 |
+
self.use_sliding_window = use_sliding_window
|
| 76 |
+
self.max_window_layers = max_window_layers
|
| 77 |
+
self.attention_dropout = attention_dropout
|
| 78 |
+
self.rope_scaling = rope_scaling
|
| 79 |
+
self.scoring_func = scoring_func
|
| 80 |
+
self.aux_loss_alpha = aux_loss_alpha
|
| 81 |
+
self.seq_aux = seq_aux
|
| 82 |
+
|
| 83 |
+
model_type = "sapnous_t1"
|
| 84 |
+
keys_to_ignore_at_inference = ["past_key_values"]
|
| 85 |
+
|
| 86 |
+
# ✅ Register after defining the class
|
| 87 |
+
AutoConfig.register("sapnous_t1", SapnousT1Config)
|
convert_to_gguf.py
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import torch
|
| 3 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 4 |
+
from ctransformers import AutoModelForCausalLM as GGUFModel
|
| 5 |
+
|
| 6 |
+
def convert_to_gguf(model_path, output_path):
|
| 7 |
+
# Load the model and tokenizer with vision-language support
|
| 8 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 9 |
+
model_path,
|
| 10 |
+
trust_remote_code=True,
|
| 11 |
+
device_map='auto',
|
| 12 |
+
torch_dtype=torch.float16 # Use FP16 for memory efficiency
|
| 13 |
+
)
|
| 14 |
+
tokenizer = AutoTokenizer.from_pretrained(
|
| 15 |
+
model_path,
|
| 16 |
+
trust_remote_code=True
|
| 17 |
+
)
|
| 18 |
+
|
| 19 |
+
# Save in GGUF format
|
| 20 |
+
model.save_pretrained(output_path, safe_serialization=True)
|
| 21 |
+
tokenizer.save_pretrained(output_path)
|
| 22 |
+
|
| 23 |
+
# Convert to GGUF using ctransformers with SapnousT1 architecture settings
|
| 24 |
+
gguf_model = GGUFModel.from_pretrained(
|
| 25 |
+
output_path,
|
| 26 |
+
model_type='llama', # Base architecture type
|
| 27 |
+
gpu_layers=0, # CPU only for conversion
|
| 28 |
+
config={
|
| 29 |
+
'context_length': 32768, # Match model's sliding window size
|
| 30 |
+
'attention_type': 'multiquery', # For efficient attention
|
| 31 |
+
'num_attention_heads': 40, # Match model's head count
|
| 32 |
+
'num_key_value_heads': 8, # Match model's KV head count
|
| 33 |
+
'hidden_size': 5120, # Match model's hidden size
|
| 34 |
+
'intermediate_size': 20480, # Match model's intermediate size
|
| 35 |
+
'max_position_embeddings': 128000 # Match model's max positions
|
| 36 |
+
}
|
| 37 |
+
)
|
| 38 |
+
|
| 39 |
+
print(f"Model converted and saved to {output_path}")
|
| 40 |
+
return gguf_model
|
| 41 |
+
|
| 42 |
+
if __name__ == '__main__':
|
| 43 |
+
model_path = os.path.dirname(os.path.abspath(__file__))
|
| 44 |
+
output_path = os.path.join(model_path, 'gguf_model')
|
| 45 |
+
|
| 46 |
+
if not os.path.exists(output_path):
|
| 47 |
+
os.makedirs(output_path)
|
| 48 |
+
|
| 49 |
+
convert_to_gguf(model_path, output_path)
|
generation_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"pad_token_id": 151643,
|
| 4 |
+
"do_sample": true,
|
| 5 |
+
"eos_token_id": [
|
| 6 |
+
151645,
|
| 7 |
+
151643
|
| 8 |
+
],
|
| 9 |
+
"repetition_penalty": 1.05,
|
| 10 |
+
"temperature": 0.00001,
|
| 11 |
+
"transformers_version": "4.49.0"
|
| 12 |
+
}
|
model-00001-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ebbc5dec4fbe8208d2412cf243ca4d0a1f98504aa0a5a18cd37ced4600dd4aa2
|
| 3 |
+
size 988097880
|
model-00002-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b49dd50c37701a3851b9525d4259419b3ac9c082a758346fac547a3369330ec
|
| 3 |
+
size 1999811264
|
model-00003-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dcde42ed38bbd5aa1c71b9553d9a5a313bf668f3dd4e6058aadb21a8ee1b3b54
|
| 3 |
+
size 1631320089
|
model-00004-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fb3509b81a348aee61ea67998e9ced46f2a7b8255ad17157f716d79d319dc5e
|
| 3 |
+
size 3510649400
|
model-00005-of-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fb3509b81a348aee61ea67998e9ced46f2a7b8255ad17157f716d79d319dc5e
|
| 3 |
+
size 3510649400
|
model.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from transformers import PreTrainedModel, AutoConfig
|
| 2 |
+
import torch
|
| 3 |
+
import torch.nn as nn
|
| 4 |
+
|
| 5 |
+
class SapnousT1ForCausalLM(PreTrainedModel):
|
| 6 |
+
config_class = AutoConfig
|
| 7 |
+
|
| 8 |
+
def __init__(self, config):
|
| 9 |
+
super().__init__(config)
|
| 10 |
+
self.hidden_size = config.hidden_size
|
| 11 |
+
self.embed_tokens = nn.Embedding(config.vocab_size, config.hidden_size)
|
| 12 |
+
self.layers = nn.ModuleList([
|
| 13 |
+
nn.Linear(config.hidden_size, config.hidden_size) for _ in range(config.num_hidden_layers)
|
| 14 |
+
])
|
| 15 |
+
self.lm_head = nn.Linear(config.hidden_size, config.vocab_size, bias=False)
|
| 16 |
+
|
| 17 |
+
def forward(self, input_ids):
|
| 18 |
+
hidden_states = self.embed_tokens(input_ids)
|
| 19 |
+
for layer in self.layers:
|
| 20 |
+
hidden_states = layer(hidden_states)
|
| 21 |
+
logits = self.lm_head(hidden_states)
|
| 22 |
+
return logits
|
| 23 |
+
|
| 24 |
+
# Register model with transformers
|
| 25 |
+
from transformers import AutoModelForCausalLM
|
| 26 |
+
AutoModelForCausalLM.register(SapnousT1ForCausalLM, "sapnous_t1")
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,736 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 16584333312
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"lm_head.weight": "model-00005-of-00005.safetensors",
|
| 7 |
+
"model.embed_tokens.weight": "model-00001-of-00005.safetensors",
|
| 8 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 9 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 10 |
+
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 11 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 12 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 13 |
+
"model.layers.0.self_attn.k_proj.bias": "model-00001-of-00005.safetensors",
|
| 14 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 15 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 16 |
+
"model.layers.0.self_attn.q_proj.bias": "model-00001-of-00005.safetensors",
|
| 17 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 18 |
+
"model.layers.0.self_attn.v_proj.bias": "model-00001-of-00005.safetensors",
|
| 19 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 20 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 21 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 22 |
+
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 23 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 24 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 25 |
+
"model.layers.1.self_attn.k_proj.bias": "model-00001-of-00005.safetensors",
|
| 26 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 27 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 28 |
+
"model.layers.1.self_attn.q_proj.bias": "model-00001-of-00005.safetensors",
|
| 29 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 30 |
+
"model.layers.1.self_attn.v_proj.bias": "model-00001-of-00005.safetensors",
|
| 31 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 32 |
+
"model.layers.10.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 33 |
+
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 34 |
+
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 35 |
+
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 36 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 37 |
+
"model.layers.10.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
|
| 38 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 39 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 40 |
+
"model.layers.10.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
|
| 41 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 42 |
+
"model.layers.10.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
|
| 43 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 44 |
+
"model.layers.11.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 45 |
+
"model.layers.11.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 46 |
+
"model.layers.11.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 47 |
+
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 48 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 49 |
+
"model.layers.11.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
|
| 50 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 51 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 52 |
+
"model.layers.11.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
|
| 53 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 54 |
+
"model.layers.11.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
|
| 55 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 56 |
+
"model.layers.12.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 57 |
+
"model.layers.12.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 58 |
+
"model.layers.12.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 59 |
+
"model.layers.12.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 60 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 61 |
+
"model.layers.12.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
|
| 62 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 63 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 64 |
+
"model.layers.12.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
|
| 65 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 66 |
+
"model.layers.12.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
|
| 67 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 68 |
+
"model.layers.13.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 69 |
+
"model.layers.13.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 70 |
+
"model.layers.13.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 71 |
+
"model.layers.13.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 72 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 73 |
+
"model.layers.13.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
|
| 74 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 75 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 76 |
+
"model.layers.13.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
|
| 77 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 78 |
+
"model.layers.13.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
|
| 79 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 80 |
+
"model.layers.14.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 81 |
+
"model.layers.14.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 82 |
+
"model.layers.14.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 83 |
+
"model.layers.14.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 84 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 85 |
+
"model.layers.14.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
|
| 86 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 87 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 88 |
+
"model.layers.14.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
|
| 89 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 90 |
+
"model.layers.14.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
|
| 91 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 92 |
+
"model.layers.15.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 93 |
+
"model.layers.15.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 94 |
+
"model.layers.15.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 95 |
+
"model.layers.15.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 96 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 97 |
+
"model.layers.15.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
|
| 98 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 99 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 100 |
+
"model.layers.15.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
|
| 101 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 102 |
+
"model.layers.15.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
|
| 103 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 104 |
+
"model.layers.16.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 105 |
+
"model.layers.16.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 106 |
+
"model.layers.16.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 107 |
+
"model.layers.16.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 108 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 109 |
+
"model.layers.16.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
|
| 110 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 111 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 112 |
+
"model.layers.16.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
|
| 113 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 114 |
+
"model.layers.16.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
|
| 115 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 116 |
+
"model.layers.17.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 117 |
+
"model.layers.17.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 118 |
+
"model.layers.17.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 119 |
+
"model.layers.17.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 120 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 121 |
+
"model.layers.17.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
|
| 122 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 123 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 124 |
+
"model.layers.17.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
|
| 125 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 126 |
+
"model.layers.17.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
|
| 127 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 128 |
+
"model.layers.18.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 129 |
+
"model.layers.18.mlp.down_proj.weight": "model-00003-of-00005.safetensors",
|
| 130 |
+
"model.layers.18.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 131 |
+
"model.layers.18.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 132 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 133 |
+
"model.layers.18.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
|
| 134 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 135 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 136 |
+
"model.layers.18.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
|
| 137 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 138 |
+
"model.layers.18.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
|
| 139 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 140 |
+
"model.layers.19.input_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 141 |
+
"model.layers.19.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 142 |
+
"model.layers.19.mlp.gate_proj.weight": "model-00003-of-00005.safetensors",
|
| 143 |
+
"model.layers.19.mlp.up_proj.weight": "model-00003-of-00005.safetensors",
|
| 144 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00003-of-00005.safetensors",
|
| 145 |
+
"model.layers.19.self_attn.k_proj.bias": "model-00003-of-00005.safetensors",
|
| 146 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00003-of-00005.safetensors",
|
| 147 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00003-of-00005.safetensors",
|
| 148 |
+
"model.layers.19.self_attn.q_proj.bias": "model-00003-of-00005.safetensors",
|
| 149 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00003-of-00005.safetensors",
|
| 150 |
+
"model.layers.19.self_attn.v_proj.bias": "model-00003-of-00005.safetensors",
|
| 151 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00003-of-00005.safetensors",
|
| 152 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 153 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 154 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 155 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 156 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 157 |
+
"model.layers.2.self_attn.k_proj.bias": "model-00001-of-00005.safetensors",
|
| 158 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 159 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 160 |
+
"model.layers.2.self_attn.q_proj.bias": "model-00001-of-00005.safetensors",
|
| 161 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 162 |
+
"model.layers.2.self_attn.v_proj.bias": "model-00001-of-00005.safetensors",
|
| 163 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 164 |
+
"model.layers.20.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 165 |
+
"model.layers.20.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 166 |
+
"model.layers.20.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 167 |
+
"model.layers.20.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 168 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 169 |
+
"model.layers.20.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
|
| 170 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 171 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 172 |
+
"model.layers.20.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
|
| 173 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 174 |
+
"model.layers.20.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
|
| 175 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 176 |
+
"model.layers.21.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 177 |
+
"model.layers.21.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 178 |
+
"model.layers.21.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 179 |
+
"model.layers.21.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 180 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 181 |
+
"model.layers.21.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
|
| 182 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 183 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 184 |
+
"model.layers.21.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
|
| 185 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 186 |
+
"model.layers.21.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
|
| 187 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 188 |
+
"model.layers.22.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 189 |
+
"model.layers.22.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 190 |
+
"model.layers.22.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 191 |
+
"model.layers.22.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 192 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 193 |
+
"model.layers.22.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
|
| 194 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 195 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 196 |
+
"model.layers.22.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
|
| 197 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 198 |
+
"model.layers.22.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
|
| 199 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 200 |
+
"model.layers.23.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 201 |
+
"model.layers.23.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 202 |
+
"model.layers.23.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 203 |
+
"model.layers.23.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 204 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 205 |
+
"model.layers.23.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
|
| 206 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 207 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 208 |
+
"model.layers.23.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
|
| 209 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 210 |
+
"model.layers.23.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
|
| 211 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 212 |
+
"model.layers.24.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 213 |
+
"model.layers.24.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 214 |
+
"model.layers.24.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 215 |
+
"model.layers.24.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 216 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 217 |
+
"model.layers.24.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
|
| 218 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 219 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 220 |
+
"model.layers.24.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
|
| 221 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 222 |
+
"model.layers.24.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
|
| 223 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 224 |
+
"model.layers.25.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 225 |
+
"model.layers.25.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 226 |
+
"model.layers.25.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 227 |
+
"model.layers.25.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 228 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 229 |
+
"model.layers.25.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
|
| 230 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 231 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 232 |
+
"model.layers.25.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
|
| 233 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 234 |
+
"model.layers.25.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
|
| 235 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 236 |
+
"model.layers.26.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 237 |
+
"model.layers.26.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 238 |
+
"model.layers.26.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 239 |
+
"model.layers.26.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 240 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 241 |
+
"model.layers.26.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
|
| 242 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 243 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 244 |
+
"model.layers.26.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
|
| 245 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 246 |
+
"model.layers.26.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
|
| 247 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 248 |
+
"model.layers.27.input_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 249 |
+
"model.layers.27.mlp.down_proj.weight": "model-00004-of-00005.safetensors",
|
| 250 |
+
"model.layers.27.mlp.gate_proj.weight": "model-00004-of-00005.safetensors",
|
| 251 |
+
"model.layers.27.mlp.up_proj.weight": "model-00004-of-00005.safetensors",
|
| 252 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00004-of-00005.safetensors",
|
| 253 |
+
"model.layers.27.self_attn.k_proj.bias": "model-00004-of-00005.safetensors",
|
| 254 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00004-of-00005.safetensors",
|
| 255 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00004-of-00005.safetensors",
|
| 256 |
+
"model.layers.27.self_attn.q_proj.bias": "model-00004-of-00005.safetensors",
|
| 257 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00004-of-00005.safetensors",
|
| 258 |
+
"model.layers.27.self_attn.v_proj.bias": "model-00004-of-00005.safetensors",
|
| 259 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00004-of-00005.safetensors",
|
| 260 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 261 |
+
"model.layers.3.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 262 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 263 |
+
"model.layers.3.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 264 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00005.safetensors",
|
| 265 |
+
"model.layers.3.self_attn.k_proj.bias": "model-00001-of-00005.safetensors",
|
| 266 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00005.safetensors",
|
| 267 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00005.safetensors",
|
| 268 |
+
"model.layers.3.self_attn.q_proj.bias": "model-00001-of-00005.safetensors",
|
| 269 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00005.safetensors",
|
| 270 |
+
"model.layers.3.self_attn.v_proj.bias": "model-00001-of-00005.safetensors",
|
| 271 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00005.safetensors",
|
| 272 |
+
"model.layers.4.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 273 |
+
"model.layers.4.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 274 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 275 |
+
"model.layers.4.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 276 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 277 |
+
"model.layers.4.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
|
| 278 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 279 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 280 |
+
"model.layers.4.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
|
| 281 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 282 |
+
"model.layers.4.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
|
| 283 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 284 |
+
"model.layers.5.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 285 |
+
"model.layers.5.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 286 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 287 |
+
"model.layers.5.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 288 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 289 |
+
"model.layers.5.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
|
| 290 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 291 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 292 |
+
"model.layers.5.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
|
| 293 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 294 |
+
"model.layers.5.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
|
| 295 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 296 |
+
"model.layers.6.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 297 |
+
"model.layers.6.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 298 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 299 |
+
"model.layers.6.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 300 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 301 |
+
"model.layers.6.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
|
| 302 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 303 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 304 |
+
"model.layers.6.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
|
| 305 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 306 |
+
"model.layers.6.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
|
| 307 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 308 |
+
"model.layers.7.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 309 |
+
"model.layers.7.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 310 |
+
"model.layers.7.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 311 |
+
"model.layers.7.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 312 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 313 |
+
"model.layers.7.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
|
| 314 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 315 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 316 |
+
"model.layers.7.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
|
| 317 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 318 |
+
"model.layers.7.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
|
| 319 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 320 |
+
"model.layers.8.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 321 |
+
"model.layers.8.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 322 |
+
"model.layers.8.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 323 |
+
"model.layers.8.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 324 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 325 |
+
"model.layers.8.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
|
| 326 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 327 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 328 |
+
"model.layers.8.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
|
| 329 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 330 |
+
"model.layers.8.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
|
| 331 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 332 |
+
"model.layers.9.input_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 333 |
+
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00005.safetensors",
|
| 334 |
+
"model.layers.9.mlp.gate_proj.weight": "model-00002-of-00005.safetensors",
|
| 335 |
+
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00005.safetensors",
|
| 336 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00005.safetensors",
|
| 337 |
+
"model.layers.9.self_attn.k_proj.bias": "model-00002-of-00005.safetensors",
|
| 338 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00002-of-00005.safetensors",
|
| 339 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00005.safetensors",
|
| 340 |
+
"model.layers.9.self_attn.q_proj.bias": "model-00002-of-00005.safetensors",
|
| 341 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00002-of-00005.safetensors",
|
| 342 |
+
"model.layers.9.self_attn.v_proj.bias": "model-00002-of-00005.safetensors",
|
| 343 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00002-of-00005.safetensors",
|
| 344 |
+
"model.norm.weight": "model-00004-of-00005.safetensors",
|
| 345 |
+
"visual.blocks.0.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 346 |
+
"visual.blocks.0.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 347 |
+
"visual.blocks.0.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 348 |
+
"visual.blocks.0.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 349 |
+
"visual.blocks.0.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 350 |
+
"visual.blocks.0.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 351 |
+
"visual.blocks.0.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 352 |
+
"visual.blocks.0.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 353 |
+
"visual.blocks.0.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 354 |
+
"visual.blocks.0.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 355 |
+
"visual.blocks.0.norm1.weight": "model-00001-of-00005.safetensors",
|
| 356 |
+
"visual.blocks.0.norm2.weight": "model-00001-of-00005.safetensors",
|
| 357 |
+
"visual.blocks.1.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 358 |
+
"visual.blocks.1.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 359 |
+
"visual.blocks.1.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 360 |
+
"visual.blocks.1.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 361 |
+
"visual.blocks.1.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 362 |
+
"visual.blocks.1.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 363 |
+
"visual.blocks.1.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 364 |
+
"visual.blocks.1.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 365 |
+
"visual.blocks.1.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 366 |
+
"visual.blocks.1.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 367 |
+
"visual.blocks.1.norm1.weight": "model-00001-of-00005.safetensors",
|
| 368 |
+
"visual.blocks.1.norm2.weight": "model-00001-of-00005.safetensors",
|
| 369 |
+
"visual.blocks.10.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 370 |
+
"visual.blocks.10.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 371 |
+
"visual.blocks.10.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 372 |
+
"visual.blocks.10.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 373 |
+
"visual.blocks.10.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 374 |
+
"visual.blocks.10.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 375 |
+
"visual.blocks.10.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 376 |
+
"visual.blocks.10.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 377 |
+
"visual.blocks.10.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 378 |
+
"visual.blocks.10.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 379 |
+
"visual.blocks.10.norm1.weight": "model-00001-of-00005.safetensors",
|
| 380 |
+
"visual.blocks.10.norm2.weight": "model-00001-of-00005.safetensors",
|
| 381 |
+
"visual.blocks.11.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 382 |
+
"visual.blocks.11.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 383 |
+
"visual.blocks.11.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 384 |
+
"visual.blocks.11.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 385 |
+
"visual.blocks.11.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 386 |
+
"visual.blocks.11.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 387 |
+
"visual.blocks.11.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 388 |
+
"visual.blocks.11.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 389 |
+
"visual.blocks.11.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 390 |
+
"visual.blocks.11.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 391 |
+
"visual.blocks.11.norm1.weight": "model-00001-of-00005.safetensors",
|
| 392 |
+
"visual.blocks.11.norm2.weight": "model-00001-of-00005.safetensors",
|
| 393 |
+
"visual.blocks.12.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 394 |
+
"visual.blocks.12.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 395 |
+
"visual.blocks.12.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 396 |
+
"visual.blocks.12.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 397 |
+
"visual.blocks.12.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 398 |
+
"visual.blocks.12.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 399 |
+
"visual.blocks.12.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 400 |
+
"visual.blocks.12.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 401 |
+
"visual.blocks.12.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 402 |
+
"visual.blocks.12.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 403 |
+
"visual.blocks.12.norm1.weight": "model-00001-of-00005.safetensors",
|
| 404 |
+
"visual.blocks.12.norm2.weight": "model-00001-of-00005.safetensors",
|
| 405 |
+
"visual.blocks.13.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 406 |
+
"visual.blocks.13.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 407 |
+
"visual.blocks.13.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 408 |
+
"visual.blocks.13.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 409 |
+
"visual.blocks.13.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 410 |
+
"visual.blocks.13.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 411 |
+
"visual.blocks.13.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 412 |
+
"visual.blocks.13.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 413 |
+
"visual.blocks.13.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 414 |
+
"visual.blocks.13.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 415 |
+
"visual.blocks.13.norm1.weight": "model-00001-of-00005.safetensors",
|
| 416 |
+
"visual.blocks.13.norm2.weight": "model-00001-of-00005.safetensors",
|
| 417 |
+
"visual.blocks.14.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 418 |
+
"visual.blocks.14.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 419 |
+
"visual.blocks.14.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 420 |
+
"visual.blocks.14.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 421 |
+
"visual.blocks.14.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 422 |
+
"visual.blocks.14.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 423 |
+
"visual.blocks.14.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 424 |
+
"visual.blocks.14.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 425 |
+
"visual.blocks.14.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 426 |
+
"visual.blocks.14.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 427 |
+
"visual.blocks.14.norm1.weight": "model-00001-of-00005.safetensors",
|
| 428 |
+
"visual.blocks.14.norm2.weight": "model-00001-of-00005.safetensors",
|
| 429 |
+
"visual.blocks.15.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 430 |
+
"visual.blocks.15.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 431 |
+
"visual.blocks.15.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 432 |
+
"visual.blocks.15.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 433 |
+
"visual.blocks.15.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 434 |
+
"visual.blocks.15.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 435 |
+
"visual.blocks.15.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 436 |
+
"visual.blocks.15.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 437 |
+
"visual.blocks.15.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 438 |
+
"visual.blocks.15.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 439 |
+
"visual.blocks.15.norm1.weight": "model-00001-of-00005.safetensors",
|
| 440 |
+
"visual.blocks.15.norm2.weight": "model-00001-of-00005.safetensors",
|
| 441 |
+
"visual.blocks.16.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 442 |
+
"visual.blocks.16.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 443 |
+
"visual.blocks.16.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 444 |
+
"visual.blocks.16.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 445 |
+
"visual.blocks.16.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 446 |
+
"visual.blocks.16.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 447 |
+
"visual.blocks.16.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 448 |
+
"visual.blocks.16.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 449 |
+
"visual.blocks.16.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 450 |
+
"visual.blocks.16.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 451 |
+
"visual.blocks.16.norm1.weight": "model-00001-of-00005.safetensors",
|
| 452 |
+
"visual.blocks.16.norm2.weight": "model-00001-of-00005.safetensors",
|
| 453 |
+
"visual.blocks.17.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 454 |
+
"visual.blocks.17.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 455 |
+
"visual.blocks.17.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 456 |
+
"visual.blocks.17.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 457 |
+
"visual.blocks.17.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 458 |
+
"visual.blocks.17.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 459 |
+
"visual.blocks.17.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 460 |
+
"visual.blocks.17.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 461 |
+
"visual.blocks.17.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 462 |
+
"visual.blocks.17.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 463 |
+
"visual.blocks.17.norm1.weight": "model-00001-of-00005.safetensors",
|
| 464 |
+
"visual.blocks.17.norm2.weight": "model-00001-of-00005.safetensors",
|
| 465 |
+
"visual.blocks.18.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 466 |
+
"visual.blocks.18.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 467 |
+
"visual.blocks.18.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 468 |
+
"visual.blocks.18.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 469 |
+
"visual.blocks.18.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 470 |
+
"visual.blocks.18.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 471 |
+
"visual.blocks.18.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 472 |
+
"visual.blocks.18.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 473 |
+
"visual.blocks.18.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 474 |
+
"visual.blocks.18.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 475 |
+
"visual.blocks.18.norm1.weight": "model-00001-of-00005.safetensors",
|
| 476 |
+
"visual.blocks.18.norm2.weight": "model-00001-of-00005.safetensors",
|
| 477 |
+
"visual.blocks.19.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 478 |
+
"visual.blocks.19.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 479 |
+
"visual.blocks.19.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 480 |
+
"visual.blocks.19.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 481 |
+
"visual.blocks.19.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 482 |
+
"visual.blocks.19.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 483 |
+
"visual.blocks.19.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 484 |
+
"visual.blocks.19.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 485 |
+
"visual.blocks.19.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 486 |
+
"visual.blocks.19.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 487 |
+
"visual.blocks.19.norm1.weight": "model-00001-of-00005.safetensors",
|
| 488 |
+
"visual.blocks.19.norm2.weight": "model-00001-of-00005.safetensors",
|
| 489 |
+
"visual.blocks.2.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 490 |
+
"visual.blocks.2.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 491 |
+
"visual.blocks.2.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 492 |
+
"visual.blocks.2.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 493 |
+
"visual.blocks.2.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 494 |
+
"visual.blocks.2.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 495 |
+
"visual.blocks.2.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 496 |
+
"visual.blocks.2.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 497 |
+
"visual.blocks.2.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 498 |
+
"visual.blocks.2.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 499 |
+
"visual.blocks.2.norm1.weight": "model-00001-of-00005.safetensors",
|
| 500 |
+
"visual.blocks.2.norm2.weight": "model-00001-of-00005.safetensors",
|
| 501 |
+
"visual.blocks.20.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 502 |
+
"visual.blocks.20.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 503 |
+
"visual.blocks.20.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 504 |
+
"visual.blocks.20.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 505 |
+
"visual.blocks.20.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 506 |
+
"visual.blocks.20.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 507 |
+
"visual.blocks.20.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 508 |
+
"visual.blocks.20.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 509 |
+
"visual.blocks.20.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 510 |
+
"visual.blocks.20.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 511 |
+
"visual.blocks.20.norm1.weight": "model-00001-of-00005.safetensors",
|
| 512 |
+
"visual.blocks.20.norm2.weight": "model-00001-of-00005.safetensors",
|
| 513 |
+
"visual.blocks.21.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 514 |
+
"visual.blocks.21.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 515 |
+
"visual.blocks.21.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 516 |
+
"visual.blocks.21.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 517 |
+
"visual.blocks.21.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 518 |
+
"visual.blocks.21.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 519 |
+
"visual.blocks.21.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 520 |
+
"visual.blocks.21.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 521 |
+
"visual.blocks.21.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 522 |
+
"visual.blocks.21.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 523 |
+
"visual.blocks.21.norm1.weight": "model-00001-of-00005.safetensors",
|
| 524 |
+
"visual.blocks.21.norm2.weight": "model-00001-of-00005.safetensors",
|
| 525 |
+
"visual.blocks.22.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 526 |
+
"visual.blocks.22.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 527 |
+
"visual.blocks.22.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 528 |
+
"visual.blocks.22.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 529 |
+
"visual.blocks.22.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 530 |
+
"visual.blocks.22.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 531 |
+
"visual.blocks.22.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 532 |
+
"visual.blocks.22.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 533 |
+
"visual.blocks.22.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 534 |
+
"visual.blocks.22.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 535 |
+
"visual.blocks.22.norm1.weight": "model-00001-of-00005.safetensors",
|
| 536 |
+
"visual.blocks.22.norm2.weight": "model-00001-of-00005.safetensors",
|
| 537 |
+
"visual.blocks.23.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 538 |
+
"visual.blocks.23.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 539 |
+
"visual.blocks.23.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 540 |
+
"visual.blocks.23.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 541 |
+
"visual.blocks.23.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 542 |
+
"visual.blocks.23.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 543 |
+
"visual.blocks.23.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 544 |
+
"visual.blocks.23.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 545 |
+
"visual.blocks.23.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 546 |
+
"visual.blocks.23.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 547 |
+
"visual.blocks.23.norm1.weight": "model-00001-of-00005.safetensors",
|
| 548 |
+
"visual.blocks.23.norm2.weight": "model-00001-of-00005.safetensors",
|
| 549 |
+
"visual.blocks.24.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 550 |
+
"visual.blocks.24.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 551 |
+
"visual.blocks.24.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 552 |
+
"visual.blocks.24.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 553 |
+
"visual.blocks.24.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 554 |
+
"visual.blocks.24.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 555 |
+
"visual.blocks.24.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 556 |
+
"visual.blocks.24.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 557 |
+
"visual.blocks.24.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 558 |
+
"visual.blocks.24.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 559 |
+
"visual.blocks.24.norm1.weight": "model-00001-of-00005.safetensors",
|
| 560 |
+
"visual.blocks.24.norm2.weight": "model-00001-of-00005.safetensors",
|
| 561 |
+
"visual.blocks.25.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 562 |
+
"visual.blocks.25.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 563 |
+
"visual.blocks.25.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 564 |
+
"visual.blocks.25.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 565 |
+
"visual.blocks.25.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 566 |
+
"visual.blocks.25.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 567 |
+
"visual.blocks.25.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 568 |
+
"visual.blocks.25.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 569 |
+
"visual.blocks.25.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 570 |
+
"visual.blocks.25.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 571 |
+
"visual.blocks.25.norm1.weight": "model-00001-of-00005.safetensors",
|
| 572 |
+
"visual.blocks.25.norm2.weight": "model-00001-of-00005.safetensors",
|
| 573 |
+
"visual.blocks.26.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 574 |
+
"visual.blocks.26.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 575 |
+
"visual.blocks.26.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 576 |
+
"visual.blocks.26.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 577 |
+
"visual.blocks.26.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 578 |
+
"visual.blocks.26.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 579 |
+
"visual.blocks.26.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 580 |
+
"visual.blocks.26.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 581 |
+
"visual.blocks.26.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 582 |
+
"visual.blocks.26.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 583 |
+
"visual.blocks.26.norm1.weight": "model-00001-of-00005.safetensors",
|
| 584 |
+
"visual.blocks.26.norm2.weight": "model-00001-of-00005.safetensors",
|
| 585 |
+
"visual.blocks.27.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 586 |
+
"visual.blocks.27.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 587 |
+
"visual.blocks.27.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 588 |
+
"visual.blocks.27.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 589 |
+
"visual.blocks.27.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 590 |
+
"visual.blocks.27.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 591 |
+
"visual.blocks.27.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 592 |
+
"visual.blocks.27.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 593 |
+
"visual.blocks.27.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 594 |
+
"visual.blocks.27.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 595 |
+
"visual.blocks.27.norm1.weight": "model-00001-of-00005.safetensors",
|
| 596 |
+
"visual.blocks.27.norm2.weight": "model-00001-of-00005.safetensors",
|
| 597 |
+
"visual.blocks.28.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 598 |
+
"visual.blocks.28.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 599 |
+
"visual.blocks.28.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 600 |
+
"visual.blocks.28.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 601 |
+
"visual.blocks.28.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 602 |
+
"visual.blocks.28.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 603 |
+
"visual.blocks.28.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 604 |
+
"visual.blocks.28.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 605 |
+
"visual.blocks.28.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 606 |
+
"visual.blocks.28.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 607 |
+
"visual.blocks.28.norm1.weight": "model-00001-of-00005.safetensors",
|
| 608 |
+
"visual.blocks.28.norm2.weight": "model-00001-of-00005.safetensors",
|
| 609 |
+
"visual.blocks.29.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 610 |
+
"visual.blocks.29.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 611 |
+
"visual.blocks.29.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 612 |
+
"visual.blocks.29.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 613 |
+
"visual.blocks.29.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 614 |
+
"visual.blocks.29.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 615 |
+
"visual.blocks.29.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 616 |
+
"visual.blocks.29.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 617 |
+
"visual.blocks.29.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 618 |
+
"visual.blocks.29.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 619 |
+
"visual.blocks.29.norm1.weight": "model-00001-of-00005.safetensors",
|
| 620 |
+
"visual.blocks.29.norm2.weight": "model-00001-of-00005.safetensors",
|
| 621 |
+
"visual.blocks.3.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 622 |
+
"visual.blocks.3.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 623 |
+
"visual.blocks.3.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 624 |
+
"visual.blocks.3.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 625 |
+
"visual.blocks.3.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 626 |
+
"visual.blocks.3.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 627 |
+
"visual.blocks.3.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 628 |
+
"visual.blocks.3.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 629 |
+
"visual.blocks.3.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 630 |
+
"visual.blocks.3.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 631 |
+
"visual.blocks.3.norm1.weight": "model-00001-of-00005.safetensors",
|
| 632 |
+
"visual.blocks.3.norm2.weight": "model-00001-of-00005.safetensors",
|
| 633 |
+
"visual.blocks.30.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 634 |
+
"visual.blocks.30.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 635 |
+
"visual.blocks.30.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 636 |
+
"visual.blocks.30.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 637 |
+
"visual.blocks.30.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 638 |
+
"visual.blocks.30.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 639 |
+
"visual.blocks.30.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 640 |
+
"visual.blocks.30.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 641 |
+
"visual.blocks.30.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 642 |
+
"visual.blocks.30.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 643 |
+
"visual.blocks.30.norm1.weight": "model-00001-of-00005.safetensors",
|
| 644 |
+
"visual.blocks.30.norm2.weight": "model-00001-of-00005.safetensors",
|
| 645 |
+
"visual.blocks.31.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 646 |
+
"visual.blocks.31.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 647 |
+
"visual.blocks.31.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 648 |
+
"visual.blocks.31.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 649 |
+
"visual.blocks.31.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 650 |
+
"visual.blocks.31.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 651 |
+
"visual.blocks.31.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 652 |
+
"visual.blocks.31.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 653 |
+
"visual.blocks.31.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 654 |
+
"visual.blocks.31.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 655 |
+
"visual.blocks.31.norm1.weight": "model-00001-of-00005.safetensors",
|
| 656 |
+
"visual.blocks.31.norm2.weight": "model-00001-of-00005.safetensors",
|
| 657 |
+
"visual.blocks.4.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 658 |
+
"visual.blocks.4.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 659 |
+
"visual.blocks.4.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 660 |
+
"visual.blocks.4.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 661 |
+
"visual.blocks.4.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 662 |
+
"visual.blocks.4.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 663 |
+
"visual.blocks.4.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 664 |
+
"visual.blocks.4.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 665 |
+
"visual.blocks.4.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 666 |
+
"visual.blocks.4.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 667 |
+
"visual.blocks.4.norm1.weight": "model-00001-of-00005.safetensors",
|
| 668 |
+
"visual.blocks.4.norm2.weight": "model-00001-of-00005.safetensors",
|
| 669 |
+
"visual.blocks.5.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 670 |
+
"visual.blocks.5.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 671 |
+
"visual.blocks.5.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 672 |
+
"visual.blocks.5.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 673 |
+
"visual.blocks.5.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 674 |
+
"visual.blocks.5.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 675 |
+
"visual.blocks.5.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 676 |
+
"visual.blocks.5.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 677 |
+
"visual.blocks.5.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 678 |
+
"visual.blocks.5.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 679 |
+
"visual.blocks.5.norm1.weight": "model-00001-of-00005.safetensors",
|
| 680 |
+
"visual.blocks.5.norm2.weight": "model-00001-of-00005.safetensors",
|
| 681 |
+
"visual.blocks.6.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 682 |
+
"visual.blocks.6.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 683 |
+
"visual.blocks.6.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 684 |
+
"visual.blocks.6.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 685 |
+
"visual.blocks.6.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 686 |
+
"visual.blocks.6.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 687 |
+
"visual.blocks.6.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 688 |
+
"visual.blocks.6.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 689 |
+
"visual.blocks.6.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 690 |
+
"visual.blocks.6.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 691 |
+
"visual.blocks.6.norm1.weight": "model-00001-of-00005.safetensors",
|
| 692 |
+
"visual.blocks.6.norm2.weight": "model-00001-of-00005.safetensors",
|
| 693 |
+
"visual.blocks.7.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 694 |
+
"visual.blocks.7.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 695 |
+
"visual.blocks.7.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 696 |
+
"visual.blocks.7.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 697 |
+
"visual.blocks.7.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 698 |
+
"visual.blocks.7.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 699 |
+
"visual.blocks.7.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 700 |
+
"visual.blocks.7.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 701 |
+
"visual.blocks.7.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 702 |
+
"visual.blocks.7.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 703 |
+
"visual.blocks.7.norm1.weight": "model-00001-of-00005.safetensors",
|
| 704 |
+
"visual.blocks.7.norm2.weight": "model-00001-of-00005.safetensors",
|
| 705 |
+
"visual.blocks.8.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 706 |
+
"visual.blocks.8.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 707 |
+
"visual.blocks.8.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 708 |
+
"visual.blocks.8.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 709 |
+
"visual.blocks.8.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 710 |
+
"visual.blocks.8.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 711 |
+
"visual.blocks.8.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 712 |
+
"visual.blocks.8.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 713 |
+
"visual.blocks.8.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 714 |
+
"visual.blocks.8.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 715 |
+
"visual.blocks.8.norm1.weight": "model-00001-of-00005.safetensors",
|
| 716 |
+
"visual.blocks.8.norm2.weight": "model-00001-of-00005.safetensors",
|
| 717 |
+
"visual.blocks.9.attn.proj.bias": "model-00001-of-00005.safetensors",
|
| 718 |
+
"visual.blocks.9.attn.proj.weight": "model-00001-of-00005.safetensors",
|
| 719 |
+
"visual.blocks.9.attn.qkv.bias": "model-00001-of-00005.safetensors",
|
| 720 |
+
"visual.blocks.9.attn.qkv.weight": "model-00001-of-00005.safetensors",
|
| 721 |
+
"visual.blocks.9.mlp.down_proj.bias": "model-00001-of-00005.safetensors",
|
| 722 |
+
"visual.blocks.9.mlp.down_proj.weight": "model-00001-of-00005.safetensors",
|
| 723 |
+
"visual.blocks.9.mlp.gate_proj.bias": "model-00001-of-00005.safetensors",
|
| 724 |
+
"visual.blocks.9.mlp.gate_proj.weight": "model-00001-of-00005.safetensors",
|
| 725 |
+
"visual.blocks.9.mlp.up_proj.bias": "model-00001-of-00005.safetensors",
|
| 726 |
+
"visual.blocks.9.mlp.up_proj.weight": "model-00001-of-00005.safetensors",
|
| 727 |
+
"visual.blocks.9.norm1.weight": "model-00001-of-00005.safetensors",
|
| 728 |
+
"visual.blocks.9.norm2.weight": "model-00001-of-00005.safetensors",
|
| 729 |
+
"visual.merger.ln_q.weight": "model-00001-of-00005.safetensors",
|
| 730 |
+
"visual.merger.mlp.0.bias": "model-00001-of-00005.safetensors",
|
| 731 |
+
"visual.merger.mlp.0.weight": "model-00001-of-00005.safetensors",
|
| 732 |
+
"visual.merger.mlp.2.bias": "model-00001-of-00005.safetensors",
|
| 733 |
+
"visual.merger.mlp.2.weight": "model-00001-of-00005.safetensors",
|
| 734 |
+
"visual.patch_embed.proj.weight": "model-00001-of-00005.safetensors"
|
| 735 |
+
}
|
| 736 |
+
}
|
modeling_sapnous.py
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import torch
|
| 2 |
+
import torch.nn as nn
|
| 3 |
+
from transformers import PreTrainedModel, AutoModelForCausalLM
|
| 4 |
+
from configuration_sapnous import SapnousT1Config # Ensure this file is correct
|
| 5 |
+
|
| 6 |
+
class SapnousT1PreTrainedModel(PreTrainedModel):
|
| 7 |
+
"""Base class for all Sapnous-T1 models."""
|
| 8 |
+
config_class = SapnousT1Config
|
| 9 |
+
|
| 10 |
+
def __init__(self, config: SapnousT1Config):
|
| 11 |
+
super().__init__(config)
|
| 12 |
+
self.config = config
|
| 13 |
+
|
| 14 |
+
def _init_weights(self, module):
|
| 15 |
+
"""Initialize weights if required."""
|
| 16 |
+
if isinstance(module, nn.Linear):
|
| 17 |
+
module.weight.data.normal_(mean=0.0, std=self.config.initializer_range)
|
| 18 |
+
if module.bias is not None:
|
| 19 |
+
module.bias.data.zero_()
|
| 20 |
+
|
| 21 |
+
class SapnousT1Model(SapnousT1PreTrainedModel):
|
| 22 |
+
"""Base Transformer Model"""
|
| 23 |
+
def __init__(self, config: SapnousT1Config):
|
| 24 |
+
super().__init__(config)
|
| 25 |
+
self.embeddings = nn.Embedding(config.vocab_size, config.hidden_size)
|
| 26 |
+
self.encoder = nn.TransformerEncoder(
|
| 27 |
+
nn.TransformerEncoderLayer(
|
| 28 |
+
d_model=config.hidden_size,
|
| 29 |
+
nhead=config.num_attention_heads
|
| 30 |
+
),
|
| 31 |
+
num_layers=config.num_hidden_layers
|
| 32 |
+
)
|
| 33 |
+
self.lm_head = nn.Linear(config.hidden_size, config.vocab_size)
|
| 34 |
+
|
| 35 |
+
def forward(self, input_ids):
|
| 36 |
+
x = self.embeddings(input_ids)
|
| 37 |
+
x = self.encoder(x)
|
| 38 |
+
return self.lm_head(x)
|
| 39 |
+
|
| 40 |
+
class SapnousT1ForCausalLM(SapnousT1PreTrainedModel):
|
| 41 |
+
"""Sapnous-T1 Model for Causal LM (Text Generation)"""
|
| 42 |
+
def __init__(self, config: SapnousT1Config):
|
| 43 |
+
super().__init__(config)
|
| 44 |
+
self.model = SapnousT1Model(config)
|
| 45 |
+
self.lm_head = nn.Linear(config.hidden_size, config.vocab_size, bias=False)
|
| 46 |
+
|
| 47 |
+
def forward(self, input_ids):
|
| 48 |
+
hidden_states = self.model(input_ids)
|
| 49 |
+
logits = self.lm_head(hidden_states)
|
| 50 |
+
return logits
|
| 51 |
+
|
| 52 |
+
# ✅ Register the model properly
|
| 53 |
+
AutoModelForCausalLM.register(SapnousT1Config, SapnousT1ForCausalLM)
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"min_pixels": 3136,
|
| 3 |
+
"max_pixels": 12845056,
|
| 4 |
+
"patch_size": 14,
|
| 5 |
+
"temporal_patch_size": 2,
|
| 6 |
+
"merge_size": 2,
|
| 7 |
+
"image_mean": [
|
| 8 |
+
0.48145466,
|
| 9 |
+
0.4578275,
|
| 10 |
+
0.40821073
|
| 11 |
+
],
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.26862954,
|
| 14 |
+
0.26130258,
|
| 15 |
+
0.27577711
|
| 16 |
+
],
|
| 17 |
+
"image_processor_type": "Sapnous12BImageProcessor",
|
| 18 |
+
"processor_class": "Sapnous12BProcessor"
|
| 19 |
+
}
|
setup.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import os
|
| 3 |
+
|
| 4 |
+
# Add the current directory to sys.path so Python can find `configuration_sapnous.py`
|
| 5 |
+
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
| 6 |
+
|
| 7 |
+
from transformers import AutoModel, AutoConfig
|
| 8 |
+
from configuration_sapnous import SapnousT1Config # Now it should work
|
| 9 |
+
|
| 10 |
+
model_path = r"E:\git\Sapnous-47B\Sapnous-6B"
|
| 11 |
+
|
| 12 |
+
config = AutoConfig.from_pretrained(model_path, trust_remote_code=True)
|
| 13 |
+
model = AutoModel.from_pretrained(model_path, config=config, trust_remote_code=True)
|
| 14 |
+
|
| 15 |
+
print("Model loaded successfully!")
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"151643": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"151644": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"151645": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"151646": {
|
| 29 |
+
"content": "<|object_ref_start|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"151647": {
|
| 37 |
+
"content": "<|object_ref_end|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"151648": {
|
| 45 |
+
"content": "<|box_start|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"151649": {
|
| 53 |
+
"content": "<|box_end|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"151650": {
|
| 61 |
+
"content": "<|quad_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"151651": {
|
| 69 |
+
"content": "<|quad_end|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"151652": {
|
| 77 |
+
"content": "<|vision_start|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"151653": {
|
| 85 |
+
"content": "<|vision_end|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"151654": {
|
| 93 |
+
"content": "<|vision_pad|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"151655": {
|
| 101 |
+
"content": "<|image_pad|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"151656": {
|
| 109 |
+
"content": "<|video_pad|>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"151657": {
|
| 117 |
+
"content": "<tool_call>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": false
|
| 123 |
+
},
|
| 124 |
+
"151658": {
|
| 125 |
+
"content": "</tool_call>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": false
|
| 131 |
+
},
|
| 132 |
+
"151659": {
|
| 133 |
+
"content": "<|fim_prefix|>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": false
|
| 139 |
+
},
|
| 140 |
+
"151660": {
|
| 141 |
+
"content": "<|fim_middle|>",
|
| 142 |
+
"lstrip": false,
|
| 143 |
+
"normalized": false,
|
| 144 |
+
"rstrip": false,
|
| 145 |
+
"single_word": false,
|
| 146 |
+
"special": false
|
| 147 |
+
},
|
| 148 |
+
"151661": {
|
| 149 |
+
"content": "<|fim_suffix|>",
|
| 150 |
+
"lstrip": false,
|
| 151 |
+
"normalized": false,
|
| 152 |
+
"rstrip": false,
|
| 153 |
+
"single_word": false,
|
| 154 |
+
"special": false
|
| 155 |
+
},
|
| 156 |
+
"151662": {
|
| 157 |
+
"content": "<|fim_pad|>",
|
| 158 |
+
"lstrip": false,
|
| 159 |
+
"normalized": false,
|
| 160 |
+
"rstrip": false,
|
| 161 |
+
"single_word": false,
|
| 162 |
+
"special": false
|
| 163 |
+
},
|
| 164 |
+
"151663": {
|
| 165 |
+
"content": "<|repo_name|>",
|
| 166 |
+
"lstrip": false,
|
| 167 |
+
"normalized": false,
|
| 168 |
+
"rstrip": false,
|
| 169 |
+
"single_word": false,
|
| 170 |
+
"special": false
|
| 171 |
+
},
|
| 172 |
+
"151664": {
|
| 173 |
+
"content": "<|file_sep|>",
|
| 174 |
+
"lstrip": false,
|
| 175 |
+
"normalized": false,
|
| 176 |
+
"rstrip": false,
|
| 177 |
+
"single_word": false,
|
| 178 |
+
"special": false
|
| 179 |
+
}
|
| 180 |
+
},
|
| 181 |
+
"additional_special_tokens": [
|
| 182 |
+
"<|im_start|>",
|
| 183 |
+
"<|im_end|>",
|
| 184 |
+
"<|object_ref_start|>",
|
| 185 |
+
"<|object_ref_end|>",
|
| 186 |
+
"<|box_start|>",
|
| 187 |
+
"<|box_end|>",
|
| 188 |
+
"<|quad_start|>",
|
| 189 |
+
"<|quad_end|>",
|
| 190 |
+
"<|vision_start|>",
|
| 191 |
+
"<|vision_end|>",
|
| 192 |
+
"<|vision_pad|>",
|
| 193 |
+
"<|image_pad|>",
|
| 194 |
+
"<|video_pad|>"
|
| 195 |
+
],
|
| 196 |
+
"bos_token": null,
|
| 197 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\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>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\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\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
|
| 198 |
+
"clean_up_tokenization_spaces": false,
|
| 199 |
+
"eos_token": "<|im_end|>",
|
| 200 |
+
"errors": "replace",
|
| 201 |
+
"model_max_length": 131072,
|
| 202 |
+
"pad_token": "<|endoftext|>",
|
| 203 |
+
"split_special_tokens": false,
|
| 204 |
+
"tokenizer_class": "SapnousT1Tokenizer",
|
| 205 |
+
"unk_token": null,
|
| 206 |
+
"add_bos_token": false
|
| 207 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|