初始化项目,由ModelHub XC社区提供模型
Model: openthaigpt/openthaigpt1.5-14b-instruct Source: Original Platform
This commit is contained in:
38
.gitattributes
vendored
Normal file
38
.gitattributes
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
gguf/openthaigpt1.5-14B-F16-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gguf/openthaigpt1.5-14B-F16-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
gguf/openthaigpt1.5-14B-Q4KM.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
408
README.md
Normal file
408
README.md
Normal file
@@ -0,0 +1,408 @@
|
||||
---
|
||||
license: other
|
||||
license_name: qwen
|
||||
language:
|
||||
- th
|
||||
- en
|
||||
library_name: transformers
|
||||
pipeline_tag: text-generation
|
||||
tags:
|
||||
- openthaigpt
|
||||
- qwen
|
||||
model-index:
|
||||
- name: OpenThaiGPT1.5-14b
|
||||
results:
|
||||
- task:
|
||||
type: text-generation
|
||||
dataset:
|
||||
name: ThaiExam
|
||||
type: multiple_choices
|
||||
metrics:
|
||||
- name: Thai Exam(Acc)
|
||||
type: accuracy
|
||||
value: 58.41
|
||||
source:
|
||||
name: 🇹🇭 Thai LLM Leaderboard
|
||||
url: https://huggingface.co/spaces/ThaiLLM-Leaderboard/leaderboard
|
||||
- task:
|
||||
type: text-generation
|
||||
dataset:
|
||||
name: M3Exam
|
||||
type: multiple_choices
|
||||
metrics:
|
||||
- name: M3Exam(Acc)
|
||||
type: Accuracy
|
||||
value: 62.41
|
||||
source:
|
||||
name: 🇹🇭 Thai LLM Leaderboard
|
||||
url: https://huggingface.co/spaces/ThaiLLM-Leaderboard/leaderboard
|
||||
---
|
||||
|
||||
# 🇹🇭 OpenThaiGPT 14b 1.5 Instruct
|
||||

|
||||
[More Info](https://openthai.aieat.or.th/)
|
||||
|
||||
🇹🇭 **OpenThaiGPT 14b Version 1.5** is an advanced 14-billion-parameter Thai language chat model based on Qwen v2.5 released on October 13, 2024. It has been specifically fine-tuned on over 2,000,000 Thai instruction pairs and is capable of answering Thai-specific domain questions.
|
||||
|
||||
<a href="https://cdn-uploads.huggingface.co/production/uploads/5fcd9c426d942eaf4d1ebd30/NoVK86trV6I8LSEduOQ_K.png" target="_blank"><img src="https://cdn-uploads.huggingface.co/production/uploads/5fcd9c426d942eaf4d1ebd30/NoVK86trV6I8LSEduOQ_K.png" style="width:800px"></a>
|
||||
## Online Demo:
|
||||
https://demo72b.aieat.or.th/
|
||||
|
||||
## Example code for API Calling
|
||||
https://github.com/OpenThaiGPT/openthaigpt1.5_api_examples
|
||||
|
||||
> ### 📢 OpenThaiGPT is now **OpenThai**
|
||||
> The project was renamed in July 2026. Released models keep their original names, and
|
||||
> this repository path is unchanged and permanent.
|
||||
> → [openthai.aieat.or.th](https://openthai.aieat.or.th)
|
||||
|
||||
### Other models in the family
|
||||
|
||||
| Need | Model |
|
||||
|---|---|
|
||||
| ⚖️ Thai law, statute citation, legal RAG | [**OpenThai 2.0 Legal 30B-A3B**](https://huggingface.co/iapp/openthai2.0-legal-thaillm-nemotron-3-nano-30b-a3b) ← newest |
|
||||
| 🧠 Reasoning, maths, logic, code | [OpenThaiGPT R1 32B](https://huggingface.co/openthaigpt/openthaigpt-r1-32b-instruct) |
|
||||
| 💬 General Thai chat and coding | [OpenThaiGPT 1.6 72B](https://huggingface.co/openthaigpt/openthaigpt-1.6-72b-instruct) |
|
||||
| 💻 Limited GPU | [OpenThaiGPT 1.5 7B](https://huggingface.co/openthaigpt/openthaigpt1.5-7b-instruct) |
|
||||
|
||||
## Highlights
|
||||
- **State-of-the-art Thai language LLM**, achieving the highest average scores across various Thai language exams compared to other open-source Thai LLMs.
|
||||
- **Multi-turn conversation support** for extended dialogues.
|
||||
- **Retrieval Augmented Generation (RAG) compatibility** for enhanced response generation.
|
||||
- **Impressive context handling**: Processes up to 131,072 tokens of input and generates up to 8,192 tokens, enabling detailed and complex interactions.
|
||||
- **Tool calling support**: Enables users to efficiently call various functions through intelligent responses.
|
||||
|
||||
## Benchmark on [OpenThaiGPT Eval](https://huggingface.co/datasets/openthaigpt/openthaigpt_eval)
|
||||
** Please take a look at ``openthaigpt/openthaigpt1.5-14b-instruct`` for this model's evaluation result.
|
||||
| **Exam names** | **scb10x/llama-3-typhoon-v1.5x-70b-instruct** | **Qwen/Qwen2.5-14B-Instruct** | **openthaigpt/openthaigpt1.5-14b** | **openthaigpt/openthaigpt1.5-72b** |
|
||||
|--------------------------------|-----------------------------------------------|-------------------------------|------------------------------------|------------------------------------|
|
||||
| **01_a_level** | 59.17% | 61.67% | 65.00% | 76.67% |
|
||||
| **02_tgat** | 46.00% | 44.00% | 50.00% | 46.00% |
|
||||
| **03_tpat1** | 52.50% | 60.00% | 52.50% | 55.00% |
|
||||
| **04_investment_consult** | 60.00% | 76.00% | 72.00% | 72.00% |
|
||||
| **05_facebook_beleble_th_200** | 87.50% | 84.50% | 87.00% | 90.00% |
|
||||
| **06_xcopa_th_200** | 84.50% | 85.00% | 86.50% | 90.50% |
|
||||
| **07_xnli2.0_th_200** | 62.50% | 69.50% | 64.50% | 70.50% |
|
||||
| **08_onet_m3_thai** | 76.00% | 76.00% | 84.00% | 84.00% |
|
||||
| **09_onet_m3_social** | 95.00% | 90.00% | 90.00% | 95.00% |
|
||||
| **10_onet_m3_math** | 43.75% | 43.75% | 12.50% | 37.50% |
|
||||
| **11_onet_m3_science** | 53.85% | 50.00% | 53.85% | 73.08% |
|
||||
| **12_onet_m3_english** | 93.33% | 93.33% | 93.33% | 96.67% |
|
||||
| **13_onet_m6_thai** | 55.38% | 52.31% | 56.92% | 56.92% |
|
||||
| **14_onet_m6_math** | 41.18% | 23.53% | 41.18% | 41.18% |
|
||||
| **15_onet_m6_social** | 67.27% | 60.00% | 61.82% | 65.45% |
|
||||
| **16_onet_m6_science** | 50.00% | 50.00% | 57.14% | 67.86% |
|
||||
| **17_onet_m6_english** | 73.08% | 82.69% | 78.85% | 90.38% |
|
||||
| **Micro Average** | 69.97% | 71.00% | <b style="color:blue">71.51%</b> | 76.73% |
|
||||
|
||||
Thai language multiple choice exams, Test on unseen test set, Zero-shot learning. Benchmark source code and exams information: https://github.com/OpenThaiGPT/openthaigpt_eval
|
||||
|
||||
(Updated on: 13 October 2024)
|
||||
|
||||
## Benchmark on [scb10x/thai_exam](https://huggingface.co/datasets/scb10x/thai_exam)
|
||||
|
||||
| Models | **Thai Exam (Acc)** |
|
||||
|:----------------------------------------------------------:|:-------------------:|
|
||||
| **api/claude-3-5-sonnet-20240620** | 69.2 |
|
||||
| <b style="color:blue">**openthaigpt/openthaigpt1.5-72b-instruct***</b> | <b style="color:blue">64.07</b> |
|
||||
| **api/gpt-4o-2024-05-13** | 63.89 |
|
||||
| **hugging-quants/Meta-Llama-3.1-405B-Instruct-AWQ-INT4** | 63.54 |
|
||||
| <b style="color:blue">**openthaigpt/openthaigpt1.5-14b-instruct***</b> | <b style="color:blue">59.65</b> |
|
||||
| **scb10x/llama-3-typhoon-v1.5x-70b-instruct** | 58.76 |
|
||||
| **Qwen/Qwen2-72B-Instruct** | 58.23 |
|
||||
| **meta-llama/Meta-Llama-3.1-70B-Instruct** | 58.23 |
|
||||
| **Qwen/Qwen2.5-14B-Instruct** | 57.35 |
|
||||
| **api/gpt-4o-mini-2024-07-18** | 54.51 |
|
||||
| <b style="color:blue">**openthaigpt/openthaigpt1.5-7b-instruct***</b> | <b style="color:blue">52.04</b> |
|
||||
| **SeaLLMs/SeaLLMs-v3-7B-Chat** | 51.33 |
|
||||
| **openthaigpt/openthaigpt-1.0.0-70b-chat** | 50.09 |
|
||||
|
||||
<b style="color:blue">*</b> Evaluated by OpenThaiGPT team using [scb10x/thai_exam](https://huggingface.co/datasets/scb10x/thai_exam).
|
||||
|
||||
(Updated on: 13 October 2024)
|
||||
|
||||
## Licenses
|
||||
* Built with Qwen
|
||||
* Qwen License: Allow **Research** and
|
||||
**Commercial uses** but if your user base exceeds 100 million monthly active users, you need to negotiate a separate commercial license. Please see LICENSE file for more information.<br>
|
||||
|
||||
## Sponsors
|
||||
<img src="https://cdn-uploads.huggingface.co/production/uploads/5fcd9c426d942eaf4d1ebd30/3kjN6kuTzXDXQ6o1RFvHX.png" width="600px">
|
||||
|
||||
## Supports
|
||||
- Official website: https://openthai.aieat.or.th
|
||||
- Facebook page: https://web.facebook.com/groups/openthaigpt
|
||||
- A Discord server for discussion and support [here](https://discord.gg/7KDdKkBGUs)
|
||||
- E-mail: kobkrit@aieat.or.th
|
||||
|
||||
## Prompt Format
|
||||
Prompt format is based on ChatML.
|
||||
```
|
||||
<|im_start|>system\n{sytem_prompt}<|im_end|>\n<|im_start|>user\n{prompt}<|im_end|>\n<|im_start|>assistant\n
|
||||
```
|
||||
|
||||
### System prompt:
|
||||
```
|
||||
คุณคือผู้ช่วยตอบคำถามที่ฉลาดและซื่อสัตย์
|
||||
```
|
||||
|
||||
### Examples
|
||||
|
||||
#### Single Turn Conversation Example
|
||||
```
|
||||
<|im_start|>system\nคุณคือผู้ช่วยตอบคำถามที่ฉลาดและซื่อสัตย์<|im_end|>\n<|im_start|>user\nสวัสดีครับ<|im_end|>\n<|im_start|>assistant\n
|
||||
```
|
||||
|
||||
#### Single Turn Conversation with Context (RAG) Example
|
||||
```
|
||||
<|im_start|>system\nคุณคือผู้ช่วยตอบคำถามที่ฉลาดและซื่อสัตย์<|im_end|>\n<|im_start|>user\nกรุงเทพมหานคร เป็นเมืองหลวง นครและมหานครที่มีประชากรมากที่สุดของประเทศไทย กรุงเทพมหานครมีพื้นที่ทั้งหมด 1,568.737 ตร.กม. มีประชากรตามทะเบียนราษฎรกว่า 8 ล้านคน\nกรุงเทพมหานครมีพื้นที่เท่าไร่<|im_end|>\n<|im_start|>assistant\n
|
||||
```
|
||||
|
||||
#### Multi Turn Conversation Example
|
||||
|
||||
##### First turn
|
||||
```
|
||||
<|im_start|>system\nคุณคือผู้ช่วยตอบคำถามที่ฉลาดและซื่อสัตย์<|im_end|>\n<|im_start|>user\nสวัสดีครับ<|im_end|>\n<|im_start|>assistant\n
|
||||
```
|
||||
|
||||
##### Second turn
|
||||
```
|
||||
<|im_start|>system\nคุณคือผู้ช่วยตอบคำถามที่ฉลาดและซื่อสัตย์<|im_end|>\n<|im_start|>user\nสวัสดีครับ<|im_end|>\n<|im_start|>assistant\nสวัสดีครับ ยินดีต้อนรับครับ คุณต้องการให้ฉันช่วยอะไรครับ?<|im_end|>\n<|im_start|>user\nกรุงเทพมหานคร ชื่อเต็มยาวๆคืออะไร<|im_end|>\n<|im_start|>assistant\n
|
||||
```
|
||||
|
||||
##### Result
|
||||
```
|
||||
<|im_start|>system\nคุณคือผู้ช่วยตอบคำถามที่ฉลาดและซื่อสัตย์<|im_end|>\n<|im_start|>user\nสวัสดีครับ<|im_end|>\n<|im_start|>assistant\nสวัสดีครับ ยินดีต้อนรับครับ คุณต้องการให้ฉันช่วยอะไรครับ?<|im_end|>\n<|im_start|>user\nกรุงเทพมหานคร ชื่อเต็มยาวๆคืออะไร<|im_end|>\n<|im_start|>assistant\nชื่อเต็มของกรุงเทพมหานครคือ \"กรุงเทพมหานคร อมรรัตนโกสินทร์ มหินทรายุธยา มหาดิลกภพ นพรัตนราชธานีบูรีรมย์ อุดมราชนิเวศน์มหาสถาน อมรพิมานอวตารสถิต สักกะทัตติยวิษณุกรรมประสิทธิ์\"
|
||||
```
|
||||
|
||||
## How to use
|
||||
|
||||
### Free API Service (hosted by Siam.Ai and Float16.cloud)
|
||||
|
||||
#### Siam.AI
|
||||
```bash
|
||||
curl https://api.aieat.or.th/v1/completions \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer dummy" \
|
||||
-d '{
|
||||
"model": ".",
|
||||
"prompt": "<|im_start|>system\nคุณคือผู้ช่วยตอบคำถามที่ฉลาดและซื่อสัตย์<|im_end|>\n<|im_start|>user\nกรุงเทพมหานครคืออะไร<|im_end|>\n<|im_start|>assistant\n",
|
||||
"max_tokens": 512,
|
||||
"temperature": 0.7,
|
||||
"top_p": 0.8,
|
||||
"top_k": 40,
|
||||
"stop": ["<|im_end|>"]
|
||||
}'
|
||||
```
|
||||
|
||||
#### Float16
|
||||
```bash
|
||||
curl -X POST https://api.float16.cloud/dedicate/78y8fJLuzE/v1/chat/completions \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer float16-AG0F8yNce5s1DiXm1ujcNrTaZquEdaikLwhZBRhyZQNeS7Dv0X" \
|
||||
-d '{
|
||||
"model": "openthaigpt/openthaigpt1.5-7b-instruct",
|
||||
"messages": [
|
||||
{
|
||||
"role": "system",
|
||||
"content": "คุณคือผู้ช่วยตอบคำถามที่ฉลาดและซื่อสัตย์"
|
||||
},
|
||||
{
|
||||
"role": "user",
|
||||
"content": "สวัสดี"
|
||||
}
|
||||
]
|
||||
}'
|
||||
```
|
||||
|
||||
### OpenAI Client Library (Hosted by VLLM, please see below.)
|
||||
```python
|
||||
import openai
|
||||
|
||||
# Configure OpenAI client to use vLLM server
|
||||
openai.api_base = "http://127.0.0.1:8000/v1"
|
||||
openai.api_key = "dummy" # vLLM doesn't require a real API key
|
||||
|
||||
prompt = "<|im_start|>system\nคุณคือผู้ช่วยตอบคำถามที่ฉลาดและซื่อสัตย์<|im_end|>\n<|im_start|>user\nกรุงเทพมหานครคืออะไร<|im_end|>\n<|im_start|>assistant\n"
|
||||
|
||||
try:
|
||||
response = openai.Completion.create(
|
||||
model=".", # Specify the model you're using with vLLM
|
||||
prompt=prompt,
|
||||
max_tokens=512,
|
||||
temperature=0.7,
|
||||
top_p=0.8,
|
||||
top_k=40,
|
||||
stop=["<|im_end|>"]
|
||||
)
|
||||
print("Generated Text:", response.choices[0].text)
|
||||
except Exception as e:
|
||||
print("Error:", str(e))
|
||||
```
|
||||
|
||||
|
||||
### Huggingface
|
||||
```python
|
||||
from transformers import AutoModelForCausalLM, AutoTokenizer
|
||||
|
||||
model_name = "openthaigpt/openthaigpt1.5-14b-instruct"
|
||||
|
||||
model = AutoModelForCausalLM.from_pretrained(
|
||||
model_name,
|
||||
torch_dtype="auto",
|
||||
device_map="auto"
|
||||
)
|
||||
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
||||
|
||||
prompt = "ประเทศไทยคืออะไร"
|
||||
messages = [
|
||||
{"role": "system", "content": "คุณคือผู้ช่วยตอบคำถามที่ฉลาดและซื่อสัตย์"},
|
||||
{"role": "user", "content": prompt}
|
||||
]
|
||||
text = tokenizer.apply_chat_template(
|
||||
messages,
|
||||
tokenize=False,
|
||||
add_generation_prompt=True
|
||||
)
|
||||
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
|
||||
|
||||
generated_ids = model.generate(
|
||||
**model_inputs,
|
||||
max_new_tokens=512
|
||||
)
|
||||
generated_ids = [
|
||||
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
|
||||
]
|
||||
|
||||
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
||||
```
|
||||
|
||||
### vLLM
|
||||
|
||||
1. Install VLLM (https://github.com/vllm-project/vllm)
|
||||
|
||||
2. Run server
|
||||
```bash
|
||||
vllm serve openthaigpt/openthaigpt1.5-14b-instruct --tensor-parallel-size 4
|
||||
```
|
||||
* Note, change ``--tensor-parallel-size 4`` to the amount of available GPU cards.
|
||||
|
||||
If you wish to enable tool calling feature, add ``--enable-auto-tool-choice --tool-call-parser hermes`` into command. e.g.,
|
||||
```bash
|
||||
vllm serve openthaigpt/openthaigpt1.5-14b-instruct --tensor-parallel-size 4 --enable-auto-tool-choice --tool-call-parser hermes
|
||||
```
|
||||
|
||||
3. Run inference (CURL example)
|
||||
```bash
|
||||
curl -X POST 'http://127.0.0.1:8000/v1/completions' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"model": ".",
|
||||
"prompt": "<|im_start|>system\nคุณคือผู้ช่วยตอบคำถามที่ฉลาดและซื่อสัตย์<|im_end|>\n<|im_start|>user\nสวัสดีครับ<|im_end|>\n<|im_start|>assistant\n",
|
||||
"max_tokens": 512,
|
||||
"temperature": 0.7,
|
||||
"top_p": 0.8,
|
||||
"top_k": 40,
|
||||
"stop": ["<|im_end|>"]
|
||||
}'
|
||||
```
|
||||
|
||||
### Processing Long Texts
|
||||
The current `config.json` is set for context length up to 32,768 tokens.
|
||||
To handle extensive inputs exceeding 32,768 tokens, we utilize [YaRN](https://arxiv.org/abs/2309.00071), a technique for enhancing model length extrapolation, ensuring optimal performance on lengthy texts.
|
||||
|
||||
For supported frameworks, you could add the following to `config.json` to enable YaRN:
|
||||
```json
|
||||
{
|
||||
...
|
||||
"rope_scaling": {
|
||||
"factor": 4.0,
|
||||
"original_max_position_embeddings": 32768,
|
||||
"type": "yarn"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### Tool Calling
|
||||
The Tool Calling feature in OpenThaiGPT 1.5 enables users to efficiently call various functions through intelligent responses. This includes making external API calls to retrieve real-time data, such as current temperature information, or predicting future data simply by submitting a query.
|
||||
For example, a user can ask OpenThaiGPT, “What is the current temperature in San Francisco?” and the AI will execute a pre-defined function to provide an immediate response without the need for additional coding.
|
||||
This feature also allows for broader applications with external data sources, including the ability to call APIs for services such as weather updates, stock market information, or data from within the user’s own system.
|
||||
|
||||
#### Example:
|
||||
```python
|
||||
import openai
|
||||
|
||||
def get_temperature(location, date=None, unit="celsius"):
|
||||
"""Get temperature for a location (current or specific date)."""
|
||||
if date:
|
||||
return {"temperature": 25.9, "location": location, "date": date, "unit": unit}
|
||||
return {"temperature": 26.1, "location": location, "unit": unit}
|
||||
|
||||
tools = [
|
||||
{
|
||||
"name": "get_temperature",
|
||||
"description": "Get temperature for a location (current or by date).",
|
||||
"parameters": {
|
||||
"location": "string", "date": "string (optional)", "unit": "enum [celsius, fahrenheit]"
|
||||
},
|
||||
}
|
||||
]
|
||||
|
||||
messages = [{"role": "user", "content": "อุณหภูมิที่ San Francisco วันนี้ีและพรุ้่งนี้คือเท่าไร่?"}]
|
||||
|
||||
# Simulated response flow using OpenThaiGPT Tool Calling
|
||||
response = openai.ChatCompletion.create(
|
||||
model=".", messages=messages, tools=tools, temperature=0.7, max_tokens=512
|
||||
)
|
||||
|
||||
print(response)
|
||||
```
|
||||
**Full example**: https://github.com/OpenThaiGPT/openthaigpt1.5_api_examples/blob/main/api_tool_calling_powered_by_siamai.py
|
||||
|
||||
### GPU Memory Requirements
|
||||
| **Number of Parameters** | **FP 16 bits** | **8 bits (Quantized)** | **4 bits (Quantized)** | **Example Graphic Card for 4 bits** |
|
||||
|------------------|----------------|------------------------|------------------------|---------------------------------------------|
|
||||
| **7b** | 24 GB | 12 GB | 6 GB | Nvidia RTX 4060 8GB |
|
||||
| **14b** | 48 GB | 24 GB | 12 GB | Nvidia RTX 4070 16GB |
|
||||
| **72b** | 192 GB | 96 GB | 48 GB | Nvidia RTX 4090 24GB x 2 cards |
|
||||
|
||||
### OpenThaiGPT Team
|
||||
* Sumeth Yuenyong (sumeth.yue@mahidol.edu)
|
||||
* Kobkrit Viriyayudhakorn (kobkrit@aieat.or.th)
|
||||
* Apivadee Piyatumrong (apivadee.piy@nectec.or.th)
|
||||
* Jillaphat Jaroenkantasima (autsadang41@gmail.com)
|
||||
* Thaweewat Rugsujarit (thaweewr@scg.com)
|
||||
* Norapat Buppodom (new@norapat.com)
|
||||
* Koravich Sangkaew (kwankoravich@gmail.com)
|
||||
* Peerawat Rojratchadakorn (peerawat.roj@gmail.com)
|
||||
* Surapon Nonesung (nonesungsurapon@gmail.com)
|
||||
* Chanon Utupon (chanon.utupon@gmail.com)
|
||||
* Sadhis Wongprayoon (sadhis.tae@gmail.com)
|
||||
* Nucharee Thongthungwong (nuchhub@hotmail.com)
|
||||
* Chawakorn Phiantham (mondcha1507@gmail.com)
|
||||
* Patteera Triamamornwooth (patt.patteera@gmail.com)
|
||||
* Nattarika Juntarapaoraya (natt.juntara@gmail.com)
|
||||
* Kriangkrai Saetan (kraitan.ss21@gmail.com)
|
||||
* Pitikorn Khlaisamniang (pitikorn32@gmail.com)
|
||||
|
||||
### Citation
|
||||
If OpenThaiGPT has been beneficial for your work, kindly consider citing it as follows:
|
||||
|
||||
#### Bibtex
|
||||
```bibtex
|
||||
@misc{yuenyong2024openthaigpt15thaicentricopen,
|
||||
title={OpenThaiGPT 1.5: A Thai-Centric Open Source Large Language Model},
|
||||
author={Sumeth Yuenyong and Kobkrit Viriyayudhakorn and Apivadee Piyatumrong and Jillaphat Jaroenkantasima},
|
||||
year={2024},
|
||||
eprint={2411.07238},
|
||||
archivePrefix={arXiv},
|
||||
primaryClass={cs.CL},
|
||||
url={https://arxiv.org/abs/2411.07238},
|
||||
}
|
||||
```
|
||||
#### APA Style (for TXT, MS Word)
|
||||
```
|
||||
Yuenyong, S., Viriyayudhakorn, K., Piyatumrong, A., & Jaroenkantasima, J. (2024). OpenThaiGPT 1.5: A Thai-Centric Open Source Large Language Model. arXiv [Cs.CL]. Retrieved from http://arxiv.org/abs/2411.07238
|
||||
```
|
||||
<i>Disclaimer: Provided responses are not guaranteed.</i>
|
||||
28
config.json
Normal file
28
config.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"_name_or_path": "./wip14B",
|
||||
"architectures": [
|
||||
"Qwen2ForCausalLM"
|
||||
],
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 151643,
|
||||
"eos_token_id": 151645,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 5120,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 13824,
|
||||
"max_position_embeddings": 32768,
|
||||
"max_window_layers": 70,
|
||||
"model_type": "qwen2",
|
||||
"num_attention_heads": 40,
|
||||
"num_hidden_layers": 48,
|
||||
"num_key_value_heads": 8,
|
||||
"rms_norm_eps": 1e-06,
|
||||
"rope_theta": 1000000.0,
|
||||
"sliding_window": null,
|
||||
"tie_word_embeddings": false,
|
||||
"torch_dtype": "bfloat16",
|
||||
"transformers_version": "4.44.2",
|
||||
"use_cache": true,
|
||||
"use_sliding_window": false,
|
||||
"vocab_size": 152064
|
||||
}
|
||||
6
generation_config.json
Normal file
6
generation_config.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 151643,
|
||||
"eos_token_id": 151645,
|
||||
"transformers_version": "4.44.2"
|
||||
}
|
||||
3
gguf/openthaigpt1.5-14B-F16-00001-of-00002.gguf
Normal file
3
gguf/openthaigpt1.5-14B-F16-00001-of-00002.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d6921bf8e0fda988570562492cf1c1810586f6ba427571a3c2020a5caf94ffbc
|
||||
size 19999405728
|
||||
3
gguf/openthaigpt1.5-14B-F16-00002-of-00002.gguf
Normal file
3
gguf/openthaigpt1.5-14B-F16-00002-of-00002.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a20f39aad675fa562b308cf20b449d53425b3025891ce08b1ef76b5b90fd52e4
|
||||
size 9548310336
|
||||
3
gguf/openthaigpt1.5-14B-Q4KM.gguf
Normal file
3
gguf/openthaigpt1.5-14B-Q4KM.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8b4f330d79801a974b008b7ba65ddd98ca3c1db226deb32b8bd9bf08896185eb
|
||||
size 8988110080
|
||||
151387
merges.txt
Normal file
151387
merges.txt
Normal file
File diff suppressed because it is too large
Load Diff
3
model-00001-of-00006.safetensors
Normal file
3
model-00001-of-00006.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb270d44a6acd1823243fc28f89d623cf4305d16c564aba225dc4ddbf3cd711a
|
||||
size 4986211280
|
||||
3
model-00002-of-00006.safetensors
Normal file
3
model-00002-of-00006.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:abc0d63f4b2a30857ade276336fe693eacd8a55db00692b2825dd3347b196e4b
|
||||
size 4954847344
|
||||
3
model-00003-of-00006.safetensors
Normal file
3
model-00003-of-00006.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b7e3782a9c76a38a3bda2a2c02b39d788c1f24551e66e7c54404399dbf3cfda
|
||||
size 4954847392
|
||||
3
model-00004-of-00006.safetensors
Normal file
3
model-00004-of-00006.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ae960b9722ed745db54362ca8aac873c8cb883c1622e5377530d62312dc4d9a
|
||||
size 4954847392
|
||||
3
model-00005-of-00006.safetensors
Normal file
3
model-00005-of-00006.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ab3fda9fc1c65548e2bd2d576f0221d4ba33696124313476f30bed2d886f882f
|
||||
size 4954847392
|
||||
3
model-00006-of-00006.safetensors
Normal file
3
model-00006-of-00006.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5218d4fbaaa1cfa7002148a0009aad85a0eaf221d8d1d1835583760d8a86ff0e
|
||||
size 4734533160
|
||||
586
model.safetensors.index.json
Normal file
586
model.safetensors.index.json
Normal file
@@ -0,0 +1,586 @@
|
||||
{
|
||||
"metadata": {
|
||||
"total_size": 29540067328
|
||||
},
|
||||
"weight_map": {
|
||||
"lm_head.weight": "model-00006-of-00006.safetensors",
|
||||
"model.embed_tokens.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.0.input_layernorm.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.0.self_attn.k_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.0.self_attn.q_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.0.self_attn.v_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.1.input_layernorm.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.1.self_attn.k_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.1.self_attn.q_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.1.self_attn.v_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.10.input_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.10.self_attn.k_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.10.self_attn.q_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.10.self_attn.v_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.11.input_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.11.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.11.self_attn.k_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.11.self_attn.q_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.11.self_attn.v_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.12.input_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.12.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.12.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.12.self_attn.k_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.12.self_attn.q_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.12.self_attn.v_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.13.input_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.13.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.13.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.13.self_attn.k_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.13.self_attn.q_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.13.self_attn.v_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.14.input_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.14.self_attn.k_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.14.self_attn.q_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.14.self_attn.v_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.15.input_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.15.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.15.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.15.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.15.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.15.self_attn.k_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.15.self_attn.q_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.15.self_attn.v_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.16.input_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.16.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.16.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.16.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.16.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.16.self_attn.k_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.16.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.16.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.16.self_attn.q_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.16.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.16.self_attn.v_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.16.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.17.input_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.17.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.17.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.17.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.17.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.17.self_attn.k_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.17.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.17.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.17.self_attn.q_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.17.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.17.self_attn.v_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.17.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.18.input_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.18.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.18.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.18.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.18.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.18.self_attn.k_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.18.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.18.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.18.self_attn.q_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.18.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.18.self_attn.v_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.18.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.19.input_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.19.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.19.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.19.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.19.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.19.self_attn.k_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.19.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.19.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.19.self_attn.q_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.19.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.19.self_attn.v_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.19.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.2.input_layernorm.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.2.self_attn.k_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.2.self_attn.q_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.2.self_attn.v_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.20.input_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.20.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.20.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.20.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.20.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.20.self_attn.k_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.20.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.20.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.20.self_attn.q_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.20.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.20.self_attn.v_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.20.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.21.input_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.21.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.21.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.21.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.21.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.21.self_attn.k_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.21.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.21.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.21.self_attn.q_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.21.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.21.self_attn.v_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.21.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.22.input_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.22.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.22.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.22.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.22.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.22.self_attn.k_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.22.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.22.self_attn.q_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.22.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.22.self_attn.v_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.22.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.23.input_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.23.mlp.down_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.23.mlp.gate_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.23.mlp.up_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.23.post_attention_layernorm.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.23.self_attn.k_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.23.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.23.self_attn.q_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.23.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.23.self_attn.v_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.23.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.24.input_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.24.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.24.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.24.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.24.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.24.self_attn.k_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.24.self_attn.k_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.24.self_attn.o_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.24.self_attn.q_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.24.self_attn.q_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.24.self_attn.v_proj.bias": "model-00003-of-00006.safetensors",
|
||||
"model.layers.24.self_attn.v_proj.weight": "model-00003-of-00006.safetensors",
|
||||
"model.layers.25.input_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.25.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.25.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.25.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.25.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.25.self_attn.k_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.25.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.25.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.25.self_attn.q_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.25.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.25.self_attn.v_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.25.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.26.input_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.26.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.26.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.26.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.26.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.26.self_attn.k_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.26.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.26.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.26.self_attn.q_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.26.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.26.self_attn.v_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.26.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.27.input_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.27.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.27.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.27.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.27.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.27.self_attn.k_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.27.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.27.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.27.self_attn.q_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.27.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.27.self_attn.v_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.27.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.28.input_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.28.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.28.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.28.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.28.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.28.self_attn.k_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.28.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.28.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.28.self_attn.q_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.28.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.28.self_attn.v_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.28.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.29.input_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.29.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.29.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.29.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.29.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.29.self_attn.k_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.29.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.29.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.29.self_attn.q_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.29.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.29.self_attn.v_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.29.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.3.input_layernorm.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.3.self_attn.k_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.3.self_attn.q_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.3.self_attn.v_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.30.input_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.30.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.30.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.30.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.30.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.30.self_attn.k_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.30.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.30.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.30.self_attn.q_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.30.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.30.self_attn.v_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.30.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.31.input_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.31.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.31.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.31.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.31.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.31.self_attn.k_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.31.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.31.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.31.self_attn.q_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.31.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.31.self_attn.v_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.31.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.32.input_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.32.mlp.down_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.32.mlp.gate_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.32.mlp.up_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.32.post_attention_layernorm.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.32.self_attn.k_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.32.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.32.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.32.self_attn.q_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.32.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.32.self_attn.v_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.32.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.33.input_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.33.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.33.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.33.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.33.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.33.self_attn.k_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.33.self_attn.k_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.33.self_attn.o_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.33.self_attn.q_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.33.self_attn.q_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.33.self_attn.v_proj.bias": "model-00004-of-00006.safetensors",
|
||||
"model.layers.33.self_attn.v_proj.weight": "model-00004-of-00006.safetensors",
|
||||
"model.layers.34.input_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.34.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.34.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.34.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.34.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.34.self_attn.k_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.34.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.34.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.34.self_attn.q_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.34.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.34.self_attn.v_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.34.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.35.input_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.35.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.35.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.35.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.35.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.35.self_attn.k_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.35.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.35.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.35.self_attn.q_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.35.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.35.self_attn.v_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.35.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.36.input_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.36.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.36.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.36.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.36.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.36.self_attn.k_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.36.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.36.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.36.self_attn.q_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.36.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.36.self_attn.v_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.36.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.37.input_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.37.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.37.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.37.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.37.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.37.self_attn.k_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.37.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.37.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.37.self_attn.q_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.37.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.37.self_attn.v_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.37.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.38.input_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.38.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.38.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.38.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.38.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.38.self_attn.k_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.38.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.38.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.38.self_attn.q_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.38.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.38.self_attn.v_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.38.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.39.input_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.39.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.39.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.39.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.39.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.39.self_attn.k_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.39.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.39.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.39.self_attn.q_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.39.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.39.self_attn.v_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.39.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.4.input_layernorm.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.4.self_attn.k_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.4.self_attn.q_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.4.self_attn.v_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.40.input_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.40.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.40.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.40.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.40.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.40.self_attn.k_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.40.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.40.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.40.self_attn.q_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.40.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.40.self_attn.v_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.40.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.41.input_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.41.mlp.down_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.41.mlp.gate_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.41.mlp.up_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.41.post_attention_layernorm.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.41.self_attn.k_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.41.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.41.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.41.self_attn.q_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.41.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.41.self_attn.v_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.41.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.42.input_layernorm.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.42.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.42.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.42.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.42.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.42.self_attn.k_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.42.self_attn.k_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.42.self_attn.o_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.42.self_attn.q_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.42.self_attn.q_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.42.self_attn.v_proj.bias": "model-00005-of-00006.safetensors",
|
||||
"model.layers.42.self_attn.v_proj.weight": "model-00005-of-00006.safetensors",
|
||||
"model.layers.43.input_layernorm.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.43.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.43.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.43.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.43.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.43.self_attn.k_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.43.self_attn.k_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.43.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.43.self_attn.q_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.43.self_attn.q_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.43.self_attn.v_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.43.self_attn.v_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.44.input_layernorm.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.44.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.44.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.44.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.44.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.44.self_attn.k_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.44.self_attn.k_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.44.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.44.self_attn.q_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.44.self_attn.q_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.44.self_attn.v_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.44.self_attn.v_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.45.input_layernorm.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.45.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.45.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.45.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.45.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.45.self_attn.k_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.45.self_attn.k_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.45.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.45.self_attn.q_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.45.self_attn.q_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.45.self_attn.v_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.45.self_attn.v_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.46.input_layernorm.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.46.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.46.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.46.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.46.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.46.self_attn.k_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.46.self_attn.k_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.46.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.46.self_attn.q_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.46.self_attn.q_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.46.self_attn.v_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.46.self_attn.v_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.47.input_layernorm.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.47.mlp.down_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.47.mlp.gate_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.47.mlp.up_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.47.post_attention_layernorm.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.47.self_attn.k_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.47.self_attn.k_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.47.self_attn.o_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.47.self_attn.q_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.47.self_attn.q_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.47.self_attn.v_proj.bias": "model-00006-of-00006.safetensors",
|
||||
"model.layers.47.self_attn.v_proj.weight": "model-00006-of-00006.safetensors",
|
||||
"model.layers.5.input_layernorm.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.5.self_attn.k_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.5.self_attn.q_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.5.self_attn.v_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.6.input_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.6.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.6.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.6.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.6.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.6.self_attn.k_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.6.self_attn.q_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.6.self_attn.v_proj.bias": "model-00001-of-00006.safetensors",
|
||||
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00006.safetensors",
|
||||
"model.layers.7.input_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.7.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.7.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.7.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.7.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.7.self_attn.k_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.7.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.7.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.7.self_attn.q_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.7.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.7.self_attn.v_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.7.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.8.input_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.8.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.8.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.8.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.8.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.8.self_attn.k_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.8.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.8.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.8.self_attn.q_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.8.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.8.self_attn.v_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.8.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.9.input_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.9.mlp.gate_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.9.self_attn.k_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.9.self_attn.k_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.9.self_attn.q_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.9.self_attn.q_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.layers.9.self_attn.v_proj.bias": "model-00002-of-00006.safetensors",
|
||||
"model.layers.9.self_attn.v_proj.weight": "model-00002-of-00006.safetensors",
|
||||
"model.norm.weight": "model-00006-of-00006.safetensors"
|
||||
}
|
||||
}
|
||||
303282
tokenizer.json
Normal file
303282
tokenizer.json
Normal file
File diff suppressed because it is too large
Load Diff
207
tokenizer_config.json
Normal file
207
tokenizer_config.json
Normal file
@@ -0,0 +1,207 @@
|
||||
{
|
||||
"add_bos_token": false,
|
||||
"add_prefix_space": false,
|
||||
"added_tokens_decoder": {
|
||||
"151643": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151644": {
|
||||
"content": "<|im_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151645": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151646": {
|
||||
"content": "<|object_ref_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151647": {
|
||||
"content": "<|object_ref_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151648": {
|
||||
"content": "<|box_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151649": {
|
||||
"content": "<|box_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151650": {
|
||||
"content": "<|quad_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151651": {
|
||||
"content": "<|quad_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151652": {
|
||||
"content": "<|vision_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151653": {
|
||||
"content": "<|vision_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151654": {
|
||||
"content": "<|vision_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151655": {
|
||||
"content": "<|image_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151656": {
|
||||
"content": "<|video_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151657": {
|
||||
"content": "<tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151658": {
|
||||
"content": "</tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151659": {
|
||||
"content": "<|fim_prefix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151660": {
|
||||
"content": "<|fim_middle|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151661": {
|
||||
"content": "<|fim_suffix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151662": {
|
||||
"content": "<|fim_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151663": {
|
||||
"content": "<|repo_name|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151664": {
|
||||
"content": "<|file_sep|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
}
|
||||
},
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|object_ref_start|>",
|
||||
"<|object_ref_end|>",
|
||||
"<|box_start|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_start|>",
|
||||
"<|vision_end|>",
|
||||
"<|vision_pad|>",
|
||||
"<|image_pad|>",
|
||||
"<|video_pad|>"
|
||||
],
|
||||
"bos_token": null,
|
||||
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. 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 Qwen, created by Alibaba Cloud. You 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",
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": "<|im_end|>",
|
||||
"errors": "replace",
|
||||
"model_max_length": 131072,
|
||||
"pad_token": "<|endoftext|>",
|
||||
"split_special_tokens": false,
|
||||
"tokenizer_class": "Qwen2Tokenizer",
|
||||
"unk_token": null
|
||||
}
|
||||
1
vocab.json
Normal file
1
vocab.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user