Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- README.md +179 -0
- assets/av_example_1.jpg +3 -0
- assets/vila_hd_results_1.png +3 -0
- assets/vila_hd_results_2.png +3 -0
- config.json +357 -0
- llm/added_tokens.json +10 -0
- llm/config.json +30 -0
- llm/generation_config.json +14 -0
- llm/merges.txt +0 -0
- llm/model-00001-of-00004.safetensors +3 -0
- llm/model-00002-of-00004.safetensors +3 -0
- llm/model-00003-of-00004.safetensors +3 -0
- llm/model-00004-of-00004.safetensors +3 -0
- llm/model.safetensors.index.json +346 -0
- llm/special_tokens_map.json +27 -0
- llm/tokenizer.json +3 -0
- llm/tokenizer_config.json +85 -0
- llm/vocab.json +0 -0
- mm_projector/config.json +10 -0
- mm_projector/model.safetensors +3 -0
- vision_tower/config.json +50 -0
- vision_tower/model.safetensors +3 -0
- vision_tower/preprocessor_config.json +36 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
assets/av_example_1.jpg filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/vila_hd_results_1.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/vila_hd_results_2.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
llm/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pipeline_tag: image-text-to-text
|
| 6 |
+
tags:
|
| 7 |
+
- VLM
|
| 8 |
+
- VILA-HD
|
| 9 |
+
- PS3
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
## Description: <br>
|
| 15 |
+
|
| 16 |
+
VILA-HD-8B-PS3-1.5K-SigLIP2 is a Multi-modal Large Language Model that understands and answers questions about images of up to 1.5K resolution.
|
| 17 |
+
|
| 18 |
+
This model is for research and development only.
|
| 19 |
+
|
| 20 |
+
### License/Terms of Use: <br>
|
| 21 |
+
|
| 22 |
+
Governing Terms: [CC-BY-NC-SA-4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en). Additional Information: [Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/) for [Qwen2-VL-7B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct).
|
| 23 |
+
|
| 24 |
+
### Deployment Geography:
|
| 25 |
+
|
| 26 |
+
Global
|
| 27 |
+
|
| 28 |
+
### Use Case: <br>
|
| 29 |
+
|
| 30 |
+
The model is used for extracting visual features from high-resolution images.
|
| 31 |
+
|
| 32 |
+
### Release Date: <br>
|
| 33 |
+
|
| 34 |
+
Huggingface [07/26/2025] via [https://huggingface.co/nvidia/VILA-HD-8B-PS3-1.5K-SigLIP2] <br>
|
| 35 |
+
|
| 36 |
+
### Reference(s):
|
| 37 |
+
|
| 38 |
+
The model is from the paper [Scaling Vision Pre-Training to 4K Resolution](https://arxiv.org/abs/2503.19903). Useful links:
|
| 39 |
+
|
| 40 |
+
[](https://nvlabs.github.io/PS3/)
|
| 41 |
+
[](https://arxiv.org/abs/2503.19903)
|
| 42 |
+
[](https://huggingface.co/spaces/bfshi/VILA-HD-demo)
|
| 43 |
+
[](https://huggingface.co/collections/nvidia/ps3-scaling-vision-pre-training-to-4k-resolution-682d0535b61c07afd45242e9)
|
| 44 |
+
[](https://huggingface.co/collections/nvidia/ps3-scaling-vision-pre-training-to-4k-resolution-682d0535b61c07afd45242e9)
|
| 45 |
+
[](https://github.com/NVlabs/PS3)
|
| 46 |
+
|
| 47 |
+
### Model Architecture:
|
| 48 |
+
**Architecture Type:** Neural Network
|
| 49 |
+
|
| 50 |
+
**Network Architecture:** Multi-modal Large Language Model designed for high-resolution images
|
| 51 |
+
|
| 52 |
+
**This model was developed based on [PS3-1.5K-SigLIP2](https://huggingface.co/nvidia/PS3-1.5K-SigLIP2) <br>
|
| 53 |
+
|
| 54 |
+
### Input: <br>
|
| 55 |
+
**Input Type(s):** Image and Text <br>
|
| 56 |
+
**Input Format:** Red, Green, Blue (RGB) and strings <br>
|
| 57 |
+
**Input Parameters:** Two Dimensional (2D) and One Dimensional (1D) <br>
|
| 58 |
+
**Other Properties Related to Input:** Image resolutions up to 1512*1512 and text input up to 12288 tokens <br>
|
| 59 |
+
|
| 60 |
+
### Output: <br>
|
| 61 |
+
**Output Type(s):** Text <br>
|
| 62 |
+
**Output Format:** Strings <br>
|
| 63 |
+
**Output Parameters:** One Dimensional (1D) <br>
|
| 64 |
+
**Other Properties Related to Output:** Text output up to 12288 tokens <br>
|
| 65 |
+
|
| 66 |
+
Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA’s hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions. <br>
|
| 67 |
+
|
| 68 |
+
## Software Integration:
|
| 69 |
+
**Runtime Engine(s):**
|
| 70 |
+
Not Applicable (N/A) <br>
|
| 71 |
+
|
| 72 |
+
**Supported Hardware Microarchitecture Compatibility:** <br>
|
| 73 |
+
NVIDIA Ampere <br>
|
| 74 |
+
NVIDIA Blackwell <br>
|
| 75 |
+
NVIDIA Hopper <br>
|
| 76 |
+
NVIDIA Jetson <br>
|
| 77 |
+
|
| 78 |
+
**Preferred/Supported Operating System(s):** <br>
|
| 79 |
+
Linux <br>
|
| 80 |
+
Linux 4 Tegra <br>
|
| 81 |
+
QNX <br>
|
| 82 |
+
Windows <br>
|
| 83 |
+
|
| 84 |
+
## Model Version(s):
|
| 85 |
+
|
| 86 |
+
v1.0 - Initial release
|
| 87 |
+
|
| 88 |
+
## Pre-Trained Models
|
| 89 |
+
|
| 90 |
+
### VILA-HD models
|
| 91 |
+
|
| 92 |
+
| Vision Model | Max Resolution | Pre-Trained Weights |
|
| 93 |
+
|-----------------|----------------|-------------------------------------------------------------------------|
|
| 94 |
+
| VILA-HD-8B-PS3-1.5K-SigLIP | 1512 * 1512 | [nvidia/VILA-HD-8B-PS3-1.5K-SigLIP](https://huggingface.co/nvidia/VILA-HD-8B-PS3-1.5K-SigLIP) |
|
| 95 |
+
| VILA-HD-8B-PS3-4K-SigLIP | 3780 * 3780 | [nvidia/VILA-HD-8B-PS3-4K-SigLIP](https://huggingface.co/nvidia/VILA-HD-8B-PS3-4K-SigLIP) |
|
| 96 |
+
| VILA-HD-8B-PS3-1.5K-C-RADIOv2 | 1536 * 1536 | [nvidia/VILA-HD-8B-PS3-1.5K-C-RADIOv2](https://huggingface.co/nvidia/VILA-HD-8B-PS3-1.5K-C-RADIOv2) |
|
| 97 |
+
| VILA-HD-8B-PS3-4K-C-RADIOv2 | 3840 * 3840 | [nvidia/VILA-HD-8B-PS3-4K-C-RADIOv2](https://huggingface.co/nvidia/VILA-HD-8B-PS3-4K-C-RADIOv2) |
|
| 98 |
+
| VILA-HD-8B-PS3-1.5K-SigLIP2 | 1512 * 1512 | [nvidia/VILA-HD-8B-PS3-1.5K-SigLIP2](https://huggingface.co/nvidia/VILA-HD-8B-PS3-1.5K-SigLIP2) |
|
| 99 |
+
| VILA-HD-8B-PS3-4K-SigLIP2 | 3780 * 3780 | [nvidia/VILA-HD-8B-PS3-4K-SigLIP2](https://huggingface.co/nvidia/VILA-HD-8B-PS3-4K-SigLIP2) |
|
| 100 |
+
|
| 101 |
+
## Training Datasets: <br>
|
| 102 |
+
|
| 103 |
+
72 datasets. See [Dataset Preparation](https://arxiv.org/abs/2412.04468) for more details.
|
| 104 |
+
|
| 105 |
+
Dataset partition: Training 100% <br>
|
| 106 |
+
|
| 107 |
+
## Training Dataset:
|
| 108 |
+
|
| 109 |
+
**Link:**
|
| 110 |
+
See [Dataset Preparation](https://arxiv.org/abs/2412.04468) for more details.
|
| 111 |
+
|
| 112 |
+
**Data Collection Method by dataset:** <br>
|
| 113 |
+
[Hybrid: Automated, Human]
|
| 114 |
+
|
| 115 |
+
**Labeling Method by dataset:** <br>
|
| 116 |
+
[Hybrid: Automated, Human]
|
| 117 |
+
|
| 118 |
+
**Properties (Quantity, Dataset Descriptions, Sensor(s)):** <br>
|
| 119 |
+
72 datasets splitted into 5 stages (Projector Alignment, Vision Encoder Alignment, Pre-Training, Image Instruction-Tuning, and Patch Selection Tuning) <br>
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
## Performance
|
| 123 |
+
|
| 124 |
+

|
| 125 |
+
|
| 126 |
+

|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
## Inference:
|
| 132 |
+
**Acceleration Engine:** N/A <br>
|
| 133 |
+
**Test Hardware:** <br>
|
| 134 |
+
The model is tested on NVIDIA A100 GPU.
|
| 135 |
+
|
| 136 |
+
## Inference instructions:
|
| 137 |
+
|
| 138 |
+
First install VILA, following the instructions [here](https://github.com/NVlabs/VILA).
|
| 139 |
+
|
| 140 |
+
Then install PS3, following the instructions in [PS3 repo](https://github.com/NVlabs/PS3).
|
| 141 |
+
|
| 142 |
+
VILA-HD inference shares the same API as VILA (see [here](https://github.com/NVlabs/VILA#inference)). Specifically, we provide `vila-infer` as a CLI tool to infer with VILA-HD models. As an example:
|
| 143 |
+
|
| 144 |
+
```bash
|
| 145 |
+
vila-infer --model-path nvidia/VILA-HD-8B-PS3-4K-SigLIP --conv-mode auto --text "Where does the exit lead to?" --media assets/av_example_1.jpg
|
| 146 |
+
```
|
| 147 |
+
|
| 148 |
+
VILA-HD has several arguments controlling the total number of high-res patches to process, the number of high-res patches to process at each scale, the mode of patch selection, etc. These can be controlled by setting the following **environment variables** during inference:
|
| 149 |
+
|
| 150 |
+
- `NUM_LOOK_CLOSE`: How many times to run high-res encoding. Each time PS3 encodes 2560 high-res patches. Can be set between 1 and 6 for 1.5K model and between 1 and 35 for 4K model. Default is 6 for both models.
|
| 151 |
+
- `NUM_TOKEN_LOOK_CLOSE`: How many high-res patches to encode. Provides more fine-grained control of # high-res patches than `NUM_LOOK_CLOSE`. Can be set between 1 and 14580 for 1.5K model and between 1 and 87480 for 4K model. Setting this will override `NUM_LOOK_CLOSE`. Default is `None`.
|
| 152 |
+
- `SELECT_NUM_EACH_SCALE`: The number of high-res patches to encode at each high-res scale. For example, setting `SELECT_NUM_EACH_SCALE=512+2048` for 1.5K model means the number of high-res patches to encode at 756 and 1512 scales are and 512 and 2048 respectively. By default, the number of patches at each scale is proportional to the number of total patches at that scale, i.e., `512+2048` for 1.5K model and `85+340+2125` for 4K model.
|
| 153 |
+
- `LOOK_CLOSE_MODE`: The mode of patch selection. Can be set as `after_prompt` or `after_image`. `after_prompt` means the high-res patches are selected based on the text prompt. `after_image` means the high-res patches are selected based on image saliency. Default is `after_prompt`.
|
| 154 |
+
- `SMOOTH_SELECTION_PROB`: Whether to use smooth selection probability during high-res patch selection. Can be set as 'true' or 'false'. Default is `false`.
|
| 155 |
+
|
| 156 |
+
For example, if you want to make VILA-HD to run high-res encoding for 12 times for better accuracy, you can set `NUM_LOOK_CLOSE=12` when running inference:
|
| 157 |
+
```bash
|
| 158 |
+
NUM_LOOK_CLOSE=12 vila-infer --model-path nvidia/VILA-HD-8B-PS3-4K-SigLIP --conv-mode auto --text "Where does the exit lead to?" --media assets/av_example_1.jpg
|
| 159 |
+
```
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
### Ethical Considerations:
|
| 163 |
+
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse. Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
|
| 164 |
+
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
## Citation
|
| 168 |
+
|
| 169 |
+
If you find this work useful in your research, please consider citing:
|
| 170 |
+
|
| 171 |
+
```bibtex
|
| 172 |
+
@article{shi2025scaling,
|
| 173 |
+
title={Scaling Vision Pre-Training to 4K Resolution},
|
| 174 |
+
author={Shi, Baifeng and Li, Boyi and Cai, Han and Lu, Yao and Liu, Sifei and Pavone, Marco and Kautz, Jan and Han, Song and Darrell, Trevor and Molchanov, Pavlo and others},
|
| 175 |
+
journal={arXiv preprint arXiv:2503.19903},
|
| 176 |
+
year={2025}
|
| 177 |
+
}
|
| 178 |
+
```
|
| 179 |
+
|
assets/av_example_1.jpg
ADDED
|
Git LFS Details
|
assets/vila_hd_results_1.png
ADDED
|
Git LFS Details
|
assets/vila_hd_results_2.png
ADDED
|
Git LFS Details
|
config.json
ADDED
|
@@ -0,0 +1,357 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"Ubit": 100,
|
| 3 |
+
"_attn_implementation_autoset": true,
|
| 4 |
+
"_name_or_path": "runs/train/stage35_BS16/model",
|
| 5 |
+
"architectures": [
|
| 6 |
+
"LlavaTopDownLlamaModel"
|
| 7 |
+
],
|
| 8 |
+
"babit": "E5M2",
|
| 9 |
+
"bobit": "E5M2",
|
| 10 |
+
"bwbit": "E5M2",
|
| 11 |
+
"chat_template": null,
|
| 12 |
+
"col_blocksize": -1,
|
| 13 |
+
"col_blocksize_optimizer": 128,
|
| 14 |
+
"draw_distribution_backward": false,
|
| 15 |
+
"draw_distribution_forward": false,
|
| 16 |
+
"drop_path_rate": 0.0,
|
| 17 |
+
"dynamic_s2": false,
|
| 18 |
+
"epsilon": 1e-10,
|
| 19 |
+
"epsilon_optimizer": 1e-15,
|
| 20 |
+
"fabit": "E4M3",
|
| 21 |
+
"first_order_bit": null,
|
| 22 |
+
"first_order_quant_type": null,
|
| 23 |
+
"fobit": "E4M3",
|
| 24 |
+
"fps": 0.0,
|
| 25 |
+
"fwbit": "E4M3",
|
| 26 |
+
"group_size": -1,
|
| 27 |
+
"hidden_size": 3584,
|
| 28 |
+
"high_res_pos_embed": true,
|
| 29 |
+
"image_aspect_ratio": "resize",
|
| 30 |
+
"image_encoder": {
|
| 31 |
+
"_target_": "llava.model.encoders.BasicImageEncoder"
|
| 32 |
+
},
|
| 33 |
+
"interpolate_mode": "linear",
|
| 34 |
+
"llm_cfg": {
|
| 35 |
+
"_attn_implementation_autoset": false,
|
| 36 |
+
"_name_or_path": "runs/train/stage35_BS16/model/llm",
|
| 37 |
+
"add_cross_attention": false,
|
| 38 |
+
"architectures": [
|
| 39 |
+
"Qwen2ForCausalLM"
|
| 40 |
+
],
|
| 41 |
+
"attention_dropout": 0.0,
|
| 42 |
+
"bad_words_ids": null,
|
| 43 |
+
"begin_suppress_tokens": null,
|
| 44 |
+
"bos_token_id": 151643,
|
| 45 |
+
"chunk_size_feed_forward": 0,
|
| 46 |
+
"cross_attention_hidden_size": null,
|
| 47 |
+
"decoder_start_token_id": null,
|
| 48 |
+
"diversity_penalty": 0.0,
|
| 49 |
+
"do_sample": false,
|
| 50 |
+
"early_stopping": false,
|
| 51 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 52 |
+
"eos_token_id": 151645,
|
| 53 |
+
"exponential_decay_length_penalty": null,
|
| 54 |
+
"finetuning_task": null,
|
| 55 |
+
"forced_bos_token_id": null,
|
| 56 |
+
"forced_eos_token_id": null,
|
| 57 |
+
"hidden_act": "silu",
|
| 58 |
+
"hidden_size": 3584,
|
| 59 |
+
"id2label": {
|
| 60 |
+
"0": "LABEL_0",
|
| 61 |
+
"1": "LABEL_1"
|
| 62 |
+
},
|
| 63 |
+
"initializer_range": 0.02,
|
| 64 |
+
"intermediate_size": 18944,
|
| 65 |
+
"is_decoder": false,
|
| 66 |
+
"is_encoder_decoder": false,
|
| 67 |
+
"label2id": {
|
| 68 |
+
"LABEL_0": 0,
|
| 69 |
+
"LABEL_1": 1
|
| 70 |
+
},
|
| 71 |
+
"length_penalty": 1.0,
|
| 72 |
+
"max_length": 20,
|
| 73 |
+
"max_position_embeddings": 32768,
|
| 74 |
+
"max_window_layers": 28,
|
| 75 |
+
"min_length": 0,
|
| 76 |
+
"model_max_length": 10240,
|
| 77 |
+
"model_type": "qwen2",
|
| 78 |
+
"no_repeat_ngram_size": 0,
|
| 79 |
+
"num_attention_heads": 28,
|
| 80 |
+
"num_beam_groups": 1,
|
| 81 |
+
"num_beams": 1,
|
| 82 |
+
"num_hidden_layers": 28,
|
| 83 |
+
"num_key_value_heads": 4,
|
| 84 |
+
"num_return_sequences": 1,
|
| 85 |
+
"output_attentions": false,
|
| 86 |
+
"output_hidden_states": false,
|
| 87 |
+
"output_scores": false,
|
| 88 |
+
"pad_token_id": null,
|
| 89 |
+
"prefix": null,
|
| 90 |
+
"problem_type": null,
|
| 91 |
+
"pruned_heads": {},
|
| 92 |
+
"remove_invalid_values": false,
|
| 93 |
+
"repetition_penalty": 1.0,
|
| 94 |
+
"return_dict": true,
|
| 95 |
+
"return_dict_in_generate": false,
|
| 96 |
+
"rms_norm_eps": 1e-06,
|
| 97 |
+
"rope_scaling": null,
|
| 98 |
+
"rope_theta": 1000000.0,
|
| 99 |
+
"sep_token_id": null,
|
| 100 |
+
"sliding_window": null,
|
| 101 |
+
"suppress_tokens": null,
|
| 102 |
+
"task_specific_params": null,
|
| 103 |
+
"temperature": 1.0,
|
| 104 |
+
"tf_legacy_loss": false,
|
| 105 |
+
"tie_encoder_decoder": false,
|
| 106 |
+
"tie_word_embeddings": false,
|
| 107 |
+
"tokenizer_class": null,
|
| 108 |
+
"top_k": 50,
|
| 109 |
+
"top_p": 1.0,
|
| 110 |
+
"torch_dtype": "bfloat16",
|
| 111 |
+
"torchscript": false,
|
| 112 |
+
"typical_p": 1.0,
|
| 113 |
+
"use_bfloat16": false,
|
| 114 |
+
"use_cache": true,
|
| 115 |
+
"use_sliding_window": false,
|
| 116 |
+
"vocab_size": 151651
|
| 117 |
+
},
|
| 118 |
+
"look_close_mode": "after_prompt",
|
| 119 |
+
"max_tiles": 12,
|
| 120 |
+
"min_blockunit_col": 4,
|
| 121 |
+
"min_blockunit_row": 4,
|
| 122 |
+
"min_tiles": 1,
|
| 123 |
+
"mlp_path": null,
|
| 124 |
+
"mm_hidden_size": 1152,
|
| 125 |
+
"mm_low_res_token_num": 729,
|
| 126 |
+
"mm_projector": "mlp_downsample",
|
| 127 |
+
"mm_projector_cfg": {
|
| 128 |
+
"_attn_implementation_autoset": false,
|
| 129 |
+
"_name_or_path": "runs/train/stage35_BS16/model/mm_projector",
|
| 130 |
+
"add_cross_attention": false,
|
| 131 |
+
"architectures": [
|
| 132 |
+
"MultimodalProjector"
|
| 133 |
+
],
|
| 134 |
+
"bad_words_ids": null,
|
| 135 |
+
"begin_suppress_tokens": null,
|
| 136 |
+
"bos_token_id": null,
|
| 137 |
+
"chunk_size_feed_forward": 0,
|
| 138 |
+
"cross_attention_hidden_size": null,
|
| 139 |
+
"decoder_start_token_id": null,
|
| 140 |
+
"diversity_penalty": 0.0,
|
| 141 |
+
"do_sample": false,
|
| 142 |
+
"early_stopping": false,
|
| 143 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 144 |
+
"eos_token_id": null,
|
| 145 |
+
"exponential_decay_length_penalty": null,
|
| 146 |
+
"finetuning_task": null,
|
| 147 |
+
"forced_bos_token_id": null,
|
| 148 |
+
"forced_eos_token_id": null,
|
| 149 |
+
"id2label": {
|
| 150 |
+
"0": "LABEL_0",
|
| 151 |
+
"1": "LABEL_1"
|
| 152 |
+
},
|
| 153 |
+
"is_decoder": false,
|
| 154 |
+
"is_encoder_decoder": false,
|
| 155 |
+
"label2id": {
|
| 156 |
+
"LABEL_0": 0,
|
| 157 |
+
"LABEL_1": 1
|
| 158 |
+
},
|
| 159 |
+
"length_penalty": 1.0,
|
| 160 |
+
"max_length": 20,
|
| 161 |
+
"min_length": 0,
|
| 162 |
+
"mm_projector_type": "mlp_downsample",
|
| 163 |
+
"model_type": "v2l_projector",
|
| 164 |
+
"no_repeat_ngram_size": 0,
|
| 165 |
+
"num_beam_groups": 1,
|
| 166 |
+
"num_beams": 1,
|
| 167 |
+
"num_return_sequences": 1,
|
| 168 |
+
"output_attentions": false,
|
| 169 |
+
"output_hidden_states": false,
|
| 170 |
+
"output_scores": false,
|
| 171 |
+
"pad_token_id": null,
|
| 172 |
+
"prefix": null,
|
| 173 |
+
"problem_type": null,
|
| 174 |
+
"pruned_heads": {},
|
| 175 |
+
"remove_invalid_values": false,
|
| 176 |
+
"repetition_penalty": 1.0,
|
| 177 |
+
"return_dict": true,
|
| 178 |
+
"return_dict_in_generate": false,
|
| 179 |
+
"sep_token_id": null,
|
| 180 |
+
"suppress_tokens": null,
|
| 181 |
+
"task_specific_params": null,
|
| 182 |
+
"temperature": 1.0,
|
| 183 |
+
"tf_legacy_loss": false,
|
| 184 |
+
"tie_encoder_decoder": false,
|
| 185 |
+
"tie_word_embeddings": true,
|
| 186 |
+
"tokenizer_class": null,
|
| 187 |
+
"top_k": 50,
|
| 188 |
+
"top_p": 1.0,
|
| 189 |
+
"torch_dtype": "bfloat16",
|
| 190 |
+
"torchscript": false,
|
| 191 |
+
"typical_p": 1.0,
|
| 192 |
+
"use_bfloat16": false
|
| 193 |
+
},
|
| 194 |
+
"mm_projector_lr": null,
|
| 195 |
+
"mm_scale_num": 3,
|
| 196 |
+
"mm_use_im_patch_token": false,
|
| 197 |
+
"mm_use_im_start_end": false,
|
| 198 |
+
"mm_vision_select_feature": "cls_patch",
|
| 199 |
+
"mm_vision_select_layer": -2,
|
| 200 |
+
"model_dtype": "torch.bfloat16",
|
| 201 |
+
"model_name_or_path": "runs/train/stage3_BS16/model",
|
| 202 |
+
"model_type": "llava_topdown_llama",
|
| 203 |
+
"num_look_close": 6,
|
| 204 |
+
"num_time_tokens": 0,
|
| 205 |
+
"num_token_look_close": null,
|
| 206 |
+
"num_video_frames": 8,
|
| 207 |
+
"pad_block": false,
|
| 208 |
+
"pad_to_multiple_of": 0,
|
| 209 |
+
"ps3": true,
|
| 210 |
+
"ps3_dynamic_aspect_ratio": false,
|
| 211 |
+
"qchoice": "none",
|
| 212 |
+
"quantize_model": false,
|
| 213 |
+
"refine_attn_blocksize": false,
|
| 214 |
+
"refine_col_blocksize": 4,
|
| 215 |
+
"refine_ln_blocksize": false,
|
| 216 |
+
"refine_ln_blocksize_but_only_backward": false,
|
| 217 |
+
"refine_ln_blocksize_but_only_forward": false,
|
| 218 |
+
"refine_ln_pertoken": false,
|
| 219 |
+
"refine_mlp_blocksize": false,
|
| 220 |
+
"refine_residual_fp": false,
|
| 221 |
+
"refine_row_blocksize": 4,
|
| 222 |
+
"resume_path": "runs/train/stage35_BS16/model",
|
| 223 |
+
"row_blocksize": -1,
|
| 224 |
+
"row_blocksize_optimizer": 1,
|
| 225 |
+
"s2": false,
|
| 226 |
+
"s2_max_split_size": 336,
|
| 227 |
+
"s2_resize_output_to_scale_idx": 0,
|
| 228 |
+
"s2_scales": "336,672,1008",
|
| 229 |
+
"second_order_bit": null,
|
| 230 |
+
"second_order_quant_type": null,
|
| 231 |
+
"soft_ce_std": 1.0,
|
| 232 |
+
"symm": true,
|
| 233 |
+
"time_token_format": "<t{t}>",
|
| 234 |
+
"time_token_ids": [],
|
| 235 |
+
"top_down_prompt_head_type": "mlp",
|
| 236 |
+
"transformers_version": "4.46.0",
|
| 237 |
+
"tune_language_model": false,
|
| 238 |
+
"tune_mm_projector": false,
|
| 239 |
+
"tune_vision_tower": false,
|
| 240 |
+
"use_quantize_optimizer": false,
|
| 241 |
+
"version": "auto",
|
| 242 |
+
"video_encoder": {
|
| 243 |
+
"_target_": "llava.model.encoders.BasicVideoEncoder"
|
| 244 |
+
},
|
| 245 |
+
"video_max_tiles": 1,
|
| 246 |
+
"vision_resolution": -1,
|
| 247 |
+
"vision_tower": "/home/baifengs/baifengs/projects/open_clip/hf_ckpt/250325_1632",
|
| 248 |
+
"vision_tower_cfg": {
|
| 249 |
+
"_attn_implementation_autoset": false,
|
| 250 |
+
"_name_or_path": "runs/train/stage35_BS16/model/vision_tower",
|
| 251 |
+
"add_cross_attention": false,
|
| 252 |
+
"architectures": [
|
| 253 |
+
"PS3VisionModel"
|
| 254 |
+
],
|
| 255 |
+
"bad_words_ids": null,
|
| 256 |
+
"begin_suppress_tokens": null,
|
| 257 |
+
"bos_token_id": null,
|
| 258 |
+
"chunk_size_feed_forward": 0,
|
| 259 |
+
"class_token": null,
|
| 260 |
+
"cross_attention_hidden_size": null,
|
| 261 |
+
"decoder_start_token_id": null,
|
| 262 |
+
"diversity_penalty": 0.0,
|
| 263 |
+
"do_sample": false,
|
| 264 |
+
"drop": 0.0,
|
| 265 |
+
"drop_path": null,
|
| 266 |
+
"dynamic_img_size": true,
|
| 267 |
+
"early_stopping": false,
|
| 268 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 269 |
+
"eos_token_id": null,
|
| 270 |
+
"exponential_decay_length_penalty": null,
|
| 271 |
+
"final_norm": false,
|
| 272 |
+
"finetuning_task": null,
|
| 273 |
+
"forced_bos_token_id": null,
|
| 274 |
+
"forced_eos_token_id": null,
|
| 275 |
+
"hidden_size": 1152,
|
| 276 |
+
"highres_selection_feature": true,
|
| 277 |
+
"highres_selection_module_depth": 3,
|
| 278 |
+
"highres_selection_module_hidden_dim": 512,
|
| 279 |
+
"highres_selection_module_kernel_size": 28,
|
| 280 |
+
"highres_selection_module_out_dim": 512,
|
| 281 |
+
"id2label": {
|
| 282 |
+
"0": "LABEL_0",
|
| 283 |
+
"1": "LABEL_1"
|
| 284 |
+
},
|
| 285 |
+
"image_size": 1512,
|
| 286 |
+
"img_size": null,
|
| 287 |
+
"is_decoder": false,
|
| 288 |
+
"is_encoder_decoder": false,
|
| 289 |
+
"label2id": {
|
| 290 |
+
"LABEL_0": 0,
|
| 291 |
+
"LABEL_1": 1
|
| 292 |
+
},
|
| 293 |
+
"length_penalty": 1.0,
|
| 294 |
+
"max_length": 20,
|
| 295 |
+
"max_select_num": 2560,
|
| 296 |
+
"max_select_num_each_scale": null,
|
| 297 |
+
"min_length": 0,
|
| 298 |
+
"min_select_num": 1,
|
| 299 |
+
"model_name": "vit_so400m_patch14_siglip_378",
|
| 300 |
+
"model_type": "ps3_vision_model",
|
| 301 |
+
"no_repeat_ngram_size": 0,
|
| 302 |
+
"num_beam_groups": 1,
|
| 303 |
+
"num_beams": 1,
|
| 304 |
+
"num_return_sequences": 1,
|
| 305 |
+
"output_attentions": false,
|
| 306 |
+
"output_hidden_states": false,
|
| 307 |
+
"output_scores": false,
|
| 308 |
+
"pad_token_id": null,
|
| 309 |
+
"patch_drop": null,
|
| 310 |
+
"patch_size": 14,
|
| 311 |
+
"pool": "map",
|
| 312 |
+
"prefix": null,
|
| 313 |
+
"pretrained": false,
|
| 314 |
+
"problem_type": null,
|
| 315 |
+
"pruned_heads": {},
|
| 316 |
+
"radio": false,
|
| 317 |
+
"radio_adapter_mlp_hidden_dim": null,
|
| 318 |
+
"radio_adapter_mlp_input_dim": null,
|
| 319 |
+
"radio_adapter_mlp_num_inner": null,
|
| 320 |
+
"radio_adapter_mlp_output_dim": null,
|
| 321 |
+
"radio_adapter_mlp_version": null,
|
| 322 |
+
"remove_invalid_values": false,
|
| 323 |
+
"repetition_penalty": 1.0,
|
| 324 |
+
"return_dict": true,
|
| 325 |
+
"return_dict_in_generate": false,
|
| 326 |
+
"s3_scales": [
|
| 327 |
+
378,
|
| 328 |
+
756,
|
| 329 |
+
1512
|
| 330 |
+
],
|
| 331 |
+
"select_based_on_layer": [
|
| 332 |
+
0,
|
| 333 |
+
9,
|
| 334 |
+
18,
|
| 335 |
+
26
|
| 336 |
+
],
|
| 337 |
+
"sep_token_id": null,
|
| 338 |
+
"separate_pos_emb": true,
|
| 339 |
+
"seperate_pos_emb": true,
|
| 340 |
+
"suppress_tokens": null,
|
| 341 |
+
"task_specific_params": null,
|
| 342 |
+
"temperature": 1.0,
|
| 343 |
+
"tf_legacy_loss": false,
|
| 344 |
+
"tie_encoder_decoder": false,
|
| 345 |
+
"tie_word_embeddings": true,
|
| 346 |
+
"tokenizer_class": null,
|
| 347 |
+
"top_k": 50,
|
| 348 |
+
"top_p": 1.0,
|
| 349 |
+
"torch_dtype": "bfloat16",
|
| 350 |
+
"torchscript": false,
|
| 351 |
+
"typical_p": 1.0,
|
| 352 |
+
"use_bfloat16": false,
|
| 353 |
+
"vision_tower_name": "vit_so400m_patch14_siglip_378"
|
| 354 |
+
},
|
| 355 |
+
"vision_tower_lr": null,
|
| 356 |
+
"weight_memory_efficient": true
|
| 357 |
+
}
|
llm/added_tokens.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<image>": 151647,
|
| 3 |
+
"<vila/sentinel>": 151646,
|
| 4 |
+
"<vila/video>": 151648,
|
| 5 |
+
"<|endoftext|>": 151643,
|
| 6 |
+
"<|im_end|>": 151645,
|
| 7 |
+
"<|im_start|>": 151644,
|
| 8 |
+
"[BOS]": 151649,
|
| 9 |
+
"[PAD]": 151650
|
| 10 |
+
}
|
llm/config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "runs/train/stage35_BS16/model/llm",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"Qwen2ForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 151643,
|
| 8 |
+
"eos_token_id": 151645,
|
| 9 |
+
"hidden_act": "silu",
|
| 10 |
+
"hidden_size": 3584,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 18944,
|
| 13 |
+
"max_position_embeddings": 32768,
|
| 14 |
+
"max_window_layers": 28,
|
| 15 |
+
"model_max_length": 10240,
|
| 16 |
+
"model_type": "qwen2",
|
| 17 |
+
"num_attention_heads": 28,
|
| 18 |
+
"num_hidden_layers": 28,
|
| 19 |
+
"num_key_value_heads": 4,
|
| 20 |
+
"rms_norm_eps": 1e-06,
|
| 21 |
+
"rope_scaling": null,
|
| 22 |
+
"rope_theta": 1000000.0,
|
| 23 |
+
"sliding_window": null,
|
| 24 |
+
"tie_word_embeddings": false,
|
| 25 |
+
"torch_dtype": "bfloat16",
|
| 26 |
+
"transformers_version": "4.46.0",
|
| 27 |
+
"use_cache": true,
|
| 28 |
+
"use_sliding_window": false,
|
| 29 |
+
"vocab_size": 151651
|
| 30 |
+
}
|
llm/generation_config.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"repetition_penalty": 1.05,
|
| 10 |
+
"temperature": 0.7,
|
| 11 |
+
"top_k": 20,
|
| 12 |
+
"top_p": 0.8,
|
| 13 |
+
"transformers_version": "4.46.0"
|
| 14 |
+
}
|
llm/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
llm/model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bd976e2776c0e11d26387f6395edf227167ae46881574c1b0d9ca788e46a34c
|
| 3 |
+
size 4874700392
|
llm/model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ee7a97a9c2614dd0d49e1513d373d86516868619a315506690e87eaa2f50c0d
|
| 3 |
+
size 4932751008
|
llm/model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd6a32e5cdfd0b00d5d00794f5194223c4c4b05338dae7a7b44ddaad8ac15a99
|
| 3 |
+
size 4330865200
|
llm/model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c456a247150856f48f0630ece75e4ca2956f9ae6d905b4c94d127fb5a3206be
|
| 3 |
+
size 1087034496
|
llm/model.safetensors.index.json
ADDED
|
@@ -0,0 +1,346 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 15225312256
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"lm_head.weight": "model-00004-of-00004.safetensors",
|
| 7 |
+
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
| 8 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 9 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 10 |
+
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 11 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 12 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 13 |
+
"model.layers.0.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 14 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 15 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 16 |
+
"model.layers.0.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 17 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 18 |
+
"model.layers.0.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 19 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 20 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 21 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 22 |
+
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 23 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 24 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 25 |
+
"model.layers.1.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 26 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 27 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 28 |
+
"model.layers.1.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 29 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 30 |
+
"model.layers.1.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 31 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 32 |
+
"model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 33 |
+
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 34 |
+
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 35 |
+
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 36 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 37 |
+
"model.layers.10.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 38 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 39 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 40 |
+
"model.layers.10.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 41 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 42 |
+
"model.layers.10.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 43 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 44 |
+
"model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 45 |
+
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 46 |
+
"model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 47 |
+
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 48 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 49 |
+
"model.layers.11.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 50 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 51 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 52 |
+
"model.layers.11.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 53 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 54 |
+
"model.layers.11.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 55 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 56 |
+
"model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 57 |
+
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 58 |
+
"model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 59 |
+
"model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 60 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 61 |
+
"model.layers.12.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 62 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 63 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 64 |
+
"model.layers.12.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 65 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 66 |
+
"model.layers.12.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 67 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 68 |
+
"model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 69 |
+
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 70 |
+
"model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 71 |
+
"model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 72 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 73 |
+
"model.layers.13.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 74 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 75 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 76 |
+
"model.layers.13.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 77 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 78 |
+
"model.layers.13.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 79 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 80 |
+
"model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 81 |
+
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 82 |
+
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 83 |
+
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 84 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 85 |
+
"model.layers.14.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 86 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 87 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 88 |
+
"model.layers.14.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 89 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 90 |
+
"model.layers.14.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 91 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 92 |
+
"model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 93 |
+
"model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 94 |
+
"model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 95 |
+
"model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 96 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 97 |
+
"model.layers.15.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 98 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 99 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 100 |
+
"model.layers.15.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 101 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 102 |
+
"model.layers.15.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 103 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 104 |
+
"model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 105 |
+
"model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 106 |
+
"model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 107 |
+
"model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 108 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 109 |
+
"model.layers.16.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 110 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 111 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 112 |
+
"model.layers.16.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 113 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 114 |
+
"model.layers.16.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 115 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 116 |
+
"model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 117 |
+
"model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 118 |
+
"model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 119 |
+
"model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 120 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 121 |
+
"model.layers.17.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 122 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 123 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 124 |
+
"model.layers.17.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 125 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 126 |
+
"model.layers.17.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 127 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 128 |
+
"model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 129 |
+
"model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 130 |
+
"model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 131 |
+
"model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 132 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 133 |
+
"model.layers.18.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 134 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 135 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 136 |
+
"model.layers.18.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 137 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 138 |
+
"model.layers.18.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 139 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 140 |
+
"model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 141 |
+
"model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 142 |
+
"model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 143 |
+
"model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 144 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 145 |
+
"model.layers.19.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 146 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 147 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 148 |
+
"model.layers.19.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 149 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 150 |
+
"model.layers.19.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 151 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 152 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 153 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 154 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 155 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 156 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 157 |
+
"model.layers.2.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 158 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 159 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 160 |
+
"model.layers.2.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 161 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 162 |
+
"model.layers.2.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 163 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 164 |
+
"model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 165 |
+
"model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 166 |
+
"model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 167 |
+
"model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 168 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 169 |
+
"model.layers.20.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 170 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 171 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 172 |
+
"model.layers.20.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 173 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 174 |
+
"model.layers.20.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 175 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 176 |
+
"model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 177 |
+
"model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 178 |
+
"model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 179 |
+
"model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 180 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 181 |
+
"model.layers.21.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 182 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 183 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 184 |
+
"model.layers.21.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 185 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 186 |
+
"model.layers.21.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 187 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 188 |
+
"model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 189 |
+
"model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 190 |
+
"model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 191 |
+
"model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 192 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 193 |
+
"model.layers.22.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 194 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 195 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 196 |
+
"model.layers.22.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 197 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 198 |
+
"model.layers.22.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 199 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 200 |
+
"model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 201 |
+
"model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 202 |
+
"model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 203 |
+
"model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 204 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 205 |
+
"model.layers.23.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 206 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 207 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 208 |
+
"model.layers.23.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 209 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 210 |
+
"model.layers.23.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 211 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 212 |
+
"model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 213 |
+
"model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 214 |
+
"model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 215 |
+
"model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 216 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 217 |
+
"model.layers.24.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 218 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 219 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 220 |
+
"model.layers.24.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 221 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 222 |
+
"model.layers.24.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 223 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 224 |
+
"model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 225 |
+
"model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 226 |
+
"model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 227 |
+
"model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 228 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 229 |
+
"model.layers.25.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 230 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 231 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 232 |
+
"model.layers.25.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 233 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 234 |
+
"model.layers.25.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 235 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 236 |
+
"model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 237 |
+
"model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 238 |
+
"model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 239 |
+
"model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 240 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 241 |
+
"model.layers.26.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 242 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 243 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 244 |
+
"model.layers.26.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 245 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 246 |
+
"model.layers.26.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 247 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 248 |
+
"model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 249 |
+
"model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
| 250 |
+
"model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
| 251 |
+
"model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
| 252 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
| 253 |
+
"model.layers.27.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
|
| 254 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
| 255 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
| 256 |
+
"model.layers.27.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
|
| 257 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
| 258 |
+
"model.layers.27.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
|
| 259 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
| 260 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 261 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 262 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 263 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 264 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 265 |
+
"model.layers.3.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 266 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 267 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 268 |
+
"model.layers.3.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 269 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 270 |
+
"model.layers.3.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 271 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 272 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 273 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 274 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 275 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 276 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 277 |
+
"model.layers.4.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 278 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 279 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 280 |
+
"model.layers.4.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 281 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 282 |
+
"model.layers.4.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 283 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 284 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 285 |
+
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 286 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 287 |
+
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 288 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 289 |
+
"model.layers.5.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 290 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 291 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 292 |
+
"model.layers.5.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 293 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 294 |
+
"model.layers.5.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 295 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 296 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 297 |
+
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 298 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 299 |
+
"model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 300 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 301 |
+
"model.layers.6.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 302 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 303 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 304 |
+
"model.layers.6.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 305 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 306 |
+
"model.layers.6.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 307 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 308 |
+
"model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 309 |
+
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
| 310 |
+
"model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
| 311 |
+
"model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
| 312 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
| 313 |
+
"model.layers.7.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 314 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 315 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 316 |
+
"model.layers.7.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 317 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 318 |
+
"model.layers.7.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 319 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 320 |
+
"model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 321 |
+
"model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 322 |
+
"model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 323 |
+
"model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 324 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 325 |
+
"model.layers.8.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
|
| 326 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
| 327 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
| 328 |
+
"model.layers.8.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
|
| 329 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
| 330 |
+
"model.layers.8.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
|
| 331 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
| 332 |
+
"model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 333 |
+
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
| 334 |
+
"model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
| 335 |
+
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
| 336 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
| 337 |
+
"model.layers.9.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
|
| 338 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
| 339 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
| 340 |
+
"model.layers.9.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
|
| 341 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
| 342 |
+
"model.layers.9.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
|
| 343 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
| 344 |
+
"model.norm.weight": "model-00003-of-00004.safetensors"
|
| 345 |
+
}
|
| 346 |
+
}
|
llm/special_tokens_map.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>"
|
| 5 |
+
],
|
| 6 |
+
"bos_token": {
|
| 7 |
+
"content": "[BOS]",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false
|
| 12 |
+
},
|
| 13 |
+
"eos_token": {
|
| 14 |
+
"content": "<|im_end|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false
|
| 19 |
+
},
|
| 20 |
+
"pad_token": {
|
| 21 |
+
"content": "[PAD]",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false
|
| 26 |
+
}
|
| 27 |
+
}
|
llm/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e32c89278b0dc4bb7260c8a00c4c2331f4167b9d46034f7bc297c670b5a238c1
|
| 3 |
+
size 11419195
|
llm/tokenizer_config.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "<vila/sentinel>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"151647": {
|
| 37 |
+
"content": "<image>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"151648": {
|
| 45 |
+
"content": "<vila/video>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"151649": {
|
| 53 |
+
"content": "[BOS]",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"151650": {
|
| 61 |
+
"content": "[PAD]",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
"additional_special_tokens": [
|
| 70 |
+
"<|im_start|>",
|
| 71 |
+
"<|im_end|>"
|
| 72 |
+
],
|
| 73 |
+
"bos_token": "[BOS]",
|
| 74 |
+
"chat_template": "{% if messages[0]['role'] != 'system' %}{{ '<|im_start|>system\\nYou are a helpful assistant<|im_end|>\\n' }}{% endif %}{% for message in messages if message['content'] is not none %}{{ '<|im_start|>' + message['role'] + '\\n' + message['content'] + '<|im_end|>' + '\\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\\n' }}{% endif %}",
|
| 75 |
+
"clean_up_tokenization_spaces": false,
|
| 76 |
+
"eos_token": "<|im_end|>",
|
| 77 |
+
"errors": "replace",
|
| 78 |
+
"legacy": false,
|
| 79 |
+
"model_max_length": 10240,
|
| 80 |
+
"pad_token": "[PAD]",
|
| 81 |
+
"padding_side": "right",
|
| 82 |
+
"split_special_tokens": false,
|
| 83 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 84 |
+
"unk_token": null
|
| 85 |
+
}
|
llm/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
mm_projector/config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "runs/train/stage35_BS16/model/mm_projector",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"MultimodalProjector"
|
| 5 |
+
],
|
| 6 |
+
"mm_projector_type": "mlp_downsample",
|
| 7 |
+
"model_type": "v2l_projector",
|
| 8 |
+
"torch_dtype": "bfloat16",
|
| 9 |
+
"transformers_version": "4.46.0"
|
| 10 |
+
}
|
mm_projector/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e245c4728dd032930279696f5c55c614ada446be82adea54ce99a68c76017118
|
| 3 |
+
size 85841144
|
vision_tower/config.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "runs/train/stage35_BS16/model/vision_tower",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"PS3VisionModel"
|
| 5 |
+
],
|
| 6 |
+
"class_token": null,
|
| 7 |
+
"drop": 0.0,
|
| 8 |
+
"drop_path": null,
|
| 9 |
+
"dynamic_img_size": true,
|
| 10 |
+
"final_norm": false,
|
| 11 |
+
"hidden_size": 1152,
|
| 12 |
+
"highres_selection_feature": true,
|
| 13 |
+
"highres_selection_module_depth": 3,
|
| 14 |
+
"highres_selection_module_hidden_dim": 512,
|
| 15 |
+
"highres_selection_module_kernel_size": 28,
|
| 16 |
+
"highres_selection_module_out_dim": 512,
|
| 17 |
+
"image_size": 1512,
|
| 18 |
+
"img_size": null,
|
| 19 |
+
"max_select_num": 2560,
|
| 20 |
+
"max_select_num_each_scale": null,
|
| 21 |
+
"min_select_num": 1,
|
| 22 |
+
"model_name": "vit_so400m_patch14_siglip_378",
|
| 23 |
+
"model_type": "ps3_vision_model",
|
| 24 |
+
"patch_drop": null,
|
| 25 |
+
"patch_size": 14,
|
| 26 |
+
"pool": "map",
|
| 27 |
+
"pretrained": false,
|
| 28 |
+
"radio": false,
|
| 29 |
+
"radio_adapter_mlp_hidden_dim": null,
|
| 30 |
+
"radio_adapter_mlp_input_dim": null,
|
| 31 |
+
"radio_adapter_mlp_num_inner": null,
|
| 32 |
+
"radio_adapter_mlp_output_dim": null,
|
| 33 |
+
"radio_adapter_mlp_version": null,
|
| 34 |
+
"s3_scales": [
|
| 35 |
+
378,
|
| 36 |
+
756,
|
| 37 |
+
1512
|
| 38 |
+
],
|
| 39 |
+
"select_based_on_layer": [
|
| 40 |
+
0,
|
| 41 |
+
9,
|
| 42 |
+
18,
|
| 43 |
+
26
|
| 44 |
+
],
|
| 45 |
+
"separate_pos_emb": true,
|
| 46 |
+
"seperate_pos_emb": true,
|
| 47 |
+
"torch_dtype": "bfloat16",
|
| 48 |
+
"transformers_version": "4.46.0",
|
| 49 |
+
"vision_tower_name": "vit_so400m_patch14_siglip_378"
|
| 50 |
+
}
|
vision_tower/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a46eaa03eedf8b36eef5e8af97dd71672459b486e8f402374b63465023fda9b
|
| 3 |
+
size 971883368
|
vision_tower/preprocessor_config.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 1512,
|
| 4 |
+
"width": 1512
|
| 5 |
+
},
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.5,
|
| 8 |
+
0.5,
|
| 9 |
+
0.5
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "PS3ImageProcessor",
|
| 12 |
+
"image_size": [
|
| 13 |
+
1512,
|
| 14 |
+
1512
|
| 15 |
+
],
|
| 16 |
+
"image_std": [
|
| 17 |
+
0.5,
|
| 18 |
+
0.5,
|
| 19 |
+
0.5
|
| 20 |
+
],
|
| 21 |
+
"interpolation": "bicubic",
|
| 22 |
+
"mean": [
|
| 23 |
+
0.5,
|
| 24 |
+
0.5,
|
| 25 |
+
0.5
|
| 26 |
+
],
|
| 27 |
+
"resize_mode": "squash",
|
| 28 |
+
"size": {
|
| 29 |
+
"shortest_edge": 1512
|
| 30 |
+
},
|
| 31 |
+
"std": [
|
| 32 |
+
0.5,
|
| 33 |
+
0.5,
|
| 34 |
+
0.5
|
| 35 |
+
]
|
| 36 |
+
}
|