初始化项目,由ModelHub XC社区提供模型

Model: lightonai/alfred-40b-1023
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-27 07:54:06 +08:00
commit d2718aaff5
24 changed files with 132250 additions and 0 deletions

44
.gitattributes vendored Normal file
View File

@@ -0,0 +1,44 @@
*.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
pytorch_model-00001-of-00009.bin filter=lfs diff=lfs merge=lfs -text
pytorch_model-00002-of-00009.bin filter=lfs diff=lfs merge=lfs -text
pytorch_model-00003-of-00009.bin filter=lfs diff=lfs merge=lfs -text
pytorch_model-00004-of-00009.bin filter=lfs diff=lfs merge=lfs -text
pytorch_model-00005-of-00009.bin filter=lfs diff=lfs merge=lfs -text
pytorch_model-00006-of-00009.bin filter=lfs diff=lfs merge=lfs -text
pytorch_model-00007-of-00009.bin filter=lfs diff=lfs merge=lfs -text
pytorch_model-00008-of-00009.bin filter=lfs diff=lfs merge=lfs -text
pytorch_model-00009-of-00009.bin filter=lfs diff=lfs merge=lfs -text

233
README.md Normal file
View File

@@ -0,0 +1,233 @@
---
license: apache-2.0
thumbnail: images/alfred-40b-1023.png
datasets:
- OpenAssistant/oasst1
- ehartford/dolphin
- tau/sled
- tiiuae/falcon-refinedweb
language:
- en
- fr
- de
- es
- it
tags:
- falcon-40b
- long-context
- falcon
- NTK-YaRN
---
# Model Card for Alfred-40B-1023
![a witty and elegant butler with a falcon on his shoulder, smile, flat illustration, simple shapes, colorful, lo-fi aesthetics](images/alfred-40b-1023.png)
`Alfred-40B-1023` is a finetuned version of [Falcon-40B](https://huggingface.co/tiiuae/falcon-40b), with an **extended context length of 8192 tokens**.
Finetuning was performed in October 2023. `Alfred-40B-1023` is made available under the Apache 2.0 License.
## Model Details
### Model Description
- **Developed by:** [LightOn](https://www.lighton.ai/)
* [Oskar Hallström](https://huggingface.co/ohallstrom) (project lead, training & modeling, internal long context data, evaluation)
* [Amélie Chatelain](https://huggingface.co/ameliechatelain) (internal data & long context data, data generation)
* [Clément Thiriet](https://huggingface.co/cthiriet) (data infrastructure, data generation, evaluation)
* [Julien Séailles](https://huggingface.co/Jseailleslighton) (data generation)
* [Adrien Cavaillès](https://huggingface.co/adcavail) (data generation)
* [Axel Marmet](https://huggingface.co/WeightsnWizardry)* (training 2K baseline)
`*` work done while at LightOn
- **Model type:** Causal decoder-only;
- **Language(s) (NLP):** English, German, Spanish, French (and limited capabilities in Italian, Portuguese, Polish, Dutch, Romanian, Czech, Swedish);
- **License:** Apache 2.0 license.
- **Finetuned from model:** [Falcon-40B](https://huggingface.co/tiiuae/falcon-40b)
- **Training date:** October 2023 (`1023`).
## Uses
### Direct Use
`Alfred-40B-1023` can be used as a chat model or as an instruct model.
For both instruct and chat mode, the model has been trained with chat tokens `<start_system>`, `<start_user>`, `<start_assistant>`, and `<end_message>`. These can be integrated into the prompt in the follwoing way:
```
<start_system>You are Alfred, a helpful assistant trained by LightOn. Knowledge cutoff: November 2022. Current date: 16 November, 2023<end_message><start_user>{user query}<end_message><start_assistant>
```
The stop word `<end_message>` should be used.
### Out-of-Scope Use
Production use without adequate assessment of risks and mitigation; any use cases which may be considered irresponsible or harmful.
## Bias, Risks, and Limitations
`Alfred-40B-1023` is a finetune of Falcon-40B. As such, it is trained mostly on English, German, Spanish, French, with limited capabilities also in Italian, Portuguese, Polish, Dutch, Romanian, Czech, Swedish. It will not generalize appropriately to other languages. Furthermore, as it is trained on a large-scale corpora representative of the web, it will carry the stereotypes and biases commonly encountered online.
### Recommendations
We recommend users of `Alfred-40B-1023` to implement appropriate guardrails and precautions in any production use.
## How to Get Started with the Model
Use the code below to get started with the model.
```
from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch
model = "lightonai/alfred-40b-1023"
tokenizer = AutoTokenizer.from_pretrained("lightonai/alfred-0923-tokenizer")
pipeline = transformers.pipeline(
"text-generation",
model=model,
tokenizer=tokenizer,
torch_dtype=torch.bfloat16,
trust_remote_code=True,
device_map="auto",
)
sequences = pipeline(
"<start_system>You are Alfred, a helpful assistant trained by LightOn. Knowledge cutoff: November 2022. Current date: 16 November, 2023<end_message><start_user>Write me an email to my boss, explaining how the company could benefit by using LightOns platform for Large Language Models, Paradigm.<end_message><start_assistant>",
max_length=1000,
do_sample=True,
top_k=3,
num_return_sequences=1,
eos_token_id=tokenizer.eos_token_id,
)
for seq in sequences:
print(f"Result: {seq['generated_text']}")
```
## Training Details
### Training Data
Alfred-40B-1023 was trained on a mixture of publicly available and in-house curated datasets. The training data is composed of 50 % short context tasks, 45 % long context tasks and 5 % RefinedWeb.
| **Short context sources** |
|--------------------|
| [oasst1](https://huggingface.co/datasets/OpenAssistant/oasst1) |
| [dolphin](https://huggingface.co/ehartford/dolphin) |
| [openai-critiques](https://openaipublic.blob.core.windows.net/critiques/README.md) |
| internal |
`internal` is a collection of synthetic and human-generated datasets created by Ligthon, tailored towards the use cases of our clients.
| **Long context sources** |
|--------------------|
| [sled](https://huggingface.co/datasets/tau/sled) |
| internal-long-context |
`internal-long-context` is a collection of synthetic datasets generated by LightOn, tailored towards the use cases of our clients.
During training, we apply regular language modeling loss for a partition of the prompts in the long context data.
| **Pretraining objective source** |
|--------------------|
| [RefinedWeb](https://huggingface.co/datasets/tiiuae/falcon-refinedweb) |
### Training Procedure
`Alfred-40B-1023` was trained on 128 A100 40GB GPUs, using a 3D parallelism strategy (TP=8, PP=2, DP=8) combined with ZeRO. Alfred has been trained through supervised finetuning on 100 megatokens, with a learning rate decayed with a cosine schedule.
#### Preprocessing
All datasets have been filtered, up or downsampled, and adapted to our chat token format.
#### Context length extension
We extend the context length to 8K with a custom method that we name NTK-YaRN. As guessable from its name, our extension method draws inspiration from NTK-aware interpolation and YaRN.
During our context length extension efforts, we experimented with various methods suitable for RoPE embeddings. These include vanilla [positional interpolation](https://arxiv.org/abs/2306.15595), [NTK-aware interpolation](https://www.reddit.com/r/LocalLLaMA/comments/14lz7j5/ntkaware_scaled_rope_allows_llama_models_to_have/), [NTK-by-parts](https://github.com/jquesnelle/scaled-rope/pull/1), and lastly [YaRN](https://arxiv.org/abs/2309.00071).
YaRN looked very promising when applied at test-time, however finetuning with YaRN was not successful in our experiments. When extending the context length at training-time, NTK-aware interpolation was the most successful out of the already existing methods. Some of our results from trying different long context extension methods are shared in the Evaluation section below. We acknowledge that the same parameter values as proposed in the YaRN-paper have been used in our YaRN experiments, and that these potentially could have other optimal values for our particular setup.
##### NTK-YaRN
Similarly to NTK-aware interpolation (`NTK`), NTK-YaRN involves increasing the base of the RoPE embeddings. In the original implementation of NTK-aware interpolation the new base `b'` is adapted according to the following formula:
$$ b' = b \times s^{\frac{|D|}{|D|-2}} $$
where `b` is the original base, `s` the scaling factor of the context length, and `|D|` the model's head dimension.
However, we find (similar to other actors) that increasing the base slightly more is even better. The value of `b'` could probably be optimized even further, but for these experiments we have settled with the following value:
$$ b' = b \times (s+1)^{\frac{|D|}{|D|-2}} $$
In the following parts of this model card, context length extension with this extended scaling of the base is referred to as `NTK-Margin`. For `NTK-YaRN`, the extended scaling of the base is combined with the modification of the computation of the attention weights made in YaRN, where the query and key matrices are scaled by the factor `m`.
$$ m = 1 + 0.1 \times \log(s) $$
Scaling the query and key matrices this way substantially reduces the initial grad norm when applying a context length extension method in our training runs.
To cite NTK-YaRN, please refer to the model bibtex in the bottom of this model card.
## Evaluation
### Context length extension strategies
#### Training losses
After experimenting on a 7B scale, we finally run a selected partition of the extension methods on a 40B scale. In the figure below, we display the resulting training losses when training a 40B model with the different extension methods, ceteris paribus.
![Training loss curves for extension methods](images/training-loss-curves.png "Training loss curves for extension methods")
Initially, YaRN has the lowest training loss, which can be seen as a reflection of the fact that YaRN was the most successful extension method at test time. However all the other methods surpasse YaRN in terms of training loss already after a handful of megatokens. Comparing NTK-Margin vs NTK-YaRN, we can note that the scaling of Q and K matrices makes the training loss lower in the beginning, however NTK-YaRN's advantage over NTK-Margin decreases as the training goes on. Comparing NTK-Margin with NTK in turn, it seems like the larger value of the base in NTK-Margin gives an initial boost in training loss, however this advantage decreases as training goes on.
#### Performance on Long Context Benchmarks
We evaluate the context length extension methods on an own benchmark, consisting of four tasks.
* [Key-value retrieval UUID](https://arxiv.org/pdf/2307.03172.pdf)
* [Coarse-grained Topic Retrieval](https://lmsys.org/blog/2023-06-29-longchat/)
* [Fine-grained Line Retrieval](https://lmsys.org/blog/2023-06-29-longchat/)
* [Multi document retrieval data](https://nlp.stanford.edu/data/nfliu/lost-in-the-middle/nq-open-contriever-msmarco-retrieved-documents.jsonl.gz)
For each task, we have created 3 subtasks - one for each of the three context lengths 2K, 4K and 8K. In total, we thus have 12 subtasks.
In order to get an aggregated score that values each subtask equally, we normalize the scores for each subtask and then calculate the mean of the normalized scores for each extension method.
![Aggregated scores on long context benchmarks](images/lc_benchmarks.png "Aggregated scores on long context benchmarks")
On these benchmarks, YaRN clearly lags behind. NTK-YaRN is the winning method, however NTK-Margin is so close that more extensive research is needed to verify that NTK-YaRN really is superior to NTK-Margin, especially when trained for longer.
### Comparison to 2K baseline
In order to track any potential degradation on 2K context tasks due to the context length extension, we compare our 8K model against a 2K model trained in a similar setup for 100 megatokens. When training the 2K baseline, we don't include any long context data.
We conduct the comparison by evaluating the models on a selection of tasks from EleutherAI harness, as well as ranking model outputs internally.
![Evaluation of 2K vs 8K version of alfred-40b-2023](images/2k_vs_8k.png "Evaluation of 2K vs 8K version of alfred-40b-2023")
Notably, our 8K model not only performs on par with our 2K model on most of our EleutherAI harness tasks, in fact it outperforms the 2K model on a majority of the tasks. Reading comprehension is the only subcategory for which our 8K model is outperformed by the 2K model.
We recognize that there is a discrepancy between performance on classical NLP benchmarks and how humans perceive the model quality. When model outputs (limited to 2K context lengths) are ranked by LightOn employees internally, the 2K and 8K have strikingly similar performance. However, a few rare failure modes have been noted for the 8K version, which are not seen when using the 2K model. These failure modes are likely to be fixable with better composition of the long context data.
## Compute Infrastructure
### Hardware
Alfred-40B-1023 was trained on AWS SageMaker, on 128 A100 40GB GPUs in P4d instances.
### Software
Alfred-40B-1023 was trained with a custom codebase. Training leverages a 3D parallelism approach combined with ZeRO, as well as high-performance kernels such as FlashAttention.
## Model Card Contact
Please open a Community Discussion for any support request related to using Alfred with HuggingFace transformers.
For any other inquiry: contact@lighton.ai
## Citation
If you find the model useful in your work, please use the following bibtex when citing.
```
@article{alfred-40b-1023,
title={Alfred-40B-1023},
author={Hallström, Oskar and Chatelain, Amélie and Thiriet, Clément and Séailles, Julien and Cavaillès, Adrien and Marmet, Axel},
year={2023}
}
```

38
config.json Normal file
View File

@@ -0,0 +1,38 @@
{
"alibi": false,
"apply_residual_connection_post_layernorm": false,
"architectures": [
"RWForCausalLM"
],
"attention_dropout": 0.0,
"auto_map": {
"AutoConfig": "configuration_RW.RWConfig",
"AutoModelForCausalLM": "modeling_RW.RWForCausalLM"
},
"bias": false,
"bos_token_id": 11,
"embedding_scaling_factor": 4,
"eos_token_id": 11,
"hidden_dropout": 0.0,
"hidden_size": 8192,
"initializer_range": 0.02,
"layer_norm_epsilon": 1e-05,
"model_type": "RefinedWeb",
"multi_query": true,
"n_head": 128,
"n_head_kv": 8,
"n_layer": 60,
"ntk_scaling_factor": 5,
"parallel_attn": true,
"single_ln": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.31.0",
"use_cache": true,
"vanilla_scaling_factor": null,
"vocab_size": 65024,
"rope_scaling": {
"type": "ntk_yarn",
"factor": 4.0,
"original_max_position_embeddings": 2048
}
}

1
configuration.json Normal file
View File

@@ -0,0 +1 @@
{"framework": "pytorch", "task": "text-generation", "allow_remote": true}

92
configuration_RW.py Normal file
View File

@@ -0,0 +1,92 @@
# coding=utf-8
# Copyright 2022 the Big Science Workshop and HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
""" Bloom configuration"""
from transformers.configuration_utils import PretrainedConfig
from transformers.utils import logging
logger = logging.get_logger(__name__)
class RWConfig(PretrainedConfig):
model_type = "RefinedWeb"
keys_to_ignore_at_inference = ["past_key_values"]
attribute_map = {
"num_hidden_layers": "n_layer",
"num_attention_heads": "n_head",
}
def __init__(
self,
vocab_size=250880,
hidden_size=64,
n_layer=2,
n_head=8,
layer_norm_epsilon=1e-5,
initializer_range=0.02,
use_cache=True,
bos_token_id=1,
eos_token_id=2,
apply_residual_connection_post_layernorm=False,
hidden_dropout=0.0,
attention_dropout=0.0,
multi_query=False,
alibi=False,
bias=False,
parallel_attn=False,
single_ln=False,
n_head_kv=1,
ntk_scaling_factor=None,
vanilla_scaling_factor=None,
embedding_scaling_factor=None,
**kwargs,
):
self.vocab_size = vocab_size
# Backward compatibility with n_embed kwarg
n_embed = kwargs.pop("n_embed", None)
self.hidden_size = hidden_size if n_embed is None else n_embed
self.n_layer = n_layer
self.n_head = n_head
self.layer_norm_epsilon = layer_norm_epsilon
self.initializer_range = initializer_range
self.use_cache = use_cache
self.apply_residual_connection_post_layernorm = apply_residual_connection_post_layernorm
self.hidden_dropout = hidden_dropout
self.attention_dropout = attention_dropout
self.bos_token_id = bos_token_id
self.eos_token_id = eos_token_id
self.multi_query = multi_query
self.alibi = alibi
self.bias = bias
self.parallel_attn = parallel_attn
self.single_ln = single_ln
self.n_head_kv = n_head_kv
self.ntk_scaling_factor = ntk_scaling_factor
self.vanilla_scaling_factor = vanilla_scaling_factor
self.embedding_scaling_factor = embedding_scaling_factor
assert not alibi, "Function of alibi has not been verified yet"
assert self.vanilla_scaling_factor is None or self.ntk_scaling_factor is None, "Both scaling modes cannot be used concurrently"
super().__init__(bos_token_id=bos_token_id, eos_token_id=eos_token_id, **kwargs)
@property
def head_dim(self):
return self.hidden_size // self.n_head
@property
def rotary(self):
return not self.alibi

6
generation_config.json Normal file
View File

@@ -0,0 +1,6 @@
{
"_from_model_config": true,
"bos_token_id": 11,
"eos_token_id": 11,
"transformers_version": "4.31.0"
}

BIN
images/2k_vs_8k.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
images/alfred-40b-1023.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 532 KiB

BIN
images/lc_benchmarks.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 KiB

1134
modeling_RW.py Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4cef143399e188f59692db6f2fd64096e81112b96e0c71e7bb1b4e8bcb79104
size 9504770141

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ae57a7ee1c8b6a2c66d71e04bd655169866540bb296f4eade783e19d6b970c0
size 9513159151

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:84385c05f57d668e90e3e85704482c076889ee88b37cc5c56da2076de0aeb385
size 9513159151

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19cdfc0c2e555dc274e022254201de97ae4373232d40cb160014a923bd7071f8
size 9513159151

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9aff91a643a5ec59156fce9968d6d61e4bce8106908bf18b7d991f9a4d181e04
size 9513159151

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e845e4f050aa212161071e7cef47b5b5719eb116542ef3fd43fb7735465f1530
size 9513159151

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c30853fcdf36fcc660e28603f4767d266d0e8c898720319da2948a5aefdd02be
size 9513159151

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d81431169a6536b1eeed797d671c393c4393536cd008f09564d7b36564a04df1
size 9513159151

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d93b316bd78228a6c67c62f3f0f6b39d6c59b64c9e3022226b9ab2eb9f898ab
size 7575220277

View File

@@ -0,0 +1,491 @@
{
"metadata": {
"total_size": 83671941120
},
"weight_map": {
"lm_head.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.0.ln_attn.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.0.ln_attn.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.0.ln_mlp.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.0.ln_mlp.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.0.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.0.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.0.self_attention.dense.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.0.self_attention.query_key_value.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.1.ln_attn.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.1.ln_attn.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.1.ln_mlp.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.1.ln_mlp.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.1.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.1.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.1.self_attention.dense.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.1.self_attention.query_key_value.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.10.ln_attn.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.10.ln_attn.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.10.ln_mlp.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.10.ln_mlp.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.10.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.10.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.10.self_attention.dense.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.10.self_attention.query_key_value.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.11.ln_attn.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.11.ln_attn.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.11.ln_mlp.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.11.ln_mlp.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.11.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.11.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.11.self_attention.dense.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.11.self_attention.query_key_value.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.12.ln_attn.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.12.ln_attn.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.12.ln_mlp.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.12.ln_mlp.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.12.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.12.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.12.self_attention.dense.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.12.self_attention.query_key_value.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.13.ln_attn.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.13.ln_attn.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.13.ln_mlp.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.13.ln_mlp.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.13.mlp.dense_4h_to_h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.13.mlp.dense_h_to_4h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.13.self_attention.dense.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.13.self_attention.query_key_value.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.14.ln_attn.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.14.ln_attn.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.14.ln_mlp.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.14.ln_mlp.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.14.mlp.dense_4h_to_h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.14.mlp.dense_h_to_4h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.14.self_attention.dense.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.14.self_attention.query_key_value.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.15.ln_attn.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.15.ln_attn.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.15.ln_mlp.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.15.ln_mlp.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.15.mlp.dense_4h_to_h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.15.mlp.dense_h_to_4h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.15.self_attention.dense.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.15.self_attention.query_key_value.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.16.ln_attn.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.16.ln_attn.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.16.ln_mlp.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.16.ln_mlp.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.16.mlp.dense_4h_to_h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.16.mlp.dense_h_to_4h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.16.self_attention.dense.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.16.self_attention.query_key_value.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.17.ln_attn.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.17.ln_attn.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.17.ln_mlp.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.17.ln_mlp.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.17.mlp.dense_4h_to_h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.17.mlp.dense_h_to_4h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.17.self_attention.dense.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.17.self_attention.query_key_value.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.18.ln_attn.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.18.ln_attn.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.18.ln_mlp.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.18.ln_mlp.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.18.mlp.dense_4h_to_h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.18.mlp.dense_h_to_4h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.18.self_attention.dense.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.18.self_attention.query_key_value.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.19.ln_attn.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.19.ln_attn.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.19.ln_mlp.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.19.ln_mlp.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.19.mlp.dense_4h_to_h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.19.mlp.dense_h_to_4h.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.19.self_attention.dense.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.19.self_attention.query_key_value.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.2.ln_attn.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.2.ln_attn.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.2.ln_mlp.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.2.ln_mlp.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.2.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.2.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.2.self_attention.dense.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.2.self_attention.query_key_value.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.20.ln_attn.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.20.ln_attn.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.20.ln_mlp.bias": "pytorch_model-00003-of-00009.bin",
"transformer.h.20.ln_mlp.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.20.mlp.dense_4h_to_h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.20.mlp.dense_h_to_4h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.20.self_attention.dense.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.20.self_attention.query_key_value.weight": "pytorch_model-00003-of-00009.bin",
"transformer.h.21.ln_attn.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.21.ln_attn.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.21.ln_mlp.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.21.ln_mlp.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.21.mlp.dense_4h_to_h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.21.mlp.dense_h_to_4h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.21.self_attention.dense.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.21.self_attention.query_key_value.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.22.ln_attn.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.22.ln_attn.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.22.ln_mlp.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.22.ln_mlp.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.22.mlp.dense_4h_to_h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.22.mlp.dense_h_to_4h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.22.self_attention.dense.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.22.self_attention.query_key_value.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.23.ln_attn.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.23.ln_attn.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.23.ln_mlp.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.23.ln_mlp.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.23.mlp.dense_4h_to_h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.23.mlp.dense_h_to_4h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.23.self_attention.dense.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.23.self_attention.query_key_value.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.24.ln_attn.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.24.ln_attn.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.24.ln_mlp.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.24.ln_mlp.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.24.mlp.dense_4h_to_h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.24.mlp.dense_h_to_4h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.24.self_attention.dense.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.24.self_attention.query_key_value.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.25.ln_attn.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.25.ln_attn.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.25.ln_mlp.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.25.ln_mlp.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.25.mlp.dense_4h_to_h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.25.mlp.dense_h_to_4h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.25.self_attention.dense.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.25.self_attention.query_key_value.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.26.ln_attn.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.26.ln_attn.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.26.ln_mlp.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.26.ln_mlp.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.26.mlp.dense_4h_to_h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.26.mlp.dense_h_to_4h.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.26.self_attention.dense.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.26.self_attention.query_key_value.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.27.ln_attn.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.27.ln_attn.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.27.ln_mlp.bias": "pytorch_model-00004-of-00009.bin",
"transformer.h.27.ln_mlp.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.27.mlp.dense_4h_to_h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.27.mlp.dense_h_to_4h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.27.self_attention.dense.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.27.self_attention.query_key_value.weight": "pytorch_model-00004-of-00009.bin",
"transformer.h.28.ln_attn.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.28.ln_attn.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.28.ln_mlp.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.28.ln_mlp.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.28.mlp.dense_4h_to_h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.28.mlp.dense_h_to_4h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.28.self_attention.dense.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.28.self_attention.query_key_value.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.29.ln_attn.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.29.ln_attn.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.29.ln_mlp.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.29.ln_mlp.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.29.mlp.dense_4h_to_h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.29.mlp.dense_h_to_4h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.29.self_attention.dense.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.29.self_attention.query_key_value.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.3.ln_attn.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.3.ln_attn.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.3.ln_mlp.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.3.ln_mlp.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.3.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.3.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.3.self_attention.dense.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.3.self_attention.query_key_value.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.30.ln_attn.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.30.ln_attn.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.30.ln_mlp.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.30.ln_mlp.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.30.mlp.dense_4h_to_h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.30.mlp.dense_h_to_4h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.30.self_attention.dense.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.30.self_attention.query_key_value.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.31.ln_attn.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.31.ln_attn.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.31.ln_mlp.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.31.ln_mlp.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.31.mlp.dense_4h_to_h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.31.mlp.dense_h_to_4h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.31.self_attention.dense.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.31.self_attention.query_key_value.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.32.ln_attn.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.32.ln_attn.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.32.ln_mlp.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.32.ln_mlp.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.32.mlp.dense_4h_to_h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.32.mlp.dense_h_to_4h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.32.self_attention.dense.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.32.self_attention.query_key_value.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.33.ln_attn.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.33.ln_attn.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.33.ln_mlp.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.33.ln_mlp.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.33.mlp.dense_4h_to_h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.33.mlp.dense_h_to_4h.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.33.self_attention.dense.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.33.self_attention.query_key_value.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.34.ln_attn.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.34.ln_attn.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.34.ln_mlp.bias": "pytorch_model-00005-of-00009.bin",
"transformer.h.34.ln_mlp.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.34.mlp.dense_4h_to_h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.34.mlp.dense_h_to_4h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.34.self_attention.dense.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.34.self_attention.query_key_value.weight": "pytorch_model-00005-of-00009.bin",
"transformer.h.35.ln_attn.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.35.ln_attn.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.35.ln_mlp.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.35.ln_mlp.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.35.mlp.dense_4h_to_h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.35.mlp.dense_h_to_4h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.35.self_attention.dense.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.35.self_attention.query_key_value.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.36.ln_attn.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.36.ln_attn.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.36.ln_mlp.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.36.ln_mlp.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.36.mlp.dense_4h_to_h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.36.mlp.dense_h_to_4h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.36.self_attention.dense.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.36.self_attention.query_key_value.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.37.ln_attn.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.37.ln_attn.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.37.ln_mlp.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.37.ln_mlp.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.37.mlp.dense_4h_to_h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.37.mlp.dense_h_to_4h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.37.self_attention.dense.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.37.self_attention.query_key_value.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.38.ln_attn.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.38.ln_attn.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.38.ln_mlp.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.38.ln_mlp.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.38.mlp.dense_4h_to_h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.38.mlp.dense_h_to_4h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.38.self_attention.dense.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.38.self_attention.query_key_value.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.39.ln_attn.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.39.ln_attn.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.39.ln_mlp.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.39.ln_mlp.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.39.mlp.dense_4h_to_h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.39.mlp.dense_h_to_4h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.39.self_attention.dense.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.39.self_attention.query_key_value.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.4.ln_attn.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.4.ln_attn.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.4.ln_mlp.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.4.ln_mlp.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.4.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.4.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.4.self_attention.dense.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.4.self_attention.query_key_value.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.40.ln_attn.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.40.ln_attn.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.40.ln_mlp.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.40.ln_mlp.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.40.mlp.dense_4h_to_h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.40.mlp.dense_h_to_4h.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.40.self_attention.dense.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.40.self_attention.query_key_value.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.41.ln_attn.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.41.ln_attn.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.41.ln_mlp.bias": "pytorch_model-00006-of-00009.bin",
"transformer.h.41.ln_mlp.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.41.mlp.dense_4h_to_h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.41.mlp.dense_h_to_4h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.41.self_attention.dense.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.41.self_attention.query_key_value.weight": "pytorch_model-00006-of-00009.bin",
"transformer.h.42.ln_attn.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.42.ln_attn.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.42.ln_mlp.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.42.ln_mlp.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.42.mlp.dense_4h_to_h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.42.mlp.dense_h_to_4h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.42.self_attention.dense.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.42.self_attention.query_key_value.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.43.ln_attn.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.43.ln_attn.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.43.ln_mlp.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.43.ln_mlp.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.43.mlp.dense_4h_to_h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.43.mlp.dense_h_to_4h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.43.self_attention.dense.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.43.self_attention.query_key_value.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.44.ln_attn.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.44.ln_attn.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.44.ln_mlp.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.44.ln_mlp.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.44.mlp.dense_4h_to_h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.44.mlp.dense_h_to_4h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.44.self_attention.dense.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.44.self_attention.query_key_value.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.45.ln_attn.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.45.ln_attn.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.45.ln_mlp.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.45.ln_mlp.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.45.mlp.dense_4h_to_h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.45.mlp.dense_h_to_4h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.45.self_attention.dense.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.45.self_attention.query_key_value.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.46.ln_attn.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.46.ln_attn.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.46.ln_mlp.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.46.ln_mlp.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.46.mlp.dense_4h_to_h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.46.mlp.dense_h_to_4h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.46.self_attention.dense.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.46.self_attention.query_key_value.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.47.ln_attn.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.47.ln_attn.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.47.ln_mlp.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.47.ln_mlp.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.47.mlp.dense_4h_to_h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.47.mlp.dense_h_to_4h.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.47.self_attention.dense.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.47.self_attention.query_key_value.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.48.ln_attn.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.48.ln_attn.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.48.ln_mlp.bias": "pytorch_model-00007-of-00009.bin",
"transformer.h.48.ln_mlp.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.48.mlp.dense_4h_to_h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.48.mlp.dense_h_to_4h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.48.self_attention.dense.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.48.self_attention.query_key_value.weight": "pytorch_model-00007-of-00009.bin",
"transformer.h.49.ln_attn.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.49.ln_attn.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.49.ln_mlp.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.49.ln_mlp.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.49.mlp.dense_4h_to_h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.49.mlp.dense_h_to_4h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.49.self_attention.dense.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.49.self_attention.query_key_value.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.5.ln_attn.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.5.ln_attn.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.5.ln_mlp.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.5.ln_mlp.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.5.mlp.dense_4h_to_h.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.5.mlp.dense_h_to_4h.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.5.self_attention.dense.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.5.self_attention.query_key_value.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.50.ln_attn.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.50.ln_attn.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.50.ln_mlp.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.50.ln_mlp.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.50.mlp.dense_4h_to_h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.50.mlp.dense_h_to_4h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.50.self_attention.dense.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.50.self_attention.query_key_value.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.51.ln_attn.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.51.ln_attn.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.51.ln_mlp.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.51.ln_mlp.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.51.mlp.dense_4h_to_h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.51.mlp.dense_h_to_4h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.51.self_attention.dense.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.51.self_attention.query_key_value.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.52.ln_attn.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.52.ln_attn.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.52.ln_mlp.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.52.ln_mlp.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.52.mlp.dense_4h_to_h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.52.mlp.dense_h_to_4h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.52.self_attention.dense.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.52.self_attention.query_key_value.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.53.ln_attn.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.53.ln_attn.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.53.ln_mlp.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.53.ln_mlp.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.53.mlp.dense_4h_to_h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.53.mlp.dense_h_to_4h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.53.self_attention.dense.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.53.self_attention.query_key_value.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.54.ln_attn.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.54.ln_attn.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.54.ln_mlp.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.54.ln_mlp.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.54.mlp.dense_4h_to_h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.54.mlp.dense_h_to_4h.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.54.self_attention.dense.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.54.self_attention.query_key_value.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.55.ln_attn.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.55.ln_attn.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.55.ln_mlp.bias": "pytorch_model-00008-of-00009.bin",
"transformer.h.55.ln_mlp.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.55.mlp.dense_4h_to_h.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.55.mlp.dense_h_to_4h.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.55.self_attention.dense.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.55.self_attention.query_key_value.weight": "pytorch_model-00008-of-00009.bin",
"transformer.h.56.ln_attn.bias": "pytorch_model-00009-of-00009.bin",
"transformer.h.56.ln_attn.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.56.ln_mlp.bias": "pytorch_model-00009-of-00009.bin",
"transformer.h.56.ln_mlp.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.56.mlp.dense_4h_to_h.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.56.mlp.dense_h_to_4h.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.56.self_attention.dense.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.56.self_attention.query_key_value.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.57.ln_attn.bias": "pytorch_model-00009-of-00009.bin",
"transformer.h.57.ln_attn.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.57.ln_mlp.bias": "pytorch_model-00009-of-00009.bin",
"transformer.h.57.ln_mlp.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.57.mlp.dense_4h_to_h.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.57.mlp.dense_h_to_4h.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.57.self_attention.dense.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.57.self_attention.query_key_value.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.58.ln_attn.bias": "pytorch_model-00009-of-00009.bin",
"transformer.h.58.ln_attn.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.58.ln_mlp.bias": "pytorch_model-00009-of-00009.bin",
"transformer.h.58.ln_mlp.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.58.mlp.dense_4h_to_h.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.58.mlp.dense_h_to_4h.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.58.self_attention.dense.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.58.self_attention.query_key_value.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.59.ln_attn.bias": "pytorch_model-00009-of-00009.bin",
"transformer.h.59.ln_attn.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.59.ln_mlp.bias": "pytorch_model-00009-of-00009.bin",
"transformer.h.59.ln_mlp.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.59.mlp.dense_4h_to_h.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.59.mlp.dense_h_to_4h.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.59.self_attention.dense.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.59.self_attention.query_key_value.weight": "pytorch_model-00009-of-00009.bin",
"transformer.h.6.ln_attn.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.6.ln_attn.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.6.ln_mlp.bias": "pytorch_model-00001-of-00009.bin",
"transformer.h.6.ln_mlp.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.6.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.6.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.6.self_attention.dense.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.6.self_attention.query_key_value.weight": "pytorch_model-00001-of-00009.bin",
"transformer.h.7.ln_attn.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.7.ln_attn.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.7.ln_mlp.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.7.ln_mlp.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.7.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.7.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.7.self_attention.dense.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.7.self_attention.query_key_value.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.8.ln_attn.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.8.ln_attn.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.8.ln_mlp.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.8.ln_mlp.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.8.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.8.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.8.self_attention.dense.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.8.self_attention.query_key_value.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.9.ln_attn.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.9.ln_attn.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.9.ln_mlp.bias": "pytorch_model-00002-of-00009.bin",
"transformer.h.9.ln_mlp.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.9.mlp.dense_4h_to_h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.9.mlp.dense_h_to_4h.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.9.self_attention.dense.weight": "pytorch_model-00002-of-00009.bin",
"transformer.h.9.self_attention.query_key_value.weight": "pytorch_model-00002-of-00009.bin",
"transformer.ln_f.bias": "pytorch_model-00009-of-00009.bin",
"transformer.ln_f.weight": "pytorch_model-00009-of-00009.bin",
"transformer.word_embeddings.weight": "pytorch_model-00001-of-00009.bin"
}
}

26
special_tokens_map.json Normal file
View File

@@ -0,0 +1,26 @@
{
"additional_special_tokens": [
">>TITLE<<",
">>ABSTRACT<<",
">>INTRODUCTION<<",
">>SUMMARY<<",
">>COMMENT<<",
">>ANSWER<<",
">>QUESTION<<",
">>DOMAIN<<",
">>PREFIX<<",
">>SUFFIX<<",
">>MIDDLE<<",
"<start_system>",
"<start_user>",
"<start_assistant>",
"<end_message>"
],
"eos_token": {
"content": "<end_message>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}

130003
tokenizer.json Normal file

File diff suppressed because it is too large Load Diff

155
tokenizer_config.json Normal file
View File

@@ -0,0 +1,155 @@
{
"add_prefix_space": false,
"added_tokens_decoder": {
"0": {
"content": ">>TITLE<<",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"1": {
"content": ">>ABSTRACT<<",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"2": {
"content": ">>INTRODUCTION<<",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"3": {
"content": ">>SUMMARY<<",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"4": {
"content": ">>COMMENT<<",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"5": {
"content": ">>ANSWER<<",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"6": {
"content": ">>QUESTION<<",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"7": {
"content": ">>DOMAIN<<",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"8": {
"content": ">>PREFIX<<",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"9": {
"content": ">>SUFFIX<<",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"10": {
"content": ">>MIDDLE<<",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"11": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"65020": {
"content": "<end_message>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"65021": {
"content": "<start_assistant>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"65022": {
"content": "<start_user>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"65023": {
"content": "<start_system>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
}
},
"additional_special_tokens": [
">>TITLE<<",
">>ABSTRACT<<",
">>INTRODUCTION<<",
">>SUMMARY<<",
">>COMMENT<<",
">>ANSWER<<",
">>QUESTION<<",
">>DOMAIN<<",
">>PREFIX<<",
">>SUFFIX<<",
">>MIDDLE<<",
"<start_system>",
"<start_user>",
"<start_assistant>",
"<end_message>"
],
"chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '<start_user>' + message['content'].strip() + '<end_message>' }}{% elif message['role'] == 'system' %}{{ '<start_system>' + message['content'].strip() + '<end_message>' }}{% elif message['role'] == 'assistant' %}{{ '<start_assistant>' + message['content'] + '<end_message>' }}{% else %}{{ raise_exception('Only system, user and assistant roles are supported.') }}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<start_assistant>' }}{% endif %}{% endfor %}",
"clean_up_tokenization_spaces": true,
"eos_token": "<end_message>",
"model_max_length": 8192,
"tokenizer_class": "PreTrainedTokenizerFast"
}