Transformers
English
time-series
time-series-language-model
latent-reasoning
reasoning
ecg
sleep-staging
human-activity-recognition
llama-3.2
qwen3
Run this model with HF Jobs
Run leochen085/Lapras on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/leochen085/Lapras. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/leochen085/Lapras on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use leochen085/Lapras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leochen085/Lapras with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("leochen085/Lapras", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add files using upload-large-folder tool
Browse filesFiles changed (50)
- LICENSEAdded+16
- LICENSE-APACHE-2.0.txtAdded+201
- LICENSE-LLAMA-3.2.txtAdded+111
- NOTICEAdded+3
- README.md+152-1
- USE_POLICY-LLAMA-3.2.mdAdded+52
- opentslm/lapras_ecg/__init__.pyAdded+4
- opentslm/lapras_ecg/chat_template.jinjaAdded+1
- opentslm/lapras_ecg/config.jsonAdded+51
- opentslm/lapras_ecg/configuration_opentslm_flamingo.pyAdded+33
- opentslm/lapras_ecg/generation_config.jsonAdded+7
- opentslm/lapras_ecg/lapras_run_config.jsonAdded+12
- opentslm/lapras_ecg/modeling_opentslm_flamingo.pyAdded+322
- opentslm/lapras_ecg/pytorch_model.bin.index.jsonAdded+731
- opentslm/lapras_ecg/special_tokens_map.jsonAdded+27
- opentslm/lapras_ecg/tokenizer_config.jsonAdded+2109
- opentslm/lapras_engine/__init__.pyAdded+4
- opentslm/lapras_engine/config.jsonAdded+51
- opentslm/lapras_engine/configuration_opentslm_flamingo.pyAdded+33
- opentslm/lapras_engine/lapras_run_config.jsonAdded+12
- opentslm/lapras_har/__init__.pyAdded+4
- opentslm/lapras_har/chat_template.jinjaAdded+1
- opentslm/lapras_har/config.jsonAdded+51
- opentslm/lapras_har/configuration_opentslm_flamingo.pyAdded+33
- opentslm/lapras_har/generation_config.jsonAdded+7
- opentslm/lapras_har/lapras_run_config.jsonAdded+12
- opentslm/lapras_har/modeling_opentslm_flamingo.pyAdded+322
- opentslm/lapras_har/pytorch_model.bin.index.jsonAdded+731
- opentslm/lapras_har/special_tokens_map.jsonAdded+27
- opentslm/lapras_har/tokenizer_config.jsonAdded+2109
- opentslm/lapras_sleep/__init__.pyAdded+4
- opentslm/lapras_sleep/chat_template.jinjaAdded+1
- opentslm/lapras_sleep/config.jsonAdded+51
- opentslm/lapras_sleep/configuration_opentslm_flamingo.pyAdded+33
- opentslm/lapras_sleep/generation_config.jsonAdded+7
- opentslm/lapras_sleep/lapras_run_config.jsonAdded+12
- opentslm/lapras_sleep/modeling_opentslm_flamingo.pyAdded+322
- opentslm/lapras_sleep/pytorch_model.bin.index.jsonAdded+731
- opentslm/lapras_sleep/special_tokens_map.jsonAdded+27
- opentslm/lapras_sleep/tokenizer_config.jsonAdded+2109
- opentslm/lapras_tsr/__init__.pyAdded+4
- opentslm/lapras_tsr/chat_template.jinjaAdded+1
- opentslm/lapras_tsr/config.jsonAdded+51
- opentslm/lapras_tsr/configuration_opentslm_flamingo.pyAdded+33
- opentslm/lapras_tsr/generation_config.jsonAdded+9
- opentslm/lapras_tsr/lapras_run_config.jsonAdded+12
- opentslm/lapras_tsr/modeling_opentslm_flamingo.pyAdded+322
- opentslm/lapras_tsr/pytorch_model.bin.index.jsonAdded+731
- opentslm/lapras_tsr/special_tokens_map.jsonAdded+27
- opentslm/lapras_tsr/tokenizer_config.jsonAdded+2125
12345678910111213141516The checkpoints in this repository are released under the license of the model each was finetuned from.
chatts/ Apache License 2.0 LICENSE-APACHE-2.0.txt (finetuned from ChatTS-8B, built on Qwen3-8B; both Apache-2.0)
opentslm/ Llama 3.2 Community License Agreement LICENSE-LLAMA-3.2.txt, USE_POLICY-LLAMA-3.2.md (finetuned from OpenTSLM-Flamingo, built on Llama 3.2 1B)
slip/ Llama 3.2 Community License Agreement LICENSE-LLAMA-3.2.txt, USE_POLICY-LLAMA-3.2.md (finetuned from SLIP-Llama, built on Llama 3.2 1B)
The modeling code files (*.py) in each checkpoint folder are distributed under the license of their upstreamproject: ChatTS (MIT; Qwen-derived files Apache-2.0), OpenTSLM (MIT), SLIP (MIT).
Use of the opentslm/ and slip/ checkpoints must comply with the Llama 3.2 Acceptable Use Policy(USE_POLICY-LLAMA-3.2.md). See NOTICE.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111LLAMA 3.2 COMMUNITY LICENSE AGREEMENTLlama 3.2 Version Release Date: September 25, 2024
“Agreement” means the terms and conditions for use, reproduction, distribution and modification of the Llama Materials set forth herein.
“Documentation” means the specifications, manuals and documentation accompanying Llama 3.2distributed by Meta at https://llama.meta.com/doc/overview.
“Licensee” or “you” means you, or your employer or any other person or entity (if you are entering into this Agreement on such person or entity’s behalf), of the age required underapplicable laws, rules or regulations to provide legal consent and that has legal authorityto bind your employer or such other person or entity if you are entering in this Agreementon their behalf.
“Llama 3.2” means the foundational large language models and software and algorithms, includingmachine-learning model code, trained model weights, inference-enabling code, training-enabling code,fine-tuning enabling code and other elements of the foregoing distributed by Meta at https://www.llama.com/llama-downloads.
“Llama Materials” means, collectively, Meta’s proprietary Llama 3.2 and Documentation (and any portion thereof) made available under this Agreement.
“Meta” or “we” means Meta Platforms Ireland Limited (if you are located in or, if you are an entity, your principal place of business is in the EEA or Switzerland) and Meta Platforms, Inc. (if you are located outside of the EEA or Switzerland).
By clicking “I Accept” below or by using or distributing any portion or element of the Llama Materials,you agree to be bound by this Agreement.
1. License Rights and Redistribution.
a. Grant of Rights. You are granted a non-exclusive, worldwide, non-transferable and royalty-free limited license under Meta’s intellectual property or other rights owned by Meta embodied in the Llama Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the Llama Materials.
b. Redistribution and Use.
i. If you distribute or make available the Llama Materials (or any derivative works thereof), or a product or service (including another AI model) that contains any of them, you shall (A) providea copy of this Agreement with any such Llama Materials; and (B) prominently display “Built with Llama”on a related website, user interface, blogpost, about page, or product documentation. If you use theLlama Materials or any outputs or results of the Llama Materials to create, train, fine tune, orotherwise improve an AI model, which is distributed or made available, you shall also include “Llama”at the beginning of any such AI model name.
ii. If you receive Llama Materials, or any derivative works thereof, from a Licensee as partof an integrated end user product, then Section 2 of this Agreement will not apply to you.
iii. You must retain in all copies of the Llama Materials that you distribute the following attribution notice within a “Notice” text file distributed as a part of such copies: “Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright © Meta Platforms,Inc. All Rights Reserved.”
iv. Your use of the Llama Materials must comply with applicable laws and regulations(including trade compliance laws and regulations) and adhere to the Acceptable Use Policy forthe Llama Materials (available at https://www.llama.com/llama3_2/use-policy), which is hereby incorporated by reference into this Agreement. 2. Additional Commercial Terms. If, on the Llama 3.2 version release date, the monthly active usersof the products or services made available by or for Licensee, or Licensee’s affiliates, is greater than 700 million monthly active users in the preceding calendar month, you must request a license from Meta, which Meta may grant to you in its sole discretion, and you are not authorized toexercise any of the rights under this Agreement unless or until Meta otherwise expressly grants you such rights.
3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE LLAMA MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OF ANY KIND, AND META DISCLAIMSALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIESOF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLEFOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE LLAMA MATERIALS AND ASSUME ANY RISKS ASSOCIATEDWITH YOUR USE OF THE LLAMA MATERIALS AND ANY OUTPUT AND RESULTS.
4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.
5. Intellectual Property.
a. No trademark licenses are granted under this Agreement, and in connection with the Llama Materials, neither Meta nor Licensee may use any name or mark owned by or associated with the other or any of its affiliates, except as required for reasonable and customary use in describing and redistributing the Llama Materials or as set forth in this Section 5(a). Meta hereby grants you a license to use “Llama” (the “Mark”) solely as required to comply with the last sentence of Section 1.b.i. You will comply with Meta’s brand guidelines (currently accessible at https://about.meta.com/brand/resources/meta/company-brand/). All goodwill arising out of your use of the Mark will inure to the benefit of Meta.
b. Subject to Meta’s ownership of Llama Materials and derivatives made by or for Meta, with respect to any derivative works and modifications of the Llama Materials that are made by you, as between you and Meta, you are and will be the owner of such derivative works and modifications.
c. If you institute litigation or other proceedings against Meta or any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Llama Materials or Llama 3.2 outputs or results, or any portion of any of the foregoing, constitutes infringement of intellectual property or other rights owned or licensable by you, then any licenses granted to you under this Agreement shall terminate as of the date such litigation or claim is filed or instituted. You will indemnify and hold harmless Meta from and against any claim by any third party arising out of or related to your use or distribution of the Llama Materials.
6. Term and Termination. The term of this Agreement will commence upon your acceptance of this Agreement or accessto the Llama Materials and will continue in full force and effect until terminated in accordance with the termsand conditions herein. Meta may terminate this Agreement if you are in breach of any term or condition of thisAgreement. Upon termination of this Agreement, you shall delete and cease use of the Llama Materials. Sections 3,4 and 7 shall survive the termination of this Agreement.
7. Governing Law and Jurisdiction. This Agreement will be governed and construed under the laws of the State of California without regard to choice of law principles, and the UN Convention on Contracts for the InternationalSale of Goods does not apply to this Agreement. The courts of California shall have exclusive jurisdiction ofany dispute arising out of this Agreement. 123Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved.
The checkpoints in opentslm/ and slip/ are Built with Llama.123---license: mit---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154---license: otherlicense_name: apache-2.0-and-llama3.2license_link: LICENSElanguage:- enlibrary_name: transformersbase_model:- bytedance-research/ChatTS-8B- OpenTSLM/llama-3.2-1b-sleep-flamingo- leochen085/SLIP-Llamabase_model_relation: finetunedatasets:- leochen085/Lapras-Reasoning-Datasetstags:- time-series- time-series-language-model- latent-reasoning- reasoning- ecg- sleep-staging- human-activity-recognition- llama-3.2- qwen3---# <img src="figures/lapras.png" width="60" align="absmiddle" alt="Lapras logo"> Lapras: Latent Reasoning for Time Series Language Models<!-- TODO(release): paper link -->[Paper](<ARXIV_URL>) | [Code](https://github.com/yuc0805/Lapras) | [Datasets](https://huggingface.co/datasets/leochen085/Lapras-Reasoning-Datasets)**Lapras** (**La**tent **P**ost-trained **R**easoning **A**cross **S**eries) is a post-training framework thatequips time series language models (TSLMs) with latent reasoning. A model trained with Lapras reasons through asequence of *continuous thoughts* in the joint time series–language space, producing text only for the finalanswer. It learns this through teacher–student self-distillation from reference chain-of-thought (CoT) traces.This repository holds the 15 Lapras checkpoints reported in the paper: three TSLM backbones, each finetunedseparately on five time series question answering tasks.## Checkpoints| Folder | Backbone | Finetuned from | Size per checkpoint | License ||---|---|---|---:|---|| `chatts/` | ChatTS-8B (Qwen3-8B) | [bytedance-research/ChatTS-8B](https://huggingface.co/bytedance-research/ChatTS-8B) | 16 GB | Apache-2.0 || `opentslm/` | OpenTSLM-Flamingo-1B (Llama 3.2 1B) | [OpenTSLM/llama-3.2-1b-sleep-flamingo](https://huggingface.co/OpenTSLM/llama-3.2-1b-sleep-flamingo) | 6.8 GB | Llama 3.2 Community License || `slip/` | SLIP-1B (Llama 3.2 1B) | [leochen085/SLIP-Llama](https://huggingface.co/leochen085/SLIP-Llama) | 3.3 GB | Llama 3.2 Community License |Each backbone folder has one checkpoint per task: `lapras_ecg`, `lapras_sleep`, `lapras_har`, `lapras_tsr`,`lapras_engine`. A checkpoint answers questions of its own task only.```chatts/lapras_tsr/├── config.json, generation_config.json, weights, tokenizer files├── *.py # modeling code, loaded with trust_remote_code=True├── lapras_projection.safetensors # projection π that maps each continuous thought to the next input embedding└── lapras_run_config.json # inference settings (template, number of continuous thoughts, patch size)```The time series enters the language model differently in each backbone: as patch embeddings in the tokensequence (ChatTS), through gated cross-attention over a Perceiver resampler (OpenTSLM-Flamingo), or throughcross-attention in the last layers (SLIP).## How to useThe continuous-thought loop (K latent steps fed back through π before the answer is decoded) is implemented inthe [Lapras code](https://github.com/yuc0805/Lapras), not in `generate()`. Run the checkpoints with its `evaluation/evaluate.py`,which reads `lapras_run_config.json`, so nothing has to be set by hand.```bashgit clone https://github.com/yuc0805/Lapras.git && cd Lapras# install as in the code README, then download into ckpt/ and dataset/:hf download leochen085/Lapras --include "chatts/*" "opentslm/*" "slip/*" --local-dir ckpt # all 15 checkpoints (128 GB)hf download leochen085/Lapras --include "slip/*" --local-dir ckpt # one backbonehf download leochen085/Lapras --include "slip/lapras_tsr/*" --local-dir ckpt # one checkpointhf download leochen085/Lapras-Reasoning-Datasets --repo-type dataset --include "*.jsonl" --local-dir dataset```Evaluate one checkpoint on its test set with greedy decoding:```bash# single GPUpython evaluation/evaluate.py --ckpt ckpt/slip/lapras_tsr --test_file dataset/tsr/test.jsonl# 4 GPUstorchrun --nproc_per_node 4 evaluation/evaluate.py \--ckpt ckpt/chatts/lapras_tsr \--test_file dataset/tsr/test_with_ts_tags.jsonl \--batch_size 8 --max_new_tokens 512```ChatTS and OpenTSLM checkpoints read the `*_with_ts_tags.jsonl` files; SLIP reads the plain `*.jsonl` files.Predictions and metrics are written to `<ckpt>/eval/` (`predictions.jsonl`, `summary.json`).SLIP checkpoints fetch the configuration of the gated[meta-llama/Llama-3.2-1B](https://huggingface.co/meta-llama/Llama-3.2-1B) when loaded: accept its license andlog in (`hf auth login`) first.## TasksThe checkpoints were finetuned on the[Lapras Reasoning Datasets](https://huggingface.co/datasets/leochen085/Lapras-Reasoning-Datasets): each examplepairs a question and a multichannel time series with a reference reasoning trace that ends in `Answer: <label>`.| Task | Description | Test examples | Channels × length | Answer ||---|---|---:|---|---|| ECG | cardiological diagnosis | 643 | 12 × 1000 | yes / no || Sleep | sleep-stage classification (SleepEDF) | 923 | 1 × 1500 | 5 stages || HAR | human activity recognition | 8,222 | 3 × 128 | 8 activities || TSR | counterfactual consequence prediction | 4,094 | 1 × 128–1020 | option A–D || Engine | aero-engine fault diagnosis (EngineMT-QA) | 193 | 33 × 600 | option a–d |## ResultsTest accuracy and macro-F1 (%) of these checkpoints, as reported in Table 1 of the paper.| Backbone | ECG Acc | ECG F1 | Sleep Acc | Sleep F1 | HAR Acc | HAR F1 | TSR Acc | TSR F1 | Engine Acc | Engine F1 | Avg Acc | Avg F1 ||---|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|---:|| ChatTS-8B | 85.23 | 85.17 | 88.19 | 79.49 | 77.43 | 73.53 | 69.32 | 69.32 | 35.75 | 35.10 | 71.18 | 68.52 || OpenTSLM-Flamingo-1B | 73.56 | 73.49 | 80.72 | 68.91 | 72.40 | 68.20 | 58.40 | 58.44 | 32.12 | 27.51 | 63.44 | 59.31 || SLIP-1B | 82.74 | 82.64 | 78.12 | 66.31 | 74.84 | 70.75 | 67.32 | 67.30 | 38.86 | 26.49 | 68.38 | 62.70 |Compared with explicit CoT finetuning of the same backbones, Lapras raises the average F1 by 10.79 (ChatTS),6.38 (OpenTSLM) and 5.07 (SLIP) points, while generating only the final answer.## LicenseThe checkpoints follow the license of the model each was finetuned from (see [`LICENSE`](LICENSE)):- `chatts/`: [Apache License 2.0](LICENSE-APACHE-2.0.txt).- `opentslm/`, `slip/`: [Llama 3.2 Community License Agreement](LICENSE-LLAMA-3.2.txt), subject to the[Llama 3.2 Acceptable Use Policy](USE_POLICY-LLAMA-3.2.md). **Built with Llama.**Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright © Meta Platforms, Inc. All RightsReserved.## Citation<!-- TODO(release): authors and venue -->```bibtex@inproceedings{lapras2027,title = {Lapras: Latent Reasoning for Time Series Language Models},author = {<AUTHORS>},booktitle = {<VENUE>},year = {2027}}```## AcknowledgementsWe thank the authors of [ChatTS](https://github.com/NetManAIOps/ChatTS),[OpenTSLM](https://github.com/StanfordBDHG/OpenTSLM) and SLIP for releasing their models. Lapras follows theself-distillation objective of [CODI](https://github.com/zhenyi4/codi).
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152**Llama 3.2** **Acceptable Use Policy**
Meta is committed to promoting safe and fair use of its tools and features, including Llama 3.2. If you access or use Llama 3.2, you agree to this Acceptable Use Policy (“**Policy**”). The most recent copy of this policy can be found at [https://www.llama.com/llama3_2/use-policy](https://www.llama.com/llama3_2/use-policy).
**Prohibited Uses**
We want everyone to use Llama 3.2 safely and responsibly. You agree you will not use, or allow others to use, Llama 3.2 to:
1. Violate the law or others’ rights, including to: 1. Engage in, promote, generate, contribute to, encourage, plan, incite, or further illegal or unlawful activity or content, such as: 1. Violence or terrorism 2. Exploitation or harm to children, including the solicitation, creation, acquisition, or dissemination of child exploitative content or failure to report Child Sexual Abuse Material 3. Human trafficking, exploitation, and sexual violence 4. The illegal distribution of information or materials to minors, including obscene materials, or failure to employ legally required age-gating in connection with such information or materials. 5. Sexual solicitation 6. Any other criminal activity 1. Engage in, promote, incite, or facilitate the harassment, abuse, threatening, or bullying of individuals or groups of individuals 2. Engage in, promote, incite, or facilitate discrimination or other unlawful or harmful conduct in the provision of employment, employment benefits, credit, housing, other economic benefits, or other essential goods and services 3. Engage in the unauthorized or unlicensed practice of any profession including, but not limited to, financial, legal, medical/health, or related professional practices 4. Collect, process, disclose, generate, or infer private or sensitive information about individuals, including information about individuals’ identity, health, or demographic information, unless you have obtained the right to do so in accordance with applicable law 5. Engage in or facilitate any action or generate any content that infringes, misappropriates, or otherwise violates any third-party rights, including the outputs or results of any products or services using the Llama Materials 6. Create, generate, or facilitate the creation of malicious code, malware, computer viruses or do anything else that could disable, overburden, interfere with or impair the proper working, integrity, operation or appearance of a website or computer system 7. Engage in any action, or facilitate any action, to intentionally circumvent or remove usage restrictions or other safety measures, or to enable functionality disabled by Meta 2. Engage in, promote, incite, facilitate, or assist in the planning or development of activities that present a risk of death or bodily harm to individuals, including use of Llama 3.2 related to the following: 8. Military, warfare, nuclear industries or applications, espionage, use for materials or activities that are subject to the International Traffic Arms Regulations (ITAR) maintained by the United States Department of State or to the U.S. Biological Weapons Anti-Terrorism Act of 1989 or the Chemical Weapons Convention Implementation Act of 1997 9. Guns and illegal weapons (including weapon development) 10. Illegal drugs and regulated/controlled substances 11. Operation of critical infrastructure, transportation technologies, or heavy machinery 12. Self-harm or harm to others, including suicide, cutting, and eating disorders 13. Any content intended to incite or promote violence, abuse, or any infliction of bodily harm to an individual3. Intentionally deceive or mislead others, including use of Llama 3.2 related to the following: 14. Generating, promoting, or furthering fraud or the creation or promotion of disinformation 15. Generating, promoting, or furthering defamatory content, including the creation of defamatory statements, images, or other content 16. Generating, promoting, or further distributing spam 17. Impersonating another individual without consent, authorization, or legal right 18. Representing that the use of Llama 3.2 or outputs are human-generated 19. Generating or facilitating false online engagement, including fake reviews and other means of fake online engagement 4. Fail to appropriately disclose to end users any known dangers of your AI system5. Interact with third party tools, models, or software designed to generate unlawful content or engage in unlawful or harmful conduct and/or represent that the outputs of such tools, models, or software are associated with Meta or Llama 3.2
With respect to any multimodal models included in Llama 3.2, the rights granted under Section 1(a) of the Llama 3.2 Community License Agreement are not being granted to you if you are an individual domiciled in, or a company with a principal place of business in, the European Union. This restriction does not apply to end users of a product or service that incorporates any such multimodal models.
Please report any violation of this Policy, software “bug,” or other problems that could lead to a violation of this Policy through one of the following means:
* Reporting issues with the model: [https://github.com/meta-llama/llama-models/issues](https://l.workplace.com/l.php?u=https%3A%2F%2Fgithub.com%2Fmeta-llama%2Fllama-models%2Fissues&h=AT0qV8W9BFT6NwihiOHRuKYQM_UnkzN_NmHMy91OT55gkLpgi4kQupHUl0ssR4dQsIQ8n3tfd0vtkobvsEvt1l4Ic6GXI2EeuHV8N08OG2WnbAmm0FL4ObkazC6G_256vN0lN9DsykCvCqGZ)* Reporting risky content generated by the model: [developers.facebook.com/llama_output_feedback](http://developers.facebook.com/llama_output_feedback)* Reporting bugs and security concerns: [facebook.com/whitehat/info](http://facebook.com/whitehat/info)* Reporting violations of the Acceptable Use Policy or unlicensed uses of Llama 3.2: LlamaUseReport@meta.com1234from .configuration_opentslm_flamingo import OpenTSLMFlamingoConfigfrom .modeling_opentslm_flamingo import OpenTSLMFlamingoForCausalLM
__all__ = ["OpenTSLMFlamingoConfig", "OpenTSLMFlamingoForCausalLM"]1{{ '<|begin_of_text|>' }}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ content }}{% elif message['role'] == 'assistant' %}{{ content + '<|end_of_text|>' }}{% endif %}{% endfor %}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "architectures": [ "OpenTSLMFlamingoForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "auto_map": { "AutoConfig": "configuration_opentslm_flamingo.OpenTSLMFlamingoConfig", "AutoModel": "modeling_opentslm_flamingo.OpenTSLMFlamingoForCausalLM", "AutoModelForCausalLM": "modeling_opentslm_flamingo.OpenTSLMFlamingoForCausalLM" }, "bos_token_id": 128000, "cross_attn_every_n_layers": 1, "eoc_token_id": 128256, "eos_token_id": 128001, "head_dim": 64, "hidden_act": "silu", "hidden_size": 2048, "ignore_index": -100, "initializer_range": 0.02, "intermediate_size": 8192, "max_patches": 1024, "max_position_embeddings": 131072, "media_token_id": 128257, "mlp_bias": false, "model_type": "opentslm_flamingo", "normalize_timeseries": true, "num_attention_heads": 32, "num_hidden_layers": 16, "num_key_value_heads": 8, "pad_token_id": 128258, "perceiver_depth": 6, "perceiver_num_latents": 64, "pretraining_tp": 1, "rms_norm_eps": 1e-05, "rope_scaling": { "factor": 32.0, "high_freq_factor": 4.0, "low_freq_factor": 1.0, "original_max_position_embeddings": 8192, "rope_type": "llama3" }, "rope_theta": 500000.0, "tie_word_embeddings": true, "torch_dtype": "bfloat16", "transformers_version": "4.54.1", "ts_patch_size": 4, "use_cache": false, "vis_dim": 128, "vocab_size": 128320}123456789101112131415161718192021222324252627282930313233"""Configuration of OpenTSLM-Flamingo: a Llama LM with a CNN tokenizer, a perceiver and gated cross-attention."""
from transformers.models.llama.configuration_llama import LlamaConfig
class OpenTSLMFlamingoConfig(LlamaConfig): model_type = "opentslm_flamingo"
def __init__( self, vis_dim: int = 128, # width of the CNN tokenizer, perceiver and cross-attention ts_patch_size: int = 4, # CNN tokenizer kernel and stride cross_attn_every_n_layers: int = 1, perceiver_num_latents: int = 64, perceiver_depth: int = 6, max_patches: int = 1024, media_token_id: int | None = None, # id of "<image>" eoc_token_id: int | None = None, # id of "<|endofchunk|>" normalize_timeseries: bool = True, ignore_index: int = -100, **kwargs, ): self.vis_dim = vis_dim self.ts_patch_size = ts_patch_size self.cross_attn_every_n_layers = cross_attn_every_n_layers self.perceiver_num_latents = perceiver_num_latents self.perceiver_depth = perceiver_depth self.max_patches = max_patches self.media_token_id = media_token_id self.eoc_token_id = eoc_token_id self.normalize_timeseries = normalize_timeseries self.ignore_index = ignore_index super().__init__(**kwargs)1234567{ "_from_model_config": true, "bos_token_id": 128000, "eos_token_id": 128001, "pad_token_id": 128258, "transformers_version": "4.54.1"}123456789101112{ "stage": "lapras", "template": "flamingo", "ts_patch_size": null, "answer_anchor": "Answer:", "use_cot": null, "num_latent": 3, "projection": { "projection_dim": 2048 }, "remove_eos": true}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322"""OpenTSLM-Flamingo as a Hugging Face causal LM with the interface of the SLIP backbone."""
from dataclasses import dataclassfrom typing import Any, Dict, Optional, Union
import torchimport torch.nn as nn
from transformers.cache_utils import Cachefrom transformers.generation import GenerationMixinfrom transformers.modeling_utils import PreTrainedModelfrom transformers.models.llama.configuration_llama import LlamaConfigfrom transformers.models.llama.modeling_llama import LlamaForCausalLMfrom transformers.utils import ModelOutput, logging
from .configuration_opentslm_flamingo import OpenTSLMFlamingoConfig
from open_flamingo.src.flamingo_lm import FlamingoLMMixin, FlamingoLayerfrom open_flamingo.src.helpers import PerceiverResamplerfrom open_flamingo.src.utils import extend_instance
logger = logging.get_logger(__name__)
# Recent transformers read `attention_type` off every decoder layer, which FlamingoLayer lacks.if not isinstance(getattr(FlamingoLayer, "attention_type", None), property): def _attention_type_property(self): return getattr(self.decoder_layer, "attention_type", None)
FlamingoLayer.attention_type = property(_attention_type_property) # type: ignore
PATCH_SIZE = 4ENCODER_OUTPUT_DIM = 128
class _CNNTokenizer(nn.Module): """OpenTSLM's CNN tokenizer: ``(B, L)`` series -> ``(B, L / patch_size, D)`` patch embeddings."""
def __init__( self, transformer_input_dim: int = ENCODER_OUTPUT_DIM, patch_size: int = PATCH_SIZE, max_patches: int = 1024, dropout: float = 0.0, ): super().__init__() self.patch_size = patch_size self.patch_embed = nn.Conv1d( in_channels=1, out_channels=transformer_input_dim, kernel_size=patch_size, stride=patch_size, bias=False, ) self.pos_embed = nn.Parameter(torch.randn(1, max_patches, transformer_input_dim)) self.input_norm = nn.LayerNorm(transformer_input_dim) self.input_dropout = nn.Dropout(dropout)
def forward(self, x: torch.Tensor) -> torch.Tensor: B, L = x.shape if L % self.patch_size != 0: raise ValueError(f"Sequence length {L} not divisible by patch_size {self.patch_size}") x = x.unsqueeze(1) # [B, 1, L] x = self.patch_embed(x) # [B, D, N] x = x.transpose(1, 2) # [B, N, D] N = x.size(1) if N > self.pos_embed.size(1): raise ValueError( f"Series of {N * self.patch_size} steps too long; max " f"{self.pos_embed.size(1) * self.patch_size} (raise max_patches)." ) x = x + self.pos_embed[:, :N, :] x = self.input_norm(x) x = self.input_dropout(x) return x # [B, N, D]
@dataclassclass OpenTSLMFlamingoCausalLMOutput(ModelOutput): """Causal LM outputs; ``attention_mask`` is always None since the sequence is never expanded."""
loss: Optional[torch.FloatTensor] = None logits: Optional[torch.FloatTensor] = None last_hidden_state: Optional[torch.FloatTensor] = None hidden_states: Optional[tuple] = None past_key_values: Optional[tuple] = None attention_mask: Optional[torch.Tensor] = None
def _sanitized_llama_config(config: OpenTSLMFlamingoConfig) -> LlamaConfig: """Llama config of the inner language model, without the Flamingo fields.""" drop = { "vis_dim", "ts_patch_size", "cross_attn_every_n_layers", "perceiver_num_latents", "perceiver_depth", "max_patches", "media_token_id", "eoc_token_id", "normalize_timeseries", "ignore_index", "model_type", "architectures", "auto_map", "_name_or_path", "torch_dtype", } d = {k: v for k, v in config.to_dict().items() if k not in drop} llama_cfg = LlamaConfig(**d) # The published weights were trained with eager attention. llama_cfg._attn_implementation = "eager" return llama_cfg
class OpenTSLMFlamingoForCausalLM(PreTrainedModel, GenerationMixin): config_class = OpenTSLMFlamingoConfig supports_gradient_checkpointing = True _supports_cache_class = True _no_split_modules = ["LlamaDecoderLayer", "FlamingoLayer"]
def __init__(self, config: OpenTSLMFlamingoConfig): super().__init__(config)
self.vision_encoder = _CNNTokenizer( transformer_input_dim=config.vis_dim, patch_size=config.ts_patch_size, max_patches=config.max_patches, )
# Llama with open_flamingo's gated cross-attention layers. lang_encoder = LlamaForCausalLM(_sanitized_llama_config(config)) extend_instance(lang_encoder, FlamingoLMMixin) lang_encoder.set_decoder_layers_attr_name("model.layers") lang_encoder.init_flamingo( media_token_id=(config.media_token_id if config.media_token_id is not None else 0), lang_hidden_size=config.hidden_size, vis_hidden_size=config.vis_dim, cross_attn_every_n_layers=config.cross_attn_every_n_layers, gradient_checkpointing=False, ) self.lang_encoder = lang_encoder
self.perceiver = PerceiverResampler( dim=config.vis_dim, depth=config.perceiver_depth, num_latents=config.perceiver_num_latents, ) self.perceiver._use_gradient_checkpointing = False
self.media_token_id = config.media_token_id self.eoc_token_id = config.eoc_token_id self.vis_dim = config.vis_dim self._cached_vis_x: Optional[torch.Tensor] = None
self.post_init()
@property def sensor_encoder(self) -> nn.Module: """Alias of the CNN tokenizer, not registered as a second submodule.""" return self.vision_encoder
@property def embed_dim(self) -> int: return self.vis_dim
def get_input_embeddings(self): return self.lang_encoder.get_input_embeddings()
def set_input_embeddings(self, value): self.lang_encoder.set_input_embeddings(value)
def get_output_embeddings(self): return self.lang_encoder.get_output_embeddings()
def set_output_embeddings(self, new_embeddings): self.lang_encoder.set_output_embeddings(new_embeddings)
def tie_weights(self): return self.lang_encoder.tie_weights()
def resize_token_embeddings(self, new_num_tokens=None, *args, **kwargs): out = self.lang_encoder.resize_token_embeddings(new_num_tokens, *args, **kwargs) if new_num_tokens is not None: actual_vocab = out.weight.shape[0] # includes the pad_to_multiple_of padding self.config.vocab_size = actual_vocab self.lang_encoder.config.vocab_size = actual_vocab return out
def gradient_checkpointing_enable(self, gradient_checkpointing_kwargs=None): self.lang_encoder.model.gradient_checkpointing_enable(gradient_checkpointing_kwargs)
def gradient_checkpointing_disable(self): self.lang_encoder.model.gradient_checkpointing_disable()
def _encode_vision_x(self, vision_x: torch.Tensor) -> torch.Tensor: """``(B, T_img, F, L)`` series -> perceiver latents ``(B, T_img, num_latents, vis_dim)``.""" w = self.vision_encoder.patch_embed.weight vision_x = vision_x.to(device=w.device, dtype=w.dtype) if vision_x.ndim != 4: raise ValueError( f"Flamingo vision_x must be (B, T_img, F, L); got shape {tuple(vision_x.shape)}" ) b, T, F, L = vision_x.shape x = vision_x.reshape(b * T * F, L) # (b*T*F, L) x = self.vision_encoder(x) # (b*T*F, N, D) x = x.reshape(b, T, F, x.size(1), x.size(2)) # (b, T, F, N, D) x = self.perceiver(x) # (b, T, num_latents, D) return x
def _set_conditioning(self, vis_x: torch.Tensor, input_ids: Optional[torch.LongTensor]) -> None: """Condition the cross-attention layers; inputs without <image> markers reuse the cached media.""" layers = self.lang_encoder._get_decoder_layers() media_locations = None if input_ids is not None: media_locations = input_ids == self.media_token_id
use_cached = bool( getattr(self.lang_encoder, "_use_cached_vision_x", False) and (media_locations is None or not media_locations.any()) ) for layer in layers: layer.condition_vis_x(vis_x) if not use_cached: layer.condition_media_locations(media_locations) layer.condition_use_cached_media(use_cached)
def forward( self, input_ids: Optional[torch.LongTensor] = None, inputs_embeds: Optional[torch.FloatTensor] = None, attention_mask: Optional[torch.Tensor] = None, position_ids: Optional[torch.LongTensor] = None, timeseries: Optional[torch.FloatTensor] = None, sensor_attn_mask=None, # used by sensor masking, not by the model time_index=None, # unused (SLIP interface) past_key_values: Optional[Cache] = None, use_cache: Optional[bool] = None, output_hidden_states: Optional[bool] = None, cache_position: Optional[torch.LongTensor] = None, return_dict: Optional[bool] = None, ts_patch_sizes=None, # unused (ChatTS interface) labels: Optional[torch.LongTensor] = None, **kwargs, ) -> OpenTSLMFlamingoCausalLMOutput: # Encode the series when given; later forwards without it reuse this encoding. if timeseries is not None: vis_x = self._encode_vision_x(timeseries) self._cached_vis_x = vis_x self.lang_encoder._use_cached_vision_x = True else: vis_x = self._cached_vis_x if vis_x is None: raise RuntimeError( "OpenTSLMFlamingoForCausalLM.forward called without `timeseries` and no " "vision features are cached. Pass the time-series on the first (prefill) pass." )
self._set_conditioning(vis_x, input_ids) base_outputs = self.lang_encoder.model( input_ids=input_ids, inputs_embeds=inputs_embeds, attention_mask=attention_mask, position_ids=position_ids, past_key_values=past_key_values, use_cache=use_cache, output_hidden_states=output_hidden_states, cache_position=cache_position, return_dict=True, ) last_hidden_state = base_outputs.last_hidden_state logits = self.lang_encoder.lm_head(last_hidden_state)
loss = None if labels is not None: shift_logits = logits[..., :-1, :].contiguous() shift_labels = labels[..., 1:].contiguous() loss = nn.functional.cross_entropy( shift_logits.view(-1, shift_logits.size(-1)), shift_labels.view(-1), ignore_index=self.config.ignore_index, )
return OpenTSLMFlamingoCausalLMOutput( loss=loss, logits=logits, last_hidden_state=last_hidden_state, hidden_states=getattr(base_outputs, "hidden_states", None), past_key_values=getattr(base_outputs, "past_key_values", None), attention_mask=None, )
def prepare_inputs_for_generation( self, input_ids, past_key_values=None, attention_mask=None, inputs_embeds=None, timeseries=None, sensor_attn_mask=None, time_index=None, cache_position=None, **kwargs, ) -> Dict[str, Any]: # Prefill vs. decode by cache length: the first step may receive an empty cache. cache_len = 0 if past_key_values is not None: if hasattr(past_key_values, "get_seq_length"): cache_len = past_key_values.get_seq_length() elif isinstance(past_key_values, (tuple, list)) and past_key_values and past_key_values[0] is not None: cache_len = past_key_values[0][0].shape[2]
if cache_len > 0: input_ids = input_ids[:, -1:] timeseries = None sensor_attn_mask = None time_index = None
return { "input_ids": input_ids, "past_key_values": past_key_values, "attention_mask": attention_mask, "inputs_embeds": inputs_embeds, "timeseries": timeseries, "sensor_attn_mask": sensor_attn_mask, "time_index": time_index, "cache_position": cache_position, "use_cache": kwargs.get("use_cache", True), }
__all__ = ["OpenTSLMFlamingoForCausalLM", "OpenTSLMFlamingoConfig"]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731{ "metadata": { "total_parameters": 1819500192, "total_size": 7256194432 }, "weight_map": { "codi_mae_applier.mask_token": "pytorch_model-00002-of-00002.bin", "codi_projection.1.bias": "pytorch_model-00002-of-00002.bin", "codi_projection.1.weight": "pytorch_model-00002-of-00002.bin", "codi_projection.3.bias": "pytorch_model-00002-of-00002.bin", "codi_projection.3.weight": "pytorch_model-00002-of-00002.bin", "codi_projection.ln.bias": "pytorch_model-00002-of-00002.bin", "codi_projection.ln.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.lm_head.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.embed_tokens.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.10.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.2.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.7.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "perceiver.latents": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.norm.bias": "pytorch_model-00002-of-00002.bin", "perceiver.norm.weight": "pytorch_model-00002-of-00002.bin", "vision_encoder.input_norm.bias": "pytorch_model-00001-of-00002.bin", "vision_encoder.input_norm.weight": "pytorch_model-00001-of-00002.bin", "vision_encoder.patch_embed.weight": "pytorch_model-00001-of-00002.bin", "vision_encoder.pos_embed": "pytorch_model-00001-of-00002.bin" }}123456789101112131415161718192021222324252627{ "additional_special_tokens": [ "<|endofchunk|>", "<image>" ], "bos_token": { "content": "<|begin_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<PAD>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109{ "added_tokens_decoder": { "128000": { "content": "<|begin_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128001": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128002": { "content": "<|reserved_special_token_0|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128003": { "content": "<|reserved_special_token_1|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128004": { "content": "<|finetune_right_pad_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128005": { "content": "<|reserved_special_token_2|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128006": { "content": "<|start_header_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128007": { "content": "<|end_header_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128008": { "content": "<|eom_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128009": { "content": "<|eot_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128010": { "content": "<|python_tag|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128011": { "content": "<|reserved_special_token_3|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128012": { "content": "<|reserved_special_token_4|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128013": { "content": "<|reserved_special_token_5|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128014": { "content": "<|reserved_special_token_6|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128015": { "content": "<|reserved_special_token_7|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128016": { "content": "<|reserved_special_token_8|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128017": { "content": "<|reserved_special_token_9|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128018": { "content": "<|reserved_special_token_10|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128019": { "content": "<|reserved_special_token_11|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128020": { "content": "<|reserved_special_token_12|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128021": { "content": "<|reserved_special_token_13|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128022": { "content": "<|reserved_special_token_14|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128023": { "content": "<|reserved_special_token_15|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128024": { "content": "<|reserved_special_token_16|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128025": { "content": "<|reserved_special_token_17|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128026": { "content": "<|reserved_special_token_18|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128027": { "content": "<|reserved_special_token_19|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128028": { "content": "<|reserved_special_token_20|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128029": { "content": "<|reserved_special_token_21|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128030": { "content": "<|reserved_special_token_22|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128031": { "content": "<|reserved_special_token_23|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128032": { "content": "<|reserved_special_token_24|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128033": { "content": "<|reserved_special_token_25|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128034": { "content": "<|reserved_special_token_26|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128035": { "content": "<|reserved_special_token_27|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128036": { "content": "<|reserved_special_token_28|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128037": { "content": "<|reserved_special_token_29|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128038": { "content": "<|reserved_special_token_30|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128039": { "content": "<|reserved_special_token_31|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128040": { "content": "<|reserved_special_token_32|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128041": { "content": "<|reserved_special_token_33|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128042": { "content": "<|reserved_special_token_34|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128043": { "content": "<|reserved_special_token_35|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128044": { "content": "<|reserved_special_token_36|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128045": { "content": "<|reserved_special_token_37|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128046": { "content": "<|reserved_special_token_38|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128047": { "content": "<|reserved_special_token_39|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128048": { "content": "<|reserved_special_token_40|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128049": { "content": "<|reserved_special_token_41|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128050": { "content": "<|reserved_special_token_42|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128051": { "content": "<|reserved_special_token_43|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128052": { "content": "<|reserved_special_token_44|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128053": { "content": "<|reserved_special_token_45|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128054": { "content": "<|reserved_special_token_46|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128055": { "content": "<|reserved_special_token_47|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128056": { "content": "<|reserved_special_token_48|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128057": { "content": "<|reserved_special_token_49|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128058": { "content": "<|reserved_special_token_50|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128059": { "content": "<|reserved_special_token_51|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128060": { "content": "<|reserved_special_token_52|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128061": { "content": "<|reserved_special_token_53|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128062": { "content": "<|reserved_special_token_54|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128063": { "content": "<|reserved_special_token_55|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128064": { "content": "<|reserved_special_token_56|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128065": { "content": "<|reserved_special_token_57|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128066": { "content": "<|reserved_special_token_58|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128067": { "content": "<|reserved_special_token_59|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128068": { "content": "<|reserved_special_token_60|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128069": { "content": "<|reserved_special_token_61|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128070": { "content": "<|reserved_special_token_62|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128071": { "content": "<|reserved_special_token_63|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128072": { "content": "<|reserved_special_token_64|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128073": { "content": "<|reserved_special_token_65|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128074": { "content": "<|reserved_special_token_66|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128075": { "content": "<|reserved_special_token_67|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128076": { "content": "<|reserved_special_token_68|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128077": { "content": "<|reserved_special_token_69|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128078": { "content": "<|reserved_special_token_70|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128079": { "content": "<|reserved_special_token_71|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128080": { "content": "<|reserved_special_token_72|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128081": { "content": "<|reserved_special_token_73|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128082": { "content": "<|reserved_special_token_74|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128083": { "content": "<|reserved_special_token_75|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128084": { "content": "<|reserved_special_token_76|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128085": { "content": "<|reserved_special_token_77|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128086": { "content": "<|reserved_special_token_78|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128087": { "content": "<|reserved_special_token_79|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128088": { "content": "<|reserved_special_token_80|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128089": { "content": "<|reserved_special_token_81|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128090": { "content": "<|reserved_special_token_82|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128091": { "content": "<|reserved_special_token_83|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128092": { "content": "<|reserved_special_token_84|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128093": { "content": "<|reserved_special_token_85|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128094": { "content": "<|reserved_special_token_86|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128095": { "content": "<|reserved_special_token_87|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128096": { "content": "<|reserved_special_token_88|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128097": { "content": "<|reserved_special_token_89|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128098": { "content": "<|reserved_special_token_90|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128099": { "content": "<|reserved_special_token_91|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128100": { "content": "<|reserved_special_token_92|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128101": { "content": "<|reserved_special_token_93|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128102": { "content": "<|reserved_special_token_94|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128103": { "content": "<|reserved_special_token_95|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128104": { "content": "<|reserved_special_token_96|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128105": { "content": "<|reserved_special_token_97|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128106": { "content": "<|reserved_special_token_98|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128107": { "content": "<|reserved_special_token_99|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128108": { "content": "<|reserved_special_token_100|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128109": { "content": "<|reserved_special_token_101|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128110": { "content": "<|reserved_special_token_102|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128111": { "content": "<|reserved_special_token_103|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128112": { "content": "<|reserved_special_token_104|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128113": { "content": "<|reserved_special_token_105|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128114": { "content": "<|reserved_special_token_106|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128115": { "content": "<|reserved_special_token_107|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128116": { "content": "<|reserved_special_token_108|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128117": { "content": "<|reserved_special_token_109|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128118": { "content": "<|reserved_special_token_110|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128119": { "content": "<|reserved_special_token_111|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128120": { "content": "<|reserved_special_token_112|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128121": { "content": "<|reserved_special_token_113|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128122": { "content": "<|reserved_special_token_114|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128123": { "content": "<|reserved_special_token_115|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128124": { "content": "<|reserved_special_token_116|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128125": { "content": "<|reserved_special_token_117|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128126": { "content": "<|reserved_special_token_118|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128127": { "content": "<|reserved_special_token_119|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128128": { "content": "<|reserved_special_token_120|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128129": { "content": "<|reserved_special_token_121|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128130": { "content": "<|reserved_special_token_122|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128131": { "content": "<|reserved_special_token_123|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128132": { "content": "<|reserved_special_token_124|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128133": { "content": "<|reserved_special_token_125|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128134": { "content": "<|reserved_special_token_126|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128135": { "content": "<|reserved_special_token_127|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128136": { "content": "<|reserved_special_token_128|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128137": { "content": "<|reserved_special_token_129|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128138": { "content": "<|reserved_special_token_130|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128139": { "content": "<|reserved_special_token_131|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128140": { "content": "<|reserved_special_token_132|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128141": { "content": "<|reserved_special_token_133|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128142": { "content": "<|reserved_special_token_134|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128143": { "content": "<|reserved_special_token_135|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128144": { "content": "<|reserved_special_token_136|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128145": { "content": "<|reserved_special_token_137|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128146": { "content": "<|reserved_special_token_138|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128147": { "content": "<|reserved_special_token_139|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128148": { "content": "<|reserved_special_token_140|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128149": { "content": "<|reserved_special_token_141|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128150": { "content": "<|reserved_special_token_142|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128151": { "content": "<|reserved_special_token_143|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128152": { "content": "<|reserved_special_token_144|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128153": { "content": "<|reserved_special_token_145|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128154": { "content": "<|reserved_special_token_146|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128155": { "content": "<|reserved_special_token_147|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128156": { "content": "<|reserved_special_token_148|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128157": { "content": "<|reserved_special_token_149|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128158": { "content": "<|reserved_special_token_150|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128159": { "content": "<|reserved_special_token_151|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128160": { "content": "<|reserved_special_token_152|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128161": { "content": "<|reserved_special_token_153|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128162": { "content": "<|reserved_special_token_154|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128163": { "content": "<|reserved_special_token_155|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128164": { "content": "<|reserved_special_token_156|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128165": { "content": "<|reserved_special_token_157|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128166": { "content": "<|reserved_special_token_158|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128167": { "content": "<|reserved_special_token_159|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128168": { "content": "<|reserved_special_token_160|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128169": { "content": "<|reserved_special_token_161|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128170": { "content": "<|reserved_special_token_162|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128171": { "content": "<|reserved_special_token_163|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128172": { "content": "<|reserved_special_token_164|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128173": { "content": "<|reserved_special_token_165|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128174": { "content": "<|reserved_special_token_166|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128175": { "content": "<|reserved_special_token_167|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128176": { "content": "<|reserved_special_token_168|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128177": { "content": "<|reserved_special_token_169|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128178": { "content": "<|reserved_special_token_170|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128179": { "content": "<|reserved_special_token_171|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128180": { "content": "<|reserved_special_token_172|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128181": { "content": "<|reserved_special_token_173|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128182": { "content": "<|reserved_special_token_174|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128183": { "content": "<|reserved_special_token_175|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128184": { "content": "<|reserved_special_token_176|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128185": { "content": "<|reserved_special_token_177|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128186": { "content": "<|reserved_special_token_178|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128187": { "content": "<|reserved_special_token_179|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128188": { "content": "<|reserved_special_token_180|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128189": { "content": "<|reserved_special_token_181|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128190": { "content": "<|reserved_special_token_182|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128191": { "content": "<|reserved_special_token_183|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128192": { "content": "<|reserved_special_token_184|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128193": { "content": "<|reserved_special_token_185|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128194": { "content": "<|reserved_special_token_186|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128195": { "content": "<|reserved_special_token_187|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128196": { "content": "<|reserved_special_token_188|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128197": { "content": "<|reserved_special_token_189|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128198": { "content": "<|reserved_special_token_190|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128199": { "content": "<|reserved_special_token_191|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128200": { "content": "<|reserved_special_token_192|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128201": { "content": "<|reserved_special_token_193|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128202": { "content": "<|reserved_special_token_194|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128203": { "content": "<|reserved_special_token_195|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128204": { "content": "<|reserved_special_token_196|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128205": { "content": "<|reserved_special_token_197|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128206": { "content": "<|reserved_special_token_198|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128207": { "content": "<|reserved_special_token_199|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128208": { "content": "<|reserved_special_token_200|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128209": { "content": "<|reserved_special_token_201|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128210": { "content": "<|reserved_special_token_202|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128211": { "content": "<|reserved_special_token_203|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128212": { "content": "<|reserved_special_token_204|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128213": { "content": "<|reserved_special_token_205|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128214": { "content": "<|reserved_special_token_206|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128215": { "content": "<|reserved_special_token_207|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128216": { "content": "<|reserved_special_token_208|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128217": { "content": "<|reserved_special_token_209|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128218": { "content": "<|reserved_special_token_210|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128219": { "content": "<|reserved_special_token_211|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128220": { "content": "<|reserved_special_token_212|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128221": { "content": "<|reserved_special_token_213|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128222": { "content": "<|reserved_special_token_214|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128223": { "content": "<|reserved_special_token_215|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128224": { "content": "<|reserved_special_token_216|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128225": { "content": "<|reserved_special_token_217|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128226": { "content": "<|reserved_special_token_218|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128227": { "content": "<|reserved_special_token_219|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128228": { "content": "<|reserved_special_token_220|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128229": { "content": "<|reserved_special_token_221|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128230": { "content": "<|reserved_special_token_222|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128231": { "content": "<|reserved_special_token_223|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128232": { "content": "<|reserved_special_token_224|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128233": { "content": "<|reserved_special_token_225|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128234": { "content": "<|reserved_special_token_226|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128235": { "content": "<|reserved_special_token_227|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128236": { "content": "<|reserved_special_token_228|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128237": { "content": "<|reserved_special_token_229|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128238": { "content": "<|reserved_special_token_230|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128239": { "content": "<|reserved_special_token_231|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128240": { "content": "<|reserved_special_token_232|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128241": { "content": "<|reserved_special_token_233|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128242": { "content": "<|reserved_special_token_234|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128243": { "content": "<|reserved_special_token_235|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128244": { "content": "<|reserved_special_token_236|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128245": { "content": "<|reserved_special_token_237|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128246": { "content": "<|reserved_special_token_238|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128247": { "content": "<|reserved_special_token_239|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128248": { "content": "<|reserved_special_token_240|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128249": { "content": "<|reserved_special_token_241|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128250": { "content": "<|reserved_special_token_242|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128251": { "content": "<|reserved_special_token_243|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128252": { "content": "<|reserved_special_token_244|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128253": { "content": "<|reserved_special_token_245|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128254": { "content": "<|reserved_special_token_246|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128255": { "content": "<|reserved_special_token_247|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128256": { "content": "<|endofchunk|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128257": { "content": "<image>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128258": { "content": "<PAD>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128259": { "content": "<|bot|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128260": { "content": "<|eot|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "<|endofchunk|>", "<image>" ], "bos_token": "<|begin_of_text|>", "clean_up_tokenization_spaces": true, "eos_token": "<|end_of_text|>", "extra_special_tokens": {}, "model_input_names": [ "input_ids", "attention_mask" ], "model_max_length": 131072, "pad_token": "<PAD>", "padding_side": "right", "split_special_tokens": false, "tokenizer_class": "PreTrainedTokenizerFast"}1234from .configuration_opentslm_flamingo import OpenTSLMFlamingoConfigfrom .modeling_opentslm_flamingo import OpenTSLMFlamingoForCausalLM
__all__ = ["OpenTSLMFlamingoConfig", "OpenTSLMFlamingoForCausalLM"]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "architectures": [ "OpenTSLMFlamingoForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "auto_map": { "AutoConfig": "configuration_opentslm_flamingo.OpenTSLMFlamingoConfig", "AutoModel": "modeling_opentslm_flamingo.OpenTSLMFlamingoForCausalLM", "AutoModelForCausalLM": "modeling_opentslm_flamingo.OpenTSLMFlamingoForCausalLM" }, "bos_token_id": 128000, "cross_attn_every_n_layers": 1, "dtype": "bfloat16", "eoc_token_id": 128256, "eos_token_id": 128001, "head_dim": 64, "hidden_act": "silu", "hidden_size": 2048, "ignore_index": -100, "initializer_range": 0.02, "intermediate_size": 8192, "max_patches": 1024, "max_position_embeddings": 131072, "media_token_id": 128257, "mlp_bias": false, "model_type": "opentslm_flamingo", "normalize_timeseries": true, "num_attention_heads": 32, "num_hidden_layers": 16, "num_key_value_heads": 8, "pad_token_id": 128258, "perceiver_depth": 6, "perceiver_num_latents": 64, "pretraining_tp": 1, "rms_norm_eps": 1e-05, "rope_scaling": { "factor": 32.0, "high_freq_factor": 4.0, "low_freq_factor": 1.0, "original_max_position_embeddings": 8192, "rope_type": "llama3" }, "rope_theta": 500000.0, "tie_word_embeddings": true, "transformers_version": "4.57.6", "ts_patch_size": 4, "use_cache": false, "vis_dim": 128, "vocab_size": 128320}123456789101112131415161718192021222324252627282930313233"""Configuration of OpenTSLM-Flamingo: a Llama LM with a CNN tokenizer, a perceiver and gated cross-attention."""
from transformers.models.llama.configuration_llama import LlamaConfig
class OpenTSLMFlamingoConfig(LlamaConfig): model_type = "opentslm_flamingo"
def __init__( self, vis_dim: int = 128, # width of the CNN tokenizer, perceiver and cross-attention ts_patch_size: int = 4, # CNN tokenizer kernel and stride cross_attn_every_n_layers: int = 1, perceiver_num_latents: int = 64, perceiver_depth: int = 6, max_patches: int = 1024, media_token_id: int | None = None, # id of "<image>" eoc_token_id: int | None = None, # id of "<|endofchunk|>" normalize_timeseries: bool = True, ignore_index: int = -100, **kwargs, ): self.vis_dim = vis_dim self.ts_patch_size = ts_patch_size self.cross_attn_every_n_layers = cross_attn_every_n_layers self.perceiver_num_latents = perceiver_num_latents self.perceiver_depth = perceiver_depth self.max_patches = max_patches self.media_token_id = media_token_id self.eoc_token_id = eoc_token_id self.normalize_timeseries = normalize_timeseries self.ignore_index = ignore_index super().__init__(**kwargs)123456789101112{ "stage": "lapras", "template": "flamingo", "ts_patch_size": null, "answer_anchor": "Answer:", "use_cot": null, "num_latent": 6, "projection": { "projection_dim": 2048 }, "remove_eos": true}1234from .configuration_opentslm_flamingo import OpenTSLMFlamingoConfigfrom .modeling_opentslm_flamingo import OpenTSLMFlamingoForCausalLM
__all__ = ["OpenTSLMFlamingoConfig", "OpenTSLMFlamingoForCausalLM"]1{{ '<|begin_of_text|>' }}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ content }}{% elif message['role'] == 'assistant' %}{{ content + '<|end_of_text|>' }}{% endif %}{% endfor %}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "architectures": [ "OpenTSLMFlamingoForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "auto_map": { "AutoConfig": "configuration_opentslm_flamingo.OpenTSLMFlamingoConfig", "AutoModel": "modeling_opentslm_flamingo.OpenTSLMFlamingoForCausalLM", "AutoModelForCausalLM": "modeling_opentslm_flamingo.OpenTSLMFlamingoForCausalLM" }, "bos_token_id": 128000, "cross_attn_every_n_layers": 1, "eoc_token_id": 128256, "eos_token_id": 128001, "head_dim": 64, "hidden_act": "silu", "hidden_size": 2048, "ignore_index": -100, "initializer_range": 0.02, "intermediate_size": 8192, "max_patches": 1024, "max_position_embeddings": 131072, "media_token_id": 128257, "mlp_bias": false, "model_type": "opentslm_flamingo", "normalize_timeseries": true, "num_attention_heads": 32, "num_hidden_layers": 16, "num_key_value_heads": 8, "pad_token_id": 128258, "perceiver_depth": 6, "perceiver_num_latents": 64, "pretraining_tp": 1, "rms_norm_eps": 1e-05, "rope_scaling": { "factor": 32.0, "high_freq_factor": 4.0, "low_freq_factor": 1.0, "original_max_position_embeddings": 8192, "rope_type": "llama3" }, "rope_theta": 500000.0, "tie_word_embeddings": true, "torch_dtype": "bfloat16", "transformers_version": "4.55.4", "ts_patch_size": 4, "use_cache": false, "vis_dim": 128, "vocab_size": 128320}123456789101112131415161718192021222324252627282930313233"""Configuration of OpenTSLM-Flamingo: a Llama LM with a CNN tokenizer, a perceiver and gated cross-attention."""
from transformers.models.llama.configuration_llama import LlamaConfig
class OpenTSLMFlamingoConfig(LlamaConfig): model_type = "opentslm_flamingo"
def __init__( self, vis_dim: int = 128, # width of the CNN tokenizer, perceiver and cross-attention ts_patch_size: int = 4, # CNN tokenizer kernel and stride cross_attn_every_n_layers: int = 1, perceiver_num_latents: int = 64, perceiver_depth: int = 6, max_patches: int = 1024, media_token_id: int | None = None, # id of "<image>" eoc_token_id: int | None = None, # id of "<|endofchunk|>" normalize_timeseries: bool = True, ignore_index: int = -100, **kwargs, ): self.vis_dim = vis_dim self.ts_patch_size = ts_patch_size self.cross_attn_every_n_layers = cross_attn_every_n_layers self.perceiver_num_latents = perceiver_num_latents self.perceiver_depth = perceiver_depth self.max_patches = max_patches self.media_token_id = media_token_id self.eoc_token_id = eoc_token_id self.normalize_timeseries = normalize_timeseries self.ignore_index = ignore_index super().__init__(**kwargs)1234567{ "_from_model_config": true, "bos_token_id": 128000, "eos_token_id": 128001, "pad_token_id": 128258, "transformers_version": "4.55.4"}123456789101112{ "stage": "lapras", "template": "flamingo", "ts_patch_size": null, "answer_anchor": "Answer:", "use_cot": null, "num_latent": 3, "projection": { "projection_dim": 2048 }, "remove_eos": true}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322"""OpenTSLM-Flamingo as a Hugging Face causal LM with the interface of the SLIP backbone."""
from dataclasses import dataclassfrom typing import Any, Dict, Optional, Union
import torchimport torch.nn as nn
from transformers.cache_utils import Cachefrom transformers.generation import GenerationMixinfrom transformers.modeling_utils import PreTrainedModelfrom transformers.models.llama.configuration_llama import LlamaConfigfrom transformers.models.llama.modeling_llama import LlamaForCausalLMfrom transformers.utils import ModelOutput, logging
from .configuration_opentslm_flamingo import OpenTSLMFlamingoConfig
from open_flamingo.src.flamingo_lm import FlamingoLMMixin, FlamingoLayerfrom open_flamingo.src.helpers import PerceiverResamplerfrom open_flamingo.src.utils import extend_instance
logger = logging.get_logger(__name__)
# Recent transformers read `attention_type` off every decoder layer, which FlamingoLayer lacks.if not isinstance(getattr(FlamingoLayer, "attention_type", None), property): def _attention_type_property(self): return getattr(self.decoder_layer, "attention_type", None)
FlamingoLayer.attention_type = property(_attention_type_property) # type: ignore
PATCH_SIZE = 4ENCODER_OUTPUT_DIM = 128
class _CNNTokenizer(nn.Module): """OpenTSLM's CNN tokenizer: ``(B, L)`` series -> ``(B, L / patch_size, D)`` patch embeddings."""
def __init__( self, transformer_input_dim: int = ENCODER_OUTPUT_DIM, patch_size: int = PATCH_SIZE, max_patches: int = 1024, dropout: float = 0.0, ): super().__init__() self.patch_size = patch_size self.patch_embed = nn.Conv1d( in_channels=1, out_channels=transformer_input_dim, kernel_size=patch_size, stride=patch_size, bias=False, ) self.pos_embed = nn.Parameter(torch.randn(1, max_patches, transformer_input_dim)) self.input_norm = nn.LayerNorm(transformer_input_dim) self.input_dropout = nn.Dropout(dropout)
def forward(self, x: torch.Tensor) -> torch.Tensor: B, L = x.shape if L % self.patch_size != 0: raise ValueError(f"Sequence length {L} not divisible by patch_size {self.patch_size}") x = x.unsqueeze(1) # [B, 1, L] x = self.patch_embed(x) # [B, D, N] x = x.transpose(1, 2) # [B, N, D] N = x.size(1) if N > self.pos_embed.size(1): raise ValueError( f"Series of {N * self.patch_size} steps too long; max " f"{self.pos_embed.size(1) * self.patch_size} (raise max_patches)." ) x = x + self.pos_embed[:, :N, :] x = self.input_norm(x) x = self.input_dropout(x) return x # [B, N, D]
@dataclassclass OpenTSLMFlamingoCausalLMOutput(ModelOutput): """Causal LM outputs; ``attention_mask`` is always None since the sequence is never expanded."""
loss: Optional[torch.FloatTensor] = None logits: Optional[torch.FloatTensor] = None last_hidden_state: Optional[torch.FloatTensor] = None hidden_states: Optional[tuple] = None past_key_values: Optional[tuple] = None attention_mask: Optional[torch.Tensor] = None
def _sanitized_llama_config(config: OpenTSLMFlamingoConfig) -> LlamaConfig: """Llama config of the inner language model, without the Flamingo fields.""" drop = { "vis_dim", "ts_patch_size", "cross_attn_every_n_layers", "perceiver_num_latents", "perceiver_depth", "max_patches", "media_token_id", "eoc_token_id", "normalize_timeseries", "ignore_index", "model_type", "architectures", "auto_map", "_name_or_path", "torch_dtype", } d = {k: v for k, v in config.to_dict().items() if k not in drop} llama_cfg = LlamaConfig(**d) # The published weights were trained with eager attention. llama_cfg._attn_implementation = "eager" return llama_cfg
class OpenTSLMFlamingoForCausalLM(PreTrainedModel, GenerationMixin): config_class = OpenTSLMFlamingoConfig supports_gradient_checkpointing = True _supports_cache_class = True _no_split_modules = ["LlamaDecoderLayer", "FlamingoLayer"]
def __init__(self, config: OpenTSLMFlamingoConfig): super().__init__(config)
self.vision_encoder = _CNNTokenizer( transformer_input_dim=config.vis_dim, patch_size=config.ts_patch_size, max_patches=config.max_patches, )
# Llama with open_flamingo's gated cross-attention layers. lang_encoder = LlamaForCausalLM(_sanitized_llama_config(config)) extend_instance(lang_encoder, FlamingoLMMixin) lang_encoder.set_decoder_layers_attr_name("model.layers") lang_encoder.init_flamingo( media_token_id=(config.media_token_id if config.media_token_id is not None else 0), lang_hidden_size=config.hidden_size, vis_hidden_size=config.vis_dim, cross_attn_every_n_layers=config.cross_attn_every_n_layers, gradient_checkpointing=False, ) self.lang_encoder = lang_encoder
self.perceiver = PerceiverResampler( dim=config.vis_dim, depth=config.perceiver_depth, num_latents=config.perceiver_num_latents, ) self.perceiver._use_gradient_checkpointing = False
self.media_token_id = config.media_token_id self.eoc_token_id = config.eoc_token_id self.vis_dim = config.vis_dim self._cached_vis_x: Optional[torch.Tensor] = None
self.post_init()
@property def sensor_encoder(self) -> nn.Module: """Alias of the CNN tokenizer, not registered as a second submodule.""" return self.vision_encoder
@property def embed_dim(self) -> int: return self.vis_dim
def get_input_embeddings(self): return self.lang_encoder.get_input_embeddings()
def set_input_embeddings(self, value): self.lang_encoder.set_input_embeddings(value)
def get_output_embeddings(self): return self.lang_encoder.get_output_embeddings()
def set_output_embeddings(self, new_embeddings): self.lang_encoder.set_output_embeddings(new_embeddings)
def tie_weights(self): return self.lang_encoder.tie_weights()
def resize_token_embeddings(self, new_num_tokens=None, *args, **kwargs): out = self.lang_encoder.resize_token_embeddings(new_num_tokens, *args, **kwargs) if new_num_tokens is not None: actual_vocab = out.weight.shape[0] # includes the pad_to_multiple_of padding self.config.vocab_size = actual_vocab self.lang_encoder.config.vocab_size = actual_vocab return out
def gradient_checkpointing_enable(self, gradient_checkpointing_kwargs=None): self.lang_encoder.model.gradient_checkpointing_enable(gradient_checkpointing_kwargs)
def gradient_checkpointing_disable(self): self.lang_encoder.model.gradient_checkpointing_disable()
def _encode_vision_x(self, vision_x: torch.Tensor) -> torch.Tensor: """``(B, T_img, F, L)`` series -> perceiver latents ``(B, T_img, num_latents, vis_dim)``.""" w = self.vision_encoder.patch_embed.weight vision_x = vision_x.to(device=w.device, dtype=w.dtype) if vision_x.ndim != 4: raise ValueError( f"Flamingo vision_x must be (B, T_img, F, L); got shape {tuple(vision_x.shape)}" ) b, T, F, L = vision_x.shape x = vision_x.reshape(b * T * F, L) # (b*T*F, L) x = self.vision_encoder(x) # (b*T*F, N, D) x = x.reshape(b, T, F, x.size(1), x.size(2)) # (b, T, F, N, D) x = self.perceiver(x) # (b, T, num_latents, D) return x
def _set_conditioning(self, vis_x: torch.Tensor, input_ids: Optional[torch.LongTensor]) -> None: """Condition the cross-attention layers; inputs without <image> markers reuse the cached media.""" layers = self.lang_encoder._get_decoder_layers() media_locations = None if input_ids is not None: media_locations = input_ids == self.media_token_id
use_cached = bool( getattr(self.lang_encoder, "_use_cached_vision_x", False) and (media_locations is None or not media_locations.any()) ) for layer in layers: layer.condition_vis_x(vis_x) if not use_cached: layer.condition_media_locations(media_locations) layer.condition_use_cached_media(use_cached)
def forward( self, input_ids: Optional[torch.LongTensor] = None, inputs_embeds: Optional[torch.FloatTensor] = None, attention_mask: Optional[torch.Tensor] = None, position_ids: Optional[torch.LongTensor] = None, timeseries: Optional[torch.FloatTensor] = None, sensor_attn_mask=None, # used by sensor masking, not by the model time_index=None, # unused (SLIP interface) past_key_values: Optional[Cache] = None, use_cache: Optional[bool] = None, output_hidden_states: Optional[bool] = None, cache_position: Optional[torch.LongTensor] = None, return_dict: Optional[bool] = None, ts_patch_sizes=None, # unused (ChatTS interface) labels: Optional[torch.LongTensor] = None, **kwargs, ) -> OpenTSLMFlamingoCausalLMOutput: # Encode the series when given; later forwards without it reuse this encoding. if timeseries is not None: vis_x = self._encode_vision_x(timeseries) self._cached_vis_x = vis_x self.lang_encoder._use_cached_vision_x = True else: vis_x = self._cached_vis_x if vis_x is None: raise RuntimeError( "OpenTSLMFlamingoForCausalLM.forward called without `timeseries` and no " "vision features are cached. Pass the time-series on the first (prefill) pass." )
self._set_conditioning(vis_x, input_ids) base_outputs = self.lang_encoder.model( input_ids=input_ids, inputs_embeds=inputs_embeds, attention_mask=attention_mask, position_ids=position_ids, past_key_values=past_key_values, use_cache=use_cache, output_hidden_states=output_hidden_states, cache_position=cache_position, return_dict=True, ) last_hidden_state = base_outputs.last_hidden_state logits = self.lang_encoder.lm_head(last_hidden_state)
loss = None if labels is not None: shift_logits = logits[..., :-1, :].contiguous() shift_labels = labels[..., 1:].contiguous() loss = nn.functional.cross_entropy( shift_logits.view(-1, shift_logits.size(-1)), shift_labels.view(-1), ignore_index=self.config.ignore_index, )
return OpenTSLMFlamingoCausalLMOutput( loss=loss, logits=logits, last_hidden_state=last_hidden_state, hidden_states=getattr(base_outputs, "hidden_states", None), past_key_values=getattr(base_outputs, "past_key_values", None), attention_mask=None, )
def prepare_inputs_for_generation( self, input_ids, past_key_values=None, attention_mask=None, inputs_embeds=None, timeseries=None, sensor_attn_mask=None, time_index=None, cache_position=None, **kwargs, ) -> Dict[str, Any]: # Prefill vs. decode by cache length: the first step may receive an empty cache. cache_len = 0 if past_key_values is not None: if hasattr(past_key_values, "get_seq_length"): cache_len = past_key_values.get_seq_length() elif isinstance(past_key_values, (tuple, list)) and past_key_values and past_key_values[0] is not None: cache_len = past_key_values[0][0].shape[2]
if cache_len > 0: input_ids = input_ids[:, -1:] timeseries = None sensor_attn_mask = None time_index = None
return { "input_ids": input_ids, "past_key_values": past_key_values, "attention_mask": attention_mask, "inputs_embeds": inputs_embeds, "timeseries": timeseries, "sensor_attn_mask": sensor_attn_mask, "time_index": time_index, "cache_position": cache_position, "use_cache": kwargs.get("use_cache", True), }
__all__ = ["OpenTSLMFlamingoForCausalLM", "OpenTSLMFlamingoConfig"]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731{ "metadata": { "total_parameters": 1819500192, "total_size": 7256194432 }, "weight_map": { "codi_mae_applier.mask_token": "pytorch_model-00002-of-00002.bin", "codi_projection.1.bias": "pytorch_model-00002-of-00002.bin", "codi_projection.1.weight": "pytorch_model-00002-of-00002.bin", "codi_projection.3.bias": "pytorch_model-00002-of-00002.bin", "codi_projection.3.weight": "pytorch_model-00002-of-00002.bin", "codi_projection.ln.bias": "pytorch_model-00002-of-00002.bin", "codi_projection.ln.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.lm_head.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.embed_tokens.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.10.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.2.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.7.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "perceiver.latents": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.norm.bias": "pytorch_model-00002-of-00002.bin", "perceiver.norm.weight": "pytorch_model-00002-of-00002.bin", "vision_encoder.input_norm.bias": "pytorch_model-00001-of-00002.bin", "vision_encoder.input_norm.weight": "pytorch_model-00001-of-00002.bin", "vision_encoder.patch_embed.weight": "pytorch_model-00001-of-00002.bin", "vision_encoder.pos_embed": "pytorch_model-00001-of-00002.bin" }}123456789101112131415161718192021222324252627{ "additional_special_tokens": [ "<|endofchunk|>", "<image>" ], "bos_token": { "content": "<|begin_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<PAD>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109{ "added_tokens_decoder": { "128000": { "content": "<|begin_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128001": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128002": { "content": "<|reserved_special_token_0|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128003": { "content": "<|reserved_special_token_1|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128004": { "content": "<|finetune_right_pad_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128005": { "content": "<|reserved_special_token_2|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128006": { "content": "<|start_header_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128007": { "content": "<|end_header_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128008": { "content": "<|eom_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128009": { "content": "<|eot_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128010": { "content": "<|python_tag|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128011": { "content": "<|reserved_special_token_3|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128012": { "content": "<|reserved_special_token_4|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128013": { "content": "<|reserved_special_token_5|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128014": { "content": "<|reserved_special_token_6|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128015": { "content": "<|reserved_special_token_7|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128016": { "content": "<|reserved_special_token_8|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128017": { "content": "<|reserved_special_token_9|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128018": { "content": "<|reserved_special_token_10|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128019": { "content": "<|reserved_special_token_11|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128020": { "content": "<|reserved_special_token_12|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128021": { "content": "<|reserved_special_token_13|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128022": { "content": "<|reserved_special_token_14|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128023": { "content": "<|reserved_special_token_15|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128024": { "content": "<|reserved_special_token_16|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128025": { "content": "<|reserved_special_token_17|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128026": { "content": "<|reserved_special_token_18|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128027": { "content": "<|reserved_special_token_19|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128028": { "content": "<|reserved_special_token_20|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128029": { "content": "<|reserved_special_token_21|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128030": { "content": "<|reserved_special_token_22|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128031": { "content": "<|reserved_special_token_23|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128032": { "content": "<|reserved_special_token_24|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128033": { "content": "<|reserved_special_token_25|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128034": { "content": "<|reserved_special_token_26|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128035": { "content": "<|reserved_special_token_27|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128036": { "content": "<|reserved_special_token_28|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128037": { "content": "<|reserved_special_token_29|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128038": { "content": "<|reserved_special_token_30|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128039": { "content": "<|reserved_special_token_31|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128040": { "content": "<|reserved_special_token_32|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128041": { "content": "<|reserved_special_token_33|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128042": { "content": "<|reserved_special_token_34|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128043": { "content": "<|reserved_special_token_35|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128044": { "content": "<|reserved_special_token_36|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128045": { "content": "<|reserved_special_token_37|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128046": { "content": "<|reserved_special_token_38|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128047": { "content": "<|reserved_special_token_39|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128048": { "content": "<|reserved_special_token_40|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128049": { "content": "<|reserved_special_token_41|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128050": { "content": "<|reserved_special_token_42|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128051": { "content": "<|reserved_special_token_43|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128052": { "content": "<|reserved_special_token_44|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128053": { "content": "<|reserved_special_token_45|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128054": { "content": "<|reserved_special_token_46|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128055": { "content": "<|reserved_special_token_47|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128056": { "content": "<|reserved_special_token_48|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128057": { "content": "<|reserved_special_token_49|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128058": { "content": "<|reserved_special_token_50|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128059": { "content": "<|reserved_special_token_51|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128060": { "content": "<|reserved_special_token_52|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128061": { "content": "<|reserved_special_token_53|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128062": { "content": "<|reserved_special_token_54|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128063": { "content": "<|reserved_special_token_55|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128064": { "content": "<|reserved_special_token_56|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128065": { "content": "<|reserved_special_token_57|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128066": { "content": "<|reserved_special_token_58|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128067": { "content": "<|reserved_special_token_59|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128068": { "content": "<|reserved_special_token_60|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128069": { "content": "<|reserved_special_token_61|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128070": { "content": "<|reserved_special_token_62|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128071": { "content": "<|reserved_special_token_63|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128072": { "content": "<|reserved_special_token_64|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128073": { "content": "<|reserved_special_token_65|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128074": { "content": "<|reserved_special_token_66|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128075": { "content": "<|reserved_special_token_67|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128076": { "content": "<|reserved_special_token_68|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128077": { "content": "<|reserved_special_token_69|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128078": { "content": "<|reserved_special_token_70|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128079": { "content": "<|reserved_special_token_71|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128080": { "content": "<|reserved_special_token_72|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128081": { "content": "<|reserved_special_token_73|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128082": { "content": "<|reserved_special_token_74|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128083": { "content": "<|reserved_special_token_75|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128084": { "content": "<|reserved_special_token_76|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128085": { "content": "<|reserved_special_token_77|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128086": { "content": "<|reserved_special_token_78|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128087": { "content": "<|reserved_special_token_79|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128088": { "content": "<|reserved_special_token_80|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128089": { "content": "<|reserved_special_token_81|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128090": { "content": "<|reserved_special_token_82|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128091": { "content": "<|reserved_special_token_83|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128092": { "content": "<|reserved_special_token_84|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128093": { "content": "<|reserved_special_token_85|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128094": { "content": "<|reserved_special_token_86|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128095": { "content": "<|reserved_special_token_87|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128096": { "content": "<|reserved_special_token_88|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128097": { "content": "<|reserved_special_token_89|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128098": { "content": "<|reserved_special_token_90|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128099": { "content": "<|reserved_special_token_91|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128100": { "content": "<|reserved_special_token_92|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128101": { "content": "<|reserved_special_token_93|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128102": { "content": "<|reserved_special_token_94|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128103": { "content": "<|reserved_special_token_95|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128104": { "content": "<|reserved_special_token_96|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128105": { "content": "<|reserved_special_token_97|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128106": { "content": "<|reserved_special_token_98|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128107": { "content": "<|reserved_special_token_99|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128108": { "content": "<|reserved_special_token_100|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128109": { "content": "<|reserved_special_token_101|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128110": { "content": "<|reserved_special_token_102|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128111": { "content": "<|reserved_special_token_103|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128112": { "content": "<|reserved_special_token_104|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128113": { "content": "<|reserved_special_token_105|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128114": { "content": "<|reserved_special_token_106|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128115": { "content": "<|reserved_special_token_107|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128116": { "content": "<|reserved_special_token_108|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128117": { "content": "<|reserved_special_token_109|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128118": { "content": "<|reserved_special_token_110|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128119": { "content": "<|reserved_special_token_111|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128120": { "content": "<|reserved_special_token_112|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128121": { "content": "<|reserved_special_token_113|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128122": { "content": "<|reserved_special_token_114|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128123": { "content": "<|reserved_special_token_115|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128124": { "content": "<|reserved_special_token_116|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128125": { "content": "<|reserved_special_token_117|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128126": { "content": "<|reserved_special_token_118|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128127": { "content": "<|reserved_special_token_119|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128128": { "content": "<|reserved_special_token_120|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128129": { "content": "<|reserved_special_token_121|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128130": { "content": "<|reserved_special_token_122|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128131": { "content": "<|reserved_special_token_123|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128132": { "content": "<|reserved_special_token_124|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128133": { "content": "<|reserved_special_token_125|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128134": { "content": "<|reserved_special_token_126|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128135": { "content": "<|reserved_special_token_127|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128136": { "content": "<|reserved_special_token_128|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128137": { "content": "<|reserved_special_token_129|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128138": { "content": "<|reserved_special_token_130|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128139": { "content": "<|reserved_special_token_131|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128140": { "content": "<|reserved_special_token_132|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128141": { "content": "<|reserved_special_token_133|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128142": { "content": "<|reserved_special_token_134|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128143": { "content": "<|reserved_special_token_135|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128144": { "content": "<|reserved_special_token_136|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128145": { "content": "<|reserved_special_token_137|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128146": { "content": "<|reserved_special_token_138|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128147": { "content": "<|reserved_special_token_139|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128148": { "content": "<|reserved_special_token_140|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128149": { "content": "<|reserved_special_token_141|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128150": { "content": "<|reserved_special_token_142|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128151": { "content": "<|reserved_special_token_143|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128152": { "content": "<|reserved_special_token_144|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128153": { "content": "<|reserved_special_token_145|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128154": { "content": "<|reserved_special_token_146|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128155": { "content": "<|reserved_special_token_147|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128156": { "content": "<|reserved_special_token_148|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128157": { "content": "<|reserved_special_token_149|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128158": { "content": "<|reserved_special_token_150|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128159": { "content": "<|reserved_special_token_151|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128160": { "content": "<|reserved_special_token_152|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128161": { "content": "<|reserved_special_token_153|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128162": { "content": "<|reserved_special_token_154|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128163": { "content": "<|reserved_special_token_155|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128164": { "content": "<|reserved_special_token_156|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128165": { "content": "<|reserved_special_token_157|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128166": { "content": "<|reserved_special_token_158|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128167": { "content": "<|reserved_special_token_159|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128168": { "content": "<|reserved_special_token_160|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128169": { "content": "<|reserved_special_token_161|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128170": { "content": "<|reserved_special_token_162|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128171": { "content": "<|reserved_special_token_163|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128172": { "content": "<|reserved_special_token_164|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128173": { "content": "<|reserved_special_token_165|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128174": { "content": "<|reserved_special_token_166|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128175": { "content": "<|reserved_special_token_167|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128176": { "content": "<|reserved_special_token_168|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128177": { "content": "<|reserved_special_token_169|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128178": { "content": "<|reserved_special_token_170|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128179": { "content": "<|reserved_special_token_171|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128180": { "content": "<|reserved_special_token_172|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128181": { "content": "<|reserved_special_token_173|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128182": { "content": "<|reserved_special_token_174|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128183": { "content": "<|reserved_special_token_175|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128184": { "content": "<|reserved_special_token_176|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128185": { "content": "<|reserved_special_token_177|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128186": { "content": "<|reserved_special_token_178|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128187": { "content": "<|reserved_special_token_179|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128188": { "content": "<|reserved_special_token_180|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128189": { "content": "<|reserved_special_token_181|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128190": { "content": "<|reserved_special_token_182|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128191": { "content": "<|reserved_special_token_183|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128192": { "content": "<|reserved_special_token_184|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128193": { "content": "<|reserved_special_token_185|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128194": { "content": "<|reserved_special_token_186|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128195": { "content": "<|reserved_special_token_187|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128196": { "content": "<|reserved_special_token_188|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128197": { "content": "<|reserved_special_token_189|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128198": { "content": "<|reserved_special_token_190|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128199": { "content": "<|reserved_special_token_191|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128200": { "content": "<|reserved_special_token_192|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128201": { "content": "<|reserved_special_token_193|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128202": { "content": "<|reserved_special_token_194|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128203": { "content": "<|reserved_special_token_195|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128204": { "content": "<|reserved_special_token_196|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128205": { "content": "<|reserved_special_token_197|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128206": { "content": "<|reserved_special_token_198|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128207": { "content": "<|reserved_special_token_199|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128208": { "content": "<|reserved_special_token_200|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128209": { "content": "<|reserved_special_token_201|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128210": { "content": "<|reserved_special_token_202|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128211": { "content": "<|reserved_special_token_203|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128212": { "content": "<|reserved_special_token_204|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128213": { "content": "<|reserved_special_token_205|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128214": { "content": "<|reserved_special_token_206|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128215": { "content": "<|reserved_special_token_207|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128216": { "content": "<|reserved_special_token_208|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128217": { "content": "<|reserved_special_token_209|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128218": { "content": "<|reserved_special_token_210|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128219": { "content": "<|reserved_special_token_211|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128220": { "content": "<|reserved_special_token_212|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128221": { "content": "<|reserved_special_token_213|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128222": { "content": "<|reserved_special_token_214|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128223": { "content": "<|reserved_special_token_215|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128224": { "content": "<|reserved_special_token_216|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128225": { "content": "<|reserved_special_token_217|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128226": { "content": "<|reserved_special_token_218|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128227": { "content": "<|reserved_special_token_219|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128228": { "content": "<|reserved_special_token_220|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128229": { "content": "<|reserved_special_token_221|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128230": { "content": "<|reserved_special_token_222|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128231": { "content": "<|reserved_special_token_223|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128232": { "content": "<|reserved_special_token_224|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128233": { "content": "<|reserved_special_token_225|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128234": { "content": "<|reserved_special_token_226|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128235": { "content": "<|reserved_special_token_227|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128236": { "content": "<|reserved_special_token_228|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128237": { "content": "<|reserved_special_token_229|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128238": { "content": "<|reserved_special_token_230|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128239": { "content": "<|reserved_special_token_231|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128240": { "content": "<|reserved_special_token_232|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128241": { "content": "<|reserved_special_token_233|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128242": { "content": "<|reserved_special_token_234|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128243": { "content": "<|reserved_special_token_235|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128244": { "content": "<|reserved_special_token_236|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128245": { "content": "<|reserved_special_token_237|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128246": { "content": "<|reserved_special_token_238|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128247": { "content": "<|reserved_special_token_239|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128248": { "content": "<|reserved_special_token_240|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128249": { "content": "<|reserved_special_token_241|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128250": { "content": "<|reserved_special_token_242|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128251": { "content": "<|reserved_special_token_243|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128252": { "content": "<|reserved_special_token_244|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128253": { "content": "<|reserved_special_token_245|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128254": { "content": "<|reserved_special_token_246|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128255": { "content": "<|reserved_special_token_247|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128256": { "content": "<|endofchunk|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128257": { "content": "<image>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128258": { "content": "<PAD>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128259": { "content": "<|bot|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128260": { "content": "<|eot|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "<|endofchunk|>", "<image>" ], "bos_token": "<|begin_of_text|>", "clean_up_tokenization_spaces": true, "eos_token": "<|end_of_text|>", "extra_special_tokens": {}, "model_input_names": [ "input_ids", "attention_mask" ], "model_max_length": 131072, "pad_token": "<PAD>", "padding_side": "right", "split_special_tokens": false, "tokenizer_class": "PreTrainedTokenizerFast"}1234from .configuration_opentslm_flamingo import OpenTSLMFlamingoConfigfrom .modeling_opentslm_flamingo import OpenTSLMFlamingoForCausalLM
__all__ = ["OpenTSLMFlamingoConfig", "OpenTSLMFlamingoForCausalLM"]1{{ '<|begin_of_text|>' }}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ content }}{% elif message['role'] == 'assistant' %}{{ content + '<|end_of_text|>' }}{% endif %}{% endfor %}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "architectures": [ "OpenTSLMFlamingoForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "auto_map": { "AutoConfig": "configuration_opentslm_flamingo.OpenTSLMFlamingoConfig", "AutoModel": "modeling_opentslm_flamingo.OpenTSLMFlamingoForCausalLM", "AutoModelForCausalLM": "modeling_opentslm_flamingo.OpenTSLMFlamingoForCausalLM" }, "bos_token_id": 128000, "cross_attn_every_n_layers": 1, "eoc_token_id": 128256, "eos_token_id": 128001, "head_dim": 64, "hidden_act": "silu", "hidden_size": 2048, "ignore_index": -100, "initializer_range": 0.02, "intermediate_size": 8192, "max_patches": 1024, "max_position_embeddings": 131072, "media_token_id": 128257, "mlp_bias": false, "model_type": "opentslm_flamingo", "normalize_timeseries": true, "num_attention_heads": 32, "num_hidden_layers": 16, "num_key_value_heads": 8, "pad_token_id": 128258, "perceiver_depth": 6, "perceiver_num_latents": 64, "pretraining_tp": 1, "rms_norm_eps": 1e-05, "rope_scaling": { "factor": 32.0, "high_freq_factor": 4.0, "low_freq_factor": 1.0, "original_max_position_embeddings": 8192, "rope_type": "llama3" }, "rope_theta": 500000.0, "tie_word_embeddings": true, "torch_dtype": "bfloat16", "transformers_version": "4.54.1", "ts_patch_size": 4, "use_cache": false, "vis_dim": 128, "vocab_size": 128320}123456789101112131415161718192021222324252627282930313233"""Configuration of OpenTSLM-Flamingo: a Llama LM with a CNN tokenizer, a perceiver and gated cross-attention."""
from transformers.models.llama.configuration_llama import LlamaConfig
class OpenTSLMFlamingoConfig(LlamaConfig): model_type = "opentslm_flamingo"
def __init__( self, vis_dim: int = 128, # width of the CNN tokenizer, perceiver and cross-attention ts_patch_size: int = 4, # CNN tokenizer kernel and stride cross_attn_every_n_layers: int = 1, perceiver_num_latents: int = 64, perceiver_depth: int = 6, max_patches: int = 1024, media_token_id: int | None = None, # id of "<image>" eoc_token_id: int | None = None, # id of "<|endofchunk|>" normalize_timeseries: bool = True, ignore_index: int = -100, **kwargs, ): self.vis_dim = vis_dim self.ts_patch_size = ts_patch_size self.cross_attn_every_n_layers = cross_attn_every_n_layers self.perceiver_num_latents = perceiver_num_latents self.perceiver_depth = perceiver_depth self.max_patches = max_patches self.media_token_id = media_token_id self.eoc_token_id = eoc_token_id self.normalize_timeseries = normalize_timeseries self.ignore_index = ignore_index super().__init__(**kwargs)1234567{ "_from_model_config": true, "bos_token_id": 128000, "eos_token_id": 128001, "pad_token_id": 128258, "transformers_version": "4.54.1"}123456789101112{ "stage": "lapras", "template": "flamingo", "ts_patch_size": null, "answer_anchor": "Answer:", "use_cot": null, "num_latent": 8, "projection": { "projection_dim": 2048 }, "remove_eos": true}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322"""OpenTSLM-Flamingo as a Hugging Face causal LM with the interface of the SLIP backbone."""
from dataclasses import dataclassfrom typing import Any, Dict, Optional, Union
import torchimport torch.nn as nn
from transformers.cache_utils import Cachefrom transformers.generation import GenerationMixinfrom transformers.modeling_utils import PreTrainedModelfrom transformers.models.llama.configuration_llama import LlamaConfigfrom transformers.models.llama.modeling_llama import LlamaForCausalLMfrom transformers.utils import ModelOutput, logging
from .configuration_opentslm_flamingo import OpenTSLMFlamingoConfig
from open_flamingo.src.flamingo_lm import FlamingoLMMixin, FlamingoLayerfrom open_flamingo.src.helpers import PerceiverResamplerfrom open_flamingo.src.utils import extend_instance
logger = logging.get_logger(__name__)
# Recent transformers read `attention_type` off every decoder layer, which FlamingoLayer lacks.if not isinstance(getattr(FlamingoLayer, "attention_type", None), property): def _attention_type_property(self): return getattr(self.decoder_layer, "attention_type", None)
FlamingoLayer.attention_type = property(_attention_type_property) # type: ignore
PATCH_SIZE = 4ENCODER_OUTPUT_DIM = 128
class _CNNTokenizer(nn.Module): """OpenTSLM's CNN tokenizer: ``(B, L)`` series -> ``(B, L / patch_size, D)`` patch embeddings."""
def __init__( self, transformer_input_dim: int = ENCODER_OUTPUT_DIM, patch_size: int = PATCH_SIZE, max_patches: int = 1024, dropout: float = 0.0, ): super().__init__() self.patch_size = patch_size self.patch_embed = nn.Conv1d( in_channels=1, out_channels=transformer_input_dim, kernel_size=patch_size, stride=patch_size, bias=False, ) self.pos_embed = nn.Parameter(torch.randn(1, max_patches, transformer_input_dim)) self.input_norm = nn.LayerNorm(transformer_input_dim) self.input_dropout = nn.Dropout(dropout)
def forward(self, x: torch.Tensor) -> torch.Tensor: B, L = x.shape if L % self.patch_size != 0: raise ValueError(f"Sequence length {L} not divisible by patch_size {self.patch_size}") x = x.unsqueeze(1) # [B, 1, L] x = self.patch_embed(x) # [B, D, N] x = x.transpose(1, 2) # [B, N, D] N = x.size(1) if N > self.pos_embed.size(1): raise ValueError( f"Series of {N * self.patch_size} steps too long; max " f"{self.pos_embed.size(1) * self.patch_size} (raise max_patches)." ) x = x + self.pos_embed[:, :N, :] x = self.input_norm(x) x = self.input_dropout(x) return x # [B, N, D]
@dataclassclass OpenTSLMFlamingoCausalLMOutput(ModelOutput): """Causal LM outputs; ``attention_mask`` is always None since the sequence is never expanded."""
loss: Optional[torch.FloatTensor] = None logits: Optional[torch.FloatTensor] = None last_hidden_state: Optional[torch.FloatTensor] = None hidden_states: Optional[tuple] = None past_key_values: Optional[tuple] = None attention_mask: Optional[torch.Tensor] = None
def _sanitized_llama_config(config: OpenTSLMFlamingoConfig) -> LlamaConfig: """Llama config of the inner language model, without the Flamingo fields.""" drop = { "vis_dim", "ts_patch_size", "cross_attn_every_n_layers", "perceiver_num_latents", "perceiver_depth", "max_patches", "media_token_id", "eoc_token_id", "normalize_timeseries", "ignore_index", "model_type", "architectures", "auto_map", "_name_or_path", "torch_dtype", } d = {k: v for k, v in config.to_dict().items() if k not in drop} llama_cfg = LlamaConfig(**d) # The published weights were trained with eager attention. llama_cfg._attn_implementation = "eager" return llama_cfg
class OpenTSLMFlamingoForCausalLM(PreTrainedModel, GenerationMixin): config_class = OpenTSLMFlamingoConfig supports_gradient_checkpointing = True _supports_cache_class = True _no_split_modules = ["LlamaDecoderLayer", "FlamingoLayer"]
def __init__(self, config: OpenTSLMFlamingoConfig): super().__init__(config)
self.vision_encoder = _CNNTokenizer( transformer_input_dim=config.vis_dim, patch_size=config.ts_patch_size, max_patches=config.max_patches, )
# Llama with open_flamingo's gated cross-attention layers. lang_encoder = LlamaForCausalLM(_sanitized_llama_config(config)) extend_instance(lang_encoder, FlamingoLMMixin) lang_encoder.set_decoder_layers_attr_name("model.layers") lang_encoder.init_flamingo( media_token_id=(config.media_token_id if config.media_token_id is not None else 0), lang_hidden_size=config.hidden_size, vis_hidden_size=config.vis_dim, cross_attn_every_n_layers=config.cross_attn_every_n_layers, gradient_checkpointing=False, ) self.lang_encoder = lang_encoder
self.perceiver = PerceiverResampler( dim=config.vis_dim, depth=config.perceiver_depth, num_latents=config.perceiver_num_latents, ) self.perceiver._use_gradient_checkpointing = False
self.media_token_id = config.media_token_id self.eoc_token_id = config.eoc_token_id self.vis_dim = config.vis_dim self._cached_vis_x: Optional[torch.Tensor] = None
self.post_init()
@property def sensor_encoder(self) -> nn.Module: """Alias of the CNN tokenizer, not registered as a second submodule.""" return self.vision_encoder
@property def embed_dim(self) -> int: return self.vis_dim
def get_input_embeddings(self): return self.lang_encoder.get_input_embeddings()
def set_input_embeddings(self, value): self.lang_encoder.set_input_embeddings(value)
def get_output_embeddings(self): return self.lang_encoder.get_output_embeddings()
def set_output_embeddings(self, new_embeddings): self.lang_encoder.set_output_embeddings(new_embeddings)
def tie_weights(self): return self.lang_encoder.tie_weights()
def resize_token_embeddings(self, new_num_tokens=None, *args, **kwargs): out = self.lang_encoder.resize_token_embeddings(new_num_tokens, *args, **kwargs) if new_num_tokens is not None: actual_vocab = out.weight.shape[0] # includes the pad_to_multiple_of padding self.config.vocab_size = actual_vocab self.lang_encoder.config.vocab_size = actual_vocab return out
def gradient_checkpointing_enable(self, gradient_checkpointing_kwargs=None): self.lang_encoder.model.gradient_checkpointing_enable(gradient_checkpointing_kwargs)
def gradient_checkpointing_disable(self): self.lang_encoder.model.gradient_checkpointing_disable()
def _encode_vision_x(self, vision_x: torch.Tensor) -> torch.Tensor: """``(B, T_img, F, L)`` series -> perceiver latents ``(B, T_img, num_latents, vis_dim)``.""" w = self.vision_encoder.patch_embed.weight vision_x = vision_x.to(device=w.device, dtype=w.dtype) if vision_x.ndim != 4: raise ValueError( f"Flamingo vision_x must be (B, T_img, F, L); got shape {tuple(vision_x.shape)}" ) b, T, F, L = vision_x.shape x = vision_x.reshape(b * T * F, L) # (b*T*F, L) x = self.vision_encoder(x) # (b*T*F, N, D) x = x.reshape(b, T, F, x.size(1), x.size(2)) # (b, T, F, N, D) x = self.perceiver(x) # (b, T, num_latents, D) return x
def _set_conditioning(self, vis_x: torch.Tensor, input_ids: Optional[torch.LongTensor]) -> None: """Condition the cross-attention layers; inputs without <image> markers reuse the cached media.""" layers = self.lang_encoder._get_decoder_layers() media_locations = None if input_ids is not None: media_locations = input_ids == self.media_token_id
use_cached = bool( getattr(self.lang_encoder, "_use_cached_vision_x", False) and (media_locations is None or not media_locations.any()) ) for layer in layers: layer.condition_vis_x(vis_x) if not use_cached: layer.condition_media_locations(media_locations) layer.condition_use_cached_media(use_cached)
def forward( self, input_ids: Optional[torch.LongTensor] = None, inputs_embeds: Optional[torch.FloatTensor] = None, attention_mask: Optional[torch.Tensor] = None, position_ids: Optional[torch.LongTensor] = None, timeseries: Optional[torch.FloatTensor] = None, sensor_attn_mask=None, # used by sensor masking, not by the model time_index=None, # unused (SLIP interface) past_key_values: Optional[Cache] = None, use_cache: Optional[bool] = None, output_hidden_states: Optional[bool] = None, cache_position: Optional[torch.LongTensor] = None, return_dict: Optional[bool] = None, ts_patch_sizes=None, # unused (ChatTS interface) labels: Optional[torch.LongTensor] = None, **kwargs, ) -> OpenTSLMFlamingoCausalLMOutput: # Encode the series when given; later forwards without it reuse this encoding. if timeseries is not None: vis_x = self._encode_vision_x(timeseries) self._cached_vis_x = vis_x self.lang_encoder._use_cached_vision_x = True else: vis_x = self._cached_vis_x if vis_x is None: raise RuntimeError( "OpenTSLMFlamingoForCausalLM.forward called without `timeseries` and no " "vision features are cached. Pass the time-series on the first (prefill) pass." )
self._set_conditioning(vis_x, input_ids) base_outputs = self.lang_encoder.model( input_ids=input_ids, inputs_embeds=inputs_embeds, attention_mask=attention_mask, position_ids=position_ids, past_key_values=past_key_values, use_cache=use_cache, output_hidden_states=output_hidden_states, cache_position=cache_position, return_dict=True, ) last_hidden_state = base_outputs.last_hidden_state logits = self.lang_encoder.lm_head(last_hidden_state)
loss = None if labels is not None: shift_logits = logits[..., :-1, :].contiguous() shift_labels = labels[..., 1:].contiguous() loss = nn.functional.cross_entropy( shift_logits.view(-1, shift_logits.size(-1)), shift_labels.view(-1), ignore_index=self.config.ignore_index, )
return OpenTSLMFlamingoCausalLMOutput( loss=loss, logits=logits, last_hidden_state=last_hidden_state, hidden_states=getattr(base_outputs, "hidden_states", None), past_key_values=getattr(base_outputs, "past_key_values", None), attention_mask=None, )
def prepare_inputs_for_generation( self, input_ids, past_key_values=None, attention_mask=None, inputs_embeds=None, timeseries=None, sensor_attn_mask=None, time_index=None, cache_position=None, **kwargs, ) -> Dict[str, Any]: # Prefill vs. decode by cache length: the first step may receive an empty cache. cache_len = 0 if past_key_values is not None: if hasattr(past_key_values, "get_seq_length"): cache_len = past_key_values.get_seq_length() elif isinstance(past_key_values, (tuple, list)) and past_key_values and past_key_values[0] is not None: cache_len = past_key_values[0][0].shape[2]
if cache_len > 0: input_ids = input_ids[:, -1:] timeseries = None sensor_attn_mask = None time_index = None
return { "input_ids": input_ids, "past_key_values": past_key_values, "attention_mask": attention_mask, "inputs_embeds": inputs_embeds, "timeseries": timeseries, "sensor_attn_mask": sensor_attn_mask, "time_index": time_index, "cache_position": cache_position, "use_cache": kwargs.get("use_cache", True), }
__all__ = ["OpenTSLMFlamingoForCausalLM", "OpenTSLMFlamingoConfig"]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731{ "metadata": { "total_parameters": 1819500192, "total_size": 7256194432 }, "weight_map": { "codi_mae_applier.mask_token": "pytorch_model-00002-of-00002.bin", "codi_projection.1.bias": "pytorch_model-00002-of-00002.bin", "codi_projection.1.weight": "pytorch_model-00002-of-00002.bin", "codi_projection.3.bias": "pytorch_model-00002-of-00002.bin", "codi_projection.3.weight": "pytorch_model-00002-of-00002.bin", "codi_projection.ln.bias": "pytorch_model-00002-of-00002.bin", "codi_projection.ln.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.lm_head.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.embed_tokens.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.10.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.2.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.7.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "perceiver.latents": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.norm.bias": "pytorch_model-00002-of-00002.bin", "perceiver.norm.weight": "pytorch_model-00002-of-00002.bin", "vision_encoder.input_norm.bias": "pytorch_model-00001-of-00002.bin", "vision_encoder.input_norm.weight": "pytorch_model-00001-of-00002.bin", "vision_encoder.patch_embed.weight": "pytorch_model-00001-of-00002.bin", "vision_encoder.pos_embed": "pytorch_model-00001-of-00002.bin" }}123456789101112131415161718192021222324252627{ "additional_special_tokens": [ "<|endofchunk|>", "<image>" ], "bos_token": { "content": "<|begin_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<PAD>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109{ "added_tokens_decoder": { "128000": { "content": "<|begin_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128001": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128002": { "content": "<|reserved_special_token_0|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128003": { "content": "<|reserved_special_token_1|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128004": { "content": "<|finetune_right_pad_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128005": { "content": "<|reserved_special_token_2|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128006": { "content": "<|start_header_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128007": { "content": "<|end_header_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128008": { "content": "<|eom_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128009": { "content": "<|eot_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128010": { "content": "<|python_tag|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128011": { "content": "<|reserved_special_token_3|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128012": { "content": "<|reserved_special_token_4|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128013": { "content": "<|reserved_special_token_5|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128014": { "content": "<|reserved_special_token_6|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128015": { "content": "<|reserved_special_token_7|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128016": { "content": "<|reserved_special_token_8|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128017": { "content": "<|reserved_special_token_9|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128018": { "content": "<|reserved_special_token_10|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128019": { "content": "<|reserved_special_token_11|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128020": { "content": "<|reserved_special_token_12|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128021": { "content": "<|reserved_special_token_13|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128022": { "content": "<|reserved_special_token_14|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128023": { "content": "<|reserved_special_token_15|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128024": { "content": "<|reserved_special_token_16|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128025": { "content": "<|reserved_special_token_17|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128026": { "content": "<|reserved_special_token_18|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128027": { "content": "<|reserved_special_token_19|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128028": { "content": "<|reserved_special_token_20|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128029": { "content": "<|reserved_special_token_21|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128030": { "content": "<|reserved_special_token_22|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128031": { "content": "<|reserved_special_token_23|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128032": { "content": "<|reserved_special_token_24|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128033": { "content": "<|reserved_special_token_25|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128034": { "content": "<|reserved_special_token_26|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128035": { "content": "<|reserved_special_token_27|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128036": { "content": "<|reserved_special_token_28|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128037": { "content": "<|reserved_special_token_29|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128038": { "content": "<|reserved_special_token_30|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128039": { "content": "<|reserved_special_token_31|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128040": { "content": "<|reserved_special_token_32|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128041": { "content": "<|reserved_special_token_33|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128042": { "content": "<|reserved_special_token_34|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128043": { "content": "<|reserved_special_token_35|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128044": { "content": "<|reserved_special_token_36|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128045": { "content": "<|reserved_special_token_37|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128046": { "content": "<|reserved_special_token_38|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128047": { "content": "<|reserved_special_token_39|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128048": { "content": "<|reserved_special_token_40|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128049": { "content": "<|reserved_special_token_41|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128050": { "content": "<|reserved_special_token_42|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128051": { "content": "<|reserved_special_token_43|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128052": { "content": "<|reserved_special_token_44|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128053": { "content": "<|reserved_special_token_45|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128054": { "content": "<|reserved_special_token_46|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128055": { "content": "<|reserved_special_token_47|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128056": { "content": "<|reserved_special_token_48|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128057": { "content": "<|reserved_special_token_49|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128058": { "content": "<|reserved_special_token_50|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128059": { "content": "<|reserved_special_token_51|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128060": { "content": "<|reserved_special_token_52|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128061": { "content": "<|reserved_special_token_53|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128062": { "content": "<|reserved_special_token_54|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128063": { "content": "<|reserved_special_token_55|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128064": { "content": "<|reserved_special_token_56|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128065": { "content": "<|reserved_special_token_57|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128066": { "content": "<|reserved_special_token_58|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128067": { "content": "<|reserved_special_token_59|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128068": { "content": "<|reserved_special_token_60|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128069": { "content": "<|reserved_special_token_61|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128070": { "content": "<|reserved_special_token_62|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128071": { "content": "<|reserved_special_token_63|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128072": { "content": "<|reserved_special_token_64|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128073": { "content": "<|reserved_special_token_65|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128074": { "content": "<|reserved_special_token_66|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128075": { "content": "<|reserved_special_token_67|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128076": { "content": "<|reserved_special_token_68|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128077": { "content": "<|reserved_special_token_69|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128078": { "content": "<|reserved_special_token_70|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128079": { "content": "<|reserved_special_token_71|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128080": { "content": "<|reserved_special_token_72|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128081": { "content": "<|reserved_special_token_73|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128082": { "content": "<|reserved_special_token_74|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128083": { "content": "<|reserved_special_token_75|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128084": { "content": "<|reserved_special_token_76|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128085": { "content": "<|reserved_special_token_77|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128086": { "content": "<|reserved_special_token_78|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128087": { "content": "<|reserved_special_token_79|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128088": { "content": "<|reserved_special_token_80|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128089": { "content": "<|reserved_special_token_81|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128090": { "content": "<|reserved_special_token_82|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128091": { "content": "<|reserved_special_token_83|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128092": { "content": "<|reserved_special_token_84|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128093": { "content": "<|reserved_special_token_85|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128094": { "content": "<|reserved_special_token_86|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128095": { "content": "<|reserved_special_token_87|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128096": { "content": "<|reserved_special_token_88|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128097": { "content": "<|reserved_special_token_89|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128098": { "content": "<|reserved_special_token_90|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128099": { "content": "<|reserved_special_token_91|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128100": { "content": "<|reserved_special_token_92|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128101": { "content": "<|reserved_special_token_93|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128102": { "content": "<|reserved_special_token_94|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128103": { "content": "<|reserved_special_token_95|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128104": { "content": "<|reserved_special_token_96|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128105": { "content": "<|reserved_special_token_97|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128106": { "content": "<|reserved_special_token_98|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128107": { "content": "<|reserved_special_token_99|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128108": { "content": "<|reserved_special_token_100|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128109": { "content": "<|reserved_special_token_101|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128110": { "content": "<|reserved_special_token_102|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128111": { "content": "<|reserved_special_token_103|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128112": { "content": "<|reserved_special_token_104|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128113": { "content": "<|reserved_special_token_105|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128114": { "content": "<|reserved_special_token_106|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128115": { "content": "<|reserved_special_token_107|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128116": { "content": "<|reserved_special_token_108|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128117": { "content": "<|reserved_special_token_109|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128118": { "content": "<|reserved_special_token_110|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128119": { "content": "<|reserved_special_token_111|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128120": { "content": "<|reserved_special_token_112|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128121": { "content": "<|reserved_special_token_113|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128122": { "content": "<|reserved_special_token_114|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128123": { "content": "<|reserved_special_token_115|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128124": { "content": "<|reserved_special_token_116|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128125": { "content": "<|reserved_special_token_117|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128126": { "content": "<|reserved_special_token_118|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128127": { "content": "<|reserved_special_token_119|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128128": { "content": "<|reserved_special_token_120|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128129": { "content": "<|reserved_special_token_121|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128130": { "content": "<|reserved_special_token_122|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128131": { "content": "<|reserved_special_token_123|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128132": { "content": "<|reserved_special_token_124|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128133": { "content": "<|reserved_special_token_125|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128134": { "content": "<|reserved_special_token_126|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128135": { "content": "<|reserved_special_token_127|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128136": { "content": "<|reserved_special_token_128|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128137": { "content": "<|reserved_special_token_129|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128138": { "content": "<|reserved_special_token_130|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128139": { "content": "<|reserved_special_token_131|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128140": { "content": "<|reserved_special_token_132|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128141": { "content": "<|reserved_special_token_133|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128142": { "content": "<|reserved_special_token_134|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128143": { "content": "<|reserved_special_token_135|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128144": { "content": "<|reserved_special_token_136|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128145": { "content": "<|reserved_special_token_137|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128146": { "content": "<|reserved_special_token_138|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128147": { "content": "<|reserved_special_token_139|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128148": { "content": "<|reserved_special_token_140|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128149": { "content": "<|reserved_special_token_141|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128150": { "content": "<|reserved_special_token_142|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128151": { "content": "<|reserved_special_token_143|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128152": { "content": "<|reserved_special_token_144|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128153": { "content": "<|reserved_special_token_145|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128154": { "content": "<|reserved_special_token_146|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128155": { "content": "<|reserved_special_token_147|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128156": { "content": "<|reserved_special_token_148|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128157": { "content": "<|reserved_special_token_149|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128158": { "content": "<|reserved_special_token_150|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128159": { "content": "<|reserved_special_token_151|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128160": { "content": "<|reserved_special_token_152|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128161": { "content": "<|reserved_special_token_153|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128162": { "content": "<|reserved_special_token_154|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128163": { "content": "<|reserved_special_token_155|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128164": { "content": "<|reserved_special_token_156|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128165": { "content": "<|reserved_special_token_157|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128166": { "content": "<|reserved_special_token_158|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128167": { "content": "<|reserved_special_token_159|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128168": { "content": "<|reserved_special_token_160|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128169": { "content": "<|reserved_special_token_161|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128170": { "content": "<|reserved_special_token_162|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128171": { "content": "<|reserved_special_token_163|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128172": { "content": "<|reserved_special_token_164|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128173": { "content": "<|reserved_special_token_165|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128174": { "content": "<|reserved_special_token_166|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128175": { "content": "<|reserved_special_token_167|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128176": { "content": "<|reserved_special_token_168|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128177": { "content": "<|reserved_special_token_169|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128178": { "content": "<|reserved_special_token_170|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128179": { "content": "<|reserved_special_token_171|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128180": { "content": "<|reserved_special_token_172|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128181": { "content": "<|reserved_special_token_173|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128182": { "content": "<|reserved_special_token_174|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128183": { "content": "<|reserved_special_token_175|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128184": { "content": "<|reserved_special_token_176|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128185": { "content": "<|reserved_special_token_177|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128186": { "content": "<|reserved_special_token_178|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128187": { "content": "<|reserved_special_token_179|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128188": { "content": "<|reserved_special_token_180|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128189": { "content": "<|reserved_special_token_181|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128190": { "content": "<|reserved_special_token_182|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128191": { "content": "<|reserved_special_token_183|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128192": { "content": "<|reserved_special_token_184|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128193": { "content": "<|reserved_special_token_185|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128194": { "content": "<|reserved_special_token_186|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128195": { "content": "<|reserved_special_token_187|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128196": { "content": "<|reserved_special_token_188|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128197": { "content": "<|reserved_special_token_189|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128198": { "content": "<|reserved_special_token_190|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128199": { "content": "<|reserved_special_token_191|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128200": { "content": "<|reserved_special_token_192|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128201": { "content": "<|reserved_special_token_193|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128202": { "content": "<|reserved_special_token_194|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128203": { "content": "<|reserved_special_token_195|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128204": { "content": "<|reserved_special_token_196|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128205": { "content": "<|reserved_special_token_197|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128206": { "content": "<|reserved_special_token_198|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128207": { "content": "<|reserved_special_token_199|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128208": { "content": "<|reserved_special_token_200|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128209": { "content": "<|reserved_special_token_201|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128210": { "content": "<|reserved_special_token_202|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128211": { "content": "<|reserved_special_token_203|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128212": { "content": "<|reserved_special_token_204|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128213": { "content": "<|reserved_special_token_205|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128214": { "content": "<|reserved_special_token_206|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128215": { "content": "<|reserved_special_token_207|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128216": { "content": "<|reserved_special_token_208|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128217": { "content": "<|reserved_special_token_209|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128218": { "content": "<|reserved_special_token_210|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128219": { "content": "<|reserved_special_token_211|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128220": { "content": "<|reserved_special_token_212|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128221": { "content": "<|reserved_special_token_213|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128222": { "content": "<|reserved_special_token_214|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128223": { "content": "<|reserved_special_token_215|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128224": { "content": "<|reserved_special_token_216|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128225": { "content": "<|reserved_special_token_217|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128226": { "content": "<|reserved_special_token_218|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128227": { "content": "<|reserved_special_token_219|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128228": { "content": "<|reserved_special_token_220|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128229": { "content": "<|reserved_special_token_221|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128230": { "content": "<|reserved_special_token_222|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128231": { "content": "<|reserved_special_token_223|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128232": { "content": "<|reserved_special_token_224|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128233": { "content": "<|reserved_special_token_225|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128234": { "content": "<|reserved_special_token_226|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128235": { "content": "<|reserved_special_token_227|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128236": { "content": "<|reserved_special_token_228|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128237": { "content": "<|reserved_special_token_229|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128238": { "content": "<|reserved_special_token_230|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128239": { "content": "<|reserved_special_token_231|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128240": { "content": "<|reserved_special_token_232|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128241": { "content": "<|reserved_special_token_233|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128242": { "content": "<|reserved_special_token_234|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128243": { "content": "<|reserved_special_token_235|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128244": { "content": "<|reserved_special_token_236|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128245": { "content": "<|reserved_special_token_237|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128246": { "content": "<|reserved_special_token_238|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128247": { "content": "<|reserved_special_token_239|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128248": { "content": "<|reserved_special_token_240|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128249": { "content": "<|reserved_special_token_241|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128250": { "content": "<|reserved_special_token_242|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128251": { "content": "<|reserved_special_token_243|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128252": { "content": "<|reserved_special_token_244|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128253": { "content": "<|reserved_special_token_245|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128254": { "content": "<|reserved_special_token_246|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128255": { "content": "<|reserved_special_token_247|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128256": { "content": "<|endofchunk|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128257": { "content": "<image>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128258": { "content": "<PAD>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128259": { "content": "<|bot|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128260": { "content": "<|eot|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "<|endofchunk|>", "<image>" ], "bos_token": "<|begin_of_text|>", "clean_up_tokenization_spaces": true, "eos_token": "<|end_of_text|>", "extra_special_tokens": {}, "model_input_names": [ "input_ids", "attention_mask" ], "model_max_length": 131072, "pad_token": "<PAD>", "padding_side": "right", "split_special_tokens": false, "tokenizer_class": "PreTrainedTokenizerFast"}1234from .configuration_opentslm_flamingo import OpenTSLMFlamingoConfigfrom .modeling_opentslm_flamingo import OpenTSLMFlamingoForCausalLM
__all__ = ["OpenTSLMFlamingoConfig", "OpenTSLMFlamingoForCausalLM"]1{{ '<|begin_of_text|>' }}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ content }}{% elif message['role'] == 'assistant' %}{{ content + '<|end_of_text|>' }}{% endif %}{% endfor %}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "architectures": [ "OpenTSLMFlamingoForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "auto_map": { "AutoConfig": "configuration_opentslm_flamingo.OpenTSLMFlamingoConfig", "AutoModel": "modeling_opentslm_flamingo.OpenTSLMFlamingoForCausalLM", "AutoModelForCausalLM": "modeling_opentslm_flamingo.OpenTSLMFlamingoForCausalLM" }, "bos_token_id": 128000, "cross_attn_every_n_layers": 1, "dtype": "bfloat16", "eoc_token_id": 128256, "eos_token_id": 128001, "head_dim": 64, "hidden_act": "silu", "hidden_size": 2048, "ignore_index": -100, "initializer_range": 0.02, "intermediate_size": 8192, "max_patches": 1024, "max_position_embeddings": 131072, "media_token_id": 128257, "mlp_bias": false, "model_type": "opentslm_flamingo", "normalize_timeseries": true, "num_attention_heads": 32, "num_hidden_layers": 16, "num_key_value_heads": 8, "pad_token_id": 128258, "perceiver_depth": 6, "perceiver_num_latents": 64, "pretraining_tp": 1, "rms_norm_eps": 1e-05, "rope_scaling": { "factor": 32.0, "high_freq_factor": 4.0, "low_freq_factor": 1.0, "original_max_position_embeddings": 8192, "rope_type": "llama3" }, "rope_theta": 500000.0, "tie_word_embeddings": true, "transformers_version": "4.57.6", "ts_patch_size": 4, "use_cache": false, "vis_dim": 128, "vocab_size": 128320}123456789101112131415161718192021222324252627282930313233"""Configuration of OpenTSLM-Flamingo: a Llama LM with a CNN tokenizer, a perceiver and gated cross-attention."""
from transformers.models.llama.configuration_llama import LlamaConfig
class OpenTSLMFlamingoConfig(LlamaConfig): model_type = "opentslm_flamingo"
def __init__( self, vis_dim: int = 128, # width of the CNN tokenizer, perceiver and cross-attention ts_patch_size: int = 4, # CNN tokenizer kernel and stride cross_attn_every_n_layers: int = 1, perceiver_num_latents: int = 64, perceiver_depth: int = 6, max_patches: int = 1024, media_token_id: int | None = None, # id of "<image>" eoc_token_id: int | None = None, # id of "<|endofchunk|>" normalize_timeseries: bool = True, ignore_index: int = -100, **kwargs, ): self.vis_dim = vis_dim self.ts_patch_size = ts_patch_size self.cross_attn_every_n_layers = cross_attn_every_n_layers self.perceiver_num_latents = perceiver_num_latents self.perceiver_depth = perceiver_depth self.max_patches = max_patches self.media_token_id = media_token_id self.eoc_token_id = eoc_token_id self.normalize_timeseries = normalize_timeseries self.ignore_index = ignore_index super().__init__(**kwargs)123456789{ "_from_model_config": true, "bos_token_id": 128000, "eos_token_id": [ 128001 ], "pad_token_id": 128258, "transformers_version": "4.57.6"}123456789101112{ "stage": "lapras", "template": "flamingo", "ts_patch_size": null, "answer_anchor": "Answer:", "use_cot": null, "num_latent": 6, "projection": { "projection_dim": 2048 }, "remove_eos": true}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322"""OpenTSLM-Flamingo as a Hugging Face causal LM with the interface of the SLIP backbone."""
from dataclasses import dataclassfrom typing import Any, Dict, Optional, Union
import torchimport torch.nn as nn
from transformers.cache_utils import Cachefrom transformers.generation import GenerationMixinfrom transformers.modeling_utils import PreTrainedModelfrom transformers.models.llama.configuration_llama import LlamaConfigfrom transformers.models.llama.modeling_llama import LlamaForCausalLMfrom transformers.utils import ModelOutput, logging
from .configuration_opentslm_flamingo import OpenTSLMFlamingoConfig
from open_flamingo.src.flamingo_lm import FlamingoLMMixin, FlamingoLayerfrom open_flamingo.src.helpers import PerceiverResamplerfrom open_flamingo.src.utils import extend_instance
logger = logging.get_logger(__name__)
# Recent transformers read `attention_type` off every decoder layer, which FlamingoLayer lacks.if not isinstance(getattr(FlamingoLayer, "attention_type", None), property): def _attention_type_property(self): return getattr(self.decoder_layer, "attention_type", None)
FlamingoLayer.attention_type = property(_attention_type_property) # type: ignore
PATCH_SIZE = 4ENCODER_OUTPUT_DIM = 128
class _CNNTokenizer(nn.Module): """OpenTSLM's CNN tokenizer: ``(B, L)`` series -> ``(B, L / patch_size, D)`` patch embeddings."""
def __init__( self, transformer_input_dim: int = ENCODER_OUTPUT_DIM, patch_size: int = PATCH_SIZE, max_patches: int = 1024, dropout: float = 0.0, ): super().__init__() self.patch_size = patch_size self.patch_embed = nn.Conv1d( in_channels=1, out_channels=transformer_input_dim, kernel_size=patch_size, stride=patch_size, bias=False, ) self.pos_embed = nn.Parameter(torch.randn(1, max_patches, transformer_input_dim)) self.input_norm = nn.LayerNorm(transformer_input_dim) self.input_dropout = nn.Dropout(dropout)
def forward(self, x: torch.Tensor) -> torch.Tensor: B, L = x.shape if L % self.patch_size != 0: raise ValueError(f"Sequence length {L} not divisible by patch_size {self.patch_size}") x = x.unsqueeze(1) # [B, 1, L] x = self.patch_embed(x) # [B, D, N] x = x.transpose(1, 2) # [B, N, D] N = x.size(1) if N > self.pos_embed.size(1): raise ValueError( f"Series of {N * self.patch_size} steps too long; max " f"{self.pos_embed.size(1) * self.patch_size} (raise max_patches)." ) x = x + self.pos_embed[:, :N, :] x = self.input_norm(x) x = self.input_dropout(x) return x # [B, N, D]
@dataclassclass OpenTSLMFlamingoCausalLMOutput(ModelOutput): """Causal LM outputs; ``attention_mask`` is always None since the sequence is never expanded."""
loss: Optional[torch.FloatTensor] = None logits: Optional[torch.FloatTensor] = None last_hidden_state: Optional[torch.FloatTensor] = None hidden_states: Optional[tuple] = None past_key_values: Optional[tuple] = None attention_mask: Optional[torch.Tensor] = None
def _sanitized_llama_config(config: OpenTSLMFlamingoConfig) -> LlamaConfig: """Llama config of the inner language model, without the Flamingo fields.""" drop = { "vis_dim", "ts_patch_size", "cross_attn_every_n_layers", "perceiver_num_latents", "perceiver_depth", "max_patches", "media_token_id", "eoc_token_id", "normalize_timeseries", "ignore_index", "model_type", "architectures", "auto_map", "_name_or_path", "torch_dtype", } d = {k: v for k, v in config.to_dict().items() if k not in drop} llama_cfg = LlamaConfig(**d) # The published weights were trained with eager attention. llama_cfg._attn_implementation = "eager" return llama_cfg
class OpenTSLMFlamingoForCausalLM(PreTrainedModel, GenerationMixin): config_class = OpenTSLMFlamingoConfig supports_gradient_checkpointing = True _supports_cache_class = True _no_split_modules = ["LlamaDecoderLayer", "FlamingoLayer"]
def __init__(self, config: OpenTSLMFlamingoConfig): super().__init__(config)
self.vision_encoder = _CNNTokenizer( transformer_input_dim=config.vis_dim, patch_size=config.ts_patch_size, max_patches=config.max_patches, )
# Llama with open_flamingo's gated cross-attention layers. lang_encoder = LlamaForCausalLM(_sanitized_llama_config(config)) extend_instance(lang_encoder, FlamingoLMMixin) lang_encoder.set_decoder_layers_attr_name("model.layers") lang_encoder.init_flamingo( media_token_id=(config.media_token_id if config.media_token_id is not None else 0), lang_hidden_size=config.hidden_size, vis_hidden_size=config.vis_dim, cross_attn_every_n_layers=config.cross_attn_every_n_layers, gradient_checkpointing=False, ) self.lang_encoder = lang_encoder
self.perceiver = PerceiverResampler( dim=config.vis_dim, depth=config.perceiver_depth, num_latents=config.perceiver_num_latents, ) self.perceiver._use_gradient_checkpointing = False
self.media_token_id = config.media_token_id self.eoc_token_id = config.eoc_token_id self.vis_dim = config.vis_dim self._cached_vis_x: Optional[torch.Tensor] = None
self.post_init()
@property def sensor_encoder(self) -> nn.Module: """Alias of the CNN tokenizer, not registered as a second submodule.""" return self.vision_encoder
@property def embed_dim(self) -> int: return self.vis_dim
def get_input_embeddings(self): return self.lang_encoder.get_input_embeddings()
def set_input_embeddings(self, value): self.lang_encoder.set_input_embeddings(value)
def get_output_embeddings(self): return self.lang_encoder.get_output_embeddings()
def set_output_embeddings(self, new_embeddings): self.lang_encoder.set_output_embeddings(new_embeddings)
def tie_weights(self): return self.lang_encoder.tie_weights()
def resize_token_embeddings(self, new_num_tokens=None, *args, **kwargs): out = self.lang_encoder.resize_token_embeddings(new_num_tokens, *args, **kwargs) if new_num_tokens is not None: actual_vocab = out.weight.shape[0] # includes the pad_to_multiple_of padding self.config.vocab_size = actual_vocab self.lang_encoder.config.vocab_size = actual_vocab return out
def gradient_checkpointing_enable(self, gradient_checkpointing_kwargs=None): self.lang_encoder.model.gradient_checkpointing_enable(gradient_checkpointing_kwargs)
def gradient_checkpointing_disable(self): self.lang_encoder.model.gradient_checkpointing_disable()
def _encode_vision_x(self, vision_x: torch.Tensor) -> torch.Tensor: """``(B, T_img, F, L)`` series -> perceiver latents ``(B, T_img, num_latents, vis_dim)``.""" w = self.vision_encoder.patch_embed.weight vision_x = vision_x.to(device=w.device, dtype=w.dtype) if vision_x.ndim != 4: raise ValueError( f"Flamingo vision_x must be (B, T_img, F, L); got shape {tuple(vision_x.shape)}" ) b, T, F, L = vision_x.shape x = vision_x.reshape(b * T * F, L) # (b*T*F, L) x = self.vision_encoder(x) # (b*T*F, N, D) x = x.reshape(b, T, F, x.size(1), x.size(2)) # (b, T, F, N, D) x = self.perceiver(x) # (b, T, num_latents, D) return x
def _set_conditioning(self, vis_x: torch.Tensor, input_ids: Optional[torch.LongTensor]) -> None: """Condition the cross-attention layers; inputs without <image> markers reuse the cached media.""" layers = self.lang_encoder._get_decoder_layers() media_locations = None if input_ids is not None: media_locations = input_ids == self.media_token_id
use_cached = bool( getattr(self.lang_encoder, "_use_cached_vision_x", False) and (media_locations is None or not media_locations.any()) ) for layer in layers: layer.condition_vis_x(vis_x) if not use_cached: layer.condition_media_locations(media_locations) layer.condition_use_cached_media(use_cached)
def forward( self, input_ids: Optional[torch.LongTensor] = None, inputs_embeds: Optional[torch.FloatTensor] = None, attention_mask: Optional[torch.Tensor] = None, position_ids: Optional[torch.LongTensor] = None, timeseries: Optional[torch.FloatTensor] = None, sensor_attn_mask=None, # used by sensor masking, not by the model time_index=None, # unused (SLIP interface) past_key_values: Optional[Cache] = None, use_cache: Optional[bool] = None, output_hidden_states: Optional[bool] = None, cache_position: Optional[torch.LongTensor] = None, return_dict: Optional[bool] = None, ts_patch_sizes=None, # unused (ChatTS interface) labels: Optional[torch.LongTensor] = None, **kwargs, ) -> OpenTSLMFlamingoCausalLMOutput: # Encode the series when given; later forwards without it reuse this encoding. if timeseries is not None: vis_x = self._encode_vision_x(timeseries) self._cached_vis_x = vis_x self.lang_encoder._use_cached_vision_x = True else: vis_x = self._cached_vis_x if vis_x is None: raise RuntimeError( "OpenTSLMFlamingoForCausalLM.forward called without `timeseries` and no " "vision features are cached. Pass the time-series on the first (prefill) pass." )
self._set_conditioning(vis_x, input_ids) base_outputs = self.lang_encoder.model( input_ids=input_ids, inputs_embeds=inputs_embeds, attention_mask=attention_mask, position_ids=position_ids, past_key_values=past_key_values, use_cache=use_cache, output_hidden_states=output_hidden_states, cache_position=cache_position, return_dict=True, ) last_hidden_state = base_outputs.last_hidden_state logits = self.lang_encoder.lm_head(last_hidden_state)
loss = None if labels is not None: shift_logits = logits[..., :-1, :].contiguous() shift_labels = labels[..., 1:].contiguous() loss = nn.functional.cross_entropy( shift_logits.view(-1, shift_logits.size(-1)), shift_labels.view(-1), ignore_index=self.config.ignore_index, )
return OpenTSLMFlamingoCausalLMOutput( loss=loss, logits=logits, last_hidden_state=last_hidden_state, hidden_states=getattr(base_outputs, "hidden_states", None), past_key_values=getattr(base_outputs, "past_key_values", None), attention_mask=None, )
def prepare_inputs_for_generation( self, input_ids, past_key_values=None, attention_mask=None, inputs_embeds=None, timeseries=None, sensor_attn_mask=None, time_index=None, cache_position=None, **kwargs, ) -> Dict[str, Any]: # Prefill vs. decode by cache length: the first step may receive an empty cache. cache_len = 0 if past_key_values is not None: if hasattr(past_key_values, "get_seq_length"): cache_len = past_key_values.get_seq_length() elif isinstance(past_key_values, (tuple, list)) and past_key_values and past_key_values[0] is not None: cache_len = past_key_values[0][0].shape[2]
if cache_len > 0: input_ids = input_ids[:, -1:] timeseries = None sensor_attn_mask = None time_index = None
return { "input_ids": input_ids, "past_key_values": past_key_values, "attention_mask": attention_mask, "inputs_embeds": inputs_embeds, "timeseries": timeseries, "sensor_attn_mask": sensor_attn_mask, "time_index": time_index, "cache_position": cache_position, "use_cache": kwargs.get("use_cache", True), }
__all__ = ["OpenTSLMFlamingoForCausalLM", "OpenTSLMFlamingoConfig"]123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731{ "metadata": { "total_parameters": 1819500192, "total_size": 7256194432 }, "weight_map": { "codi_mae_applier.mask_token": "pytorch_model-00002-of-00002.bin", "codi_projection.1.bias": "pytorch_model-00002-of-00002.bin", "codi_projection.1.weight": "pytorch_model-00002-of-00002.bin", "codi_projection.3.bias": "pytorch_model-00002-of-00002.bin", "codi_projection.3.weight": "pytorch_model-00002-of-00002.bin", "codi_projection.ln.bias": "pytorch_model-00002-of-00002.bin", "codi_projection.ln.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.0.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.1.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.10.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.11.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.12.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.13.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.14.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.15.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.2.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.3.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.4.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.5.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.6.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.7.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.8.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.norm.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.norm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.to_kv.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.to_out.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn.to_q.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.attn_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.0.bias": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.0.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.1.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff.3.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.gated_cross_attn_layers.9.ff_gate": "pytorch_model-00002-of-00002.bin", "lang_encoder.lm_head.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.embed_tokens.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.0.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.1.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.10.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.11.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.12.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.13.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.14.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.15.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.2.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.3.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.4.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.5.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.6.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.7.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.8.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.decoder_layer.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.norm.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.to_kv.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.to_out.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn.to_q.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.attn_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.0.bias": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.0.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.1.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff.3.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.layers.9.gated_cross_attn_layer.ff_gate": "pytorch_model-00001-of-00002.bin", "lang_encoder.model.norm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.0.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.1.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.10.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.10.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.11.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.12.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.13.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.14.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.15.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.2.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.2.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.3.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.4.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.5.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.input_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.mlp.down_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.mlp.gate_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.mlp.up_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.post_attention_layernorm.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.k_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.o_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.q_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.6.self_attn.v_proj.weight": "pytorch_model-00001-of-00002.bin", "lang_encoder.old_decoder_blocks.7.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.7.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.8.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.input_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.mlp.down_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.mlp.gate_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.mlp.up_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.post_attention_layernorm.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.k_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.o_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.q_proj.weight": "pytorch_model-00002-of-00002.bin", "lang_encoder.old_decoder_blocks.9.self_attn.v_proj.weight": "pytorch_model-00002-of-00002.bin", "perceiver.latents": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.0.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.1.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.2.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.3.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.4.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_latents.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_latents.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_media.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.norm_media.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.to_kv.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.to_out.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.0.to_q.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.0.bias": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.0.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.1.weight": "pytorch_model-00002-of-00002.bin", "perceiver.layers.5.1.3.weight": "pytorch_model-00002-of-00002.bin", "perceiver.norm.bias": "pytorch_model-00002-of-00002.bin", "perceiver.norm.weight": "pytorch_model-00002-of-00002.bin", "vision_encoder.input_norm.bias": "pytorch_model-00001-of-00002.bin", "vision_encoder.input_norm.weight": "pytorch_model-00001-of-00002.bin", "vision_encoder.patch_embed.weight": "pytorch_model-00001-of-00002.bin", "vision_encoder.pos_embed": "pytorch_model-00001-of-00002.bin" }}123456789101112131415161718192021222324252627{ "additional_special_tokens": [ "<|endofchunk|>", "<image>" ], "bos_token": { "content": "<|begin_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<PAD>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125{ "added_tokens_decoder": { "128000": { "content": "<|begin_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128001": { "content": "<|end_of_text|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128002": { "content": "<|reserved_special_token_0|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128003": { "content": "<|reserved_special_token_1|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128004": { "content": "<|finetune_right_pad_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128005": { "content": "<|reserved_special_token_2|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128006": { "content": "<|start_header_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128007": { "content": "<|end_header_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128008": { "content": "<|eom_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128009": { "content": "<|eot_id|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128010": { "content": "<|python_tag|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128011": { "content": "<|reserved_special_token_3|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128012": { "content": "<|reserved_special_token_4|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128013": { "content": "<|reserved_special_token_5|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128014": { "content": "<|reserved_special_token_6|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128015": { "content": "<|reserved_special_token_7|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128016": { "content": "<|reserved_special_token_8|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128017": { "content": "<|reserved_special_token_9|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128018": { "content": "<|reserved_special_token_10|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128019": { "content": "<|reserved_special_token_11|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128020": { "content": "<|reserved_special_token_12|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128021": { "content": "<|reserved_special_token_13|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128022": { "content": "<|reserved_special_token_14|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128023": { "content": "<|reserved_special_token_15|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128024": { "content": "<|reserved_special_token_16|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128025": { "content": "<|reserved_special_token_17|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128026": { "content": "<|reserved_special_token_18|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128027": { "content": "<|reserved_special_token_19|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128028": { "content": "<|reserved_special_token_20|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128029": { "content": "<|reserved_special_token_21|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128030": { "content": "<|reserved_special_token_22|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128031": { "content": "<|reserved_special_token_23|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128032": { "content": "<|reserved_special_token_24|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128033": { "content": "<|reserved_special_token_25|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128034": { "content": "<|reserved_special_token_26|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128035": { "content": "<|reserved_special_token_27|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128036": { "content": "<|reserved_special_token_28|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128037": { "content": "<|reserved_special_token_29|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128038": { "content": "<|reserved_special_token_30|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128039": { "content": "<|reserved_special_token_31|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128040": { "content": "<|reserved_special_token_32|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128041": { "content": "<|reserved_special_token_33|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128042": { "content": "<|reserved_special_token_34|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128043": { "content": "<|reserved_special_token_35|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128044": { "content": "<|reserved_special_token_36|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128045": { "content": "<|reserved_special_token_37|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128046": { "content": "<|reserved_special_token_38|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128047": { "content": "<|reserved_special_token_39|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128048": { "content": "<|reserved_special_token_40|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128049": { "content": "<|reserved_special_token_41|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128050": { "content": "<|reserved_special_token_42|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128051": { "content": "<|reserved_special_token_43|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128052": { "content": "<|reserved_special_token_44|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128053": { "content": "<|reserved_special_token_45|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128054": { "content": "<|reserved_special_token_46|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128055": { "content": "<|reserved_special_token_47|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128056": { "content": "<|reserved_special_token_48|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128057": { "content": "<|reserved_special_token_49|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128058": { "content": "<|reserved_special_token_50|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128059": { "content": "<|reserved_special_token_51|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128060": { "content": "<|reserved_special_token_52|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128061": { "content": "<|reserved_special_token_53|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128062": { "content": "<|reserved_special_token_54|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128063": { "content": "<|reserved_special_token_55|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128064": { "content": "<|reserved_special_token_56|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128065": { "content": "<|reserved_special_token_57|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128066": { "content": "<|reserved_special_token_58|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128067": { "content": "<|reserved_special_token_59|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128068": { "content": "<|reserved_special_token_60|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128069": { "content": "<|reserved_special_token_61|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128070": { "content": "<|reserved_special_token_62|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128071": { "content": "<|reserved_special_token_63|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128072": { "content": "<|reserved_special_token_64|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128073": { "content": "<|reserved_special_token_65|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128074": { "content": "<|reserved_special_token_66|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128075": { "content": "<|reserved_special_token_67|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128076": { "content": "<|reserved_special_token_68|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128077": { "content": "<|reserved_special_token_69|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128078": { "content": "<|reserved_special_token_70|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128079": { "content": "<|reserved_special_token_71|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128080": { "content": "<|reserved_special_token_72|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128081": { "content": "<|reserved_special_token_73|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128082": { "content": "<|reserved_special_token_74|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128083": { "content": "<|reserved_special_token_75|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128084": { "content": "<|reserved_special_token_76|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128085": { "content": "<|reserved_special_token_77|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128086": { "content": "<|reserved_special_token_78|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128087": { "content": "<|reserved_special_token_79|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128088": { "content": "<|reserved_special_token_80|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128089": { "content": "<|reserved_special_token_81|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128090": { "content": "<|reserved_special_token_82|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128091": { "content": "<|reserved_special_token_83|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128092": { "content": "<|reserved_special_token_84|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128093": { "content": "<|reserved_special_token_85|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128094": { "content": "<|reserved_special_token_86|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128095": { "content": "<|reserved_special_token_87|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128096": { "content": "<|reserved_special_token_88|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128097": { "content": "<|reserved_special_token_89|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128098": { "content": "<|reserved_special_token_90|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128099": { "content": "<|reserved_special_token_91|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128100": { "content": "<|reserved_special_token_92|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128101": { "content": "<|reserved_special_token_93|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128102": { "content": "<|reserved_special_token_94|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128103": { "content": "<|reserved_special_token_95|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128104": { "content": "<|reserved_special_token_96|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128105": { "content": "<|reserved_special_token_97|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128106": { "content": "<|reserved_special_token_98|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128107": { "content": "<|reserved_special_token_99|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128108": { "content": "<|reserved_special_token_100|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128109": { "content": "<|reserved_special_token_101|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128110": { "content": "<|reserved_special_token_102|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128111": { "content": "<|reserved_special_token_103|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128112": { "content": "<|reserved_special_token_104|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128113": { "content": "<|reserved_special_token_105|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128114": { "content": "<|reserved_special_token_106|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128115": { "content": "<|reserved_special_token_107|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128116": { "content": "<|reserved_special_token_108|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128117": { "content": "<|reserved_special_token_109|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128118": { "content": "<|reserved_special_token_110|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128119": { "content": "<|reserved_special_token_111|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128120": { "content": "<|reserved_special_token_112|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128121": { "content": "<|reserved_special_token_113|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128122": { "content": "<|reserved_special_token_114|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128123": { "content": "<|reserved_special_token_115|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128124": { "content": "<|reserved_special_token_116|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128125": { "content": "<|reserved_special_token_117|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128126": { "content": "<|reserved_special_token_118|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128127": { "content": "<|reserved_special_token_119|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128128": { "content": "<|reserved_special_token_120|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128129": { "content": "<|reserved_special_token_121|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128130": { "content": "<|reserved_special_token_122|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128131": { "content": "<|reserved_special_token_123|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128132": { "content": "<|reserved_special_token_124|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128133": { "content": "<|reserved_special_token_125|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128134": { "content": "<|reserved_special_token_126|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128135": { "content": "<|reserved_special_token_127|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128136": { "content": "<|reserved_special_token_128|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128137": { "content": "<|reserved_special_token_129|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128138": { "content": "<|reserved_special_token_130|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128139": { "content": "<|reserved_special_token_131|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128140": { "content": "<|reserved_special_token_132|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128141": { "content": "<|reserved_special_token_133|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128142": { "content": "<|reserved_special_token_134|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128143": { "content": "<|reserved_special_token_135|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128144": { "content": "<|reserved_special_token_136|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128145": { "content": "<|reserved_special_token_137|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128146": { "content": "<|reserved_special_token_138|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128147": { "content": "<|reserved_special_token_139|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128148": { "content": "<|reserved_special_token_140|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128149": { "content": "<|reserved_special_token_141|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128150": { "content": "<|reserved_special_token_142|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128151": { "content": "<|reserved_special_token_143|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128152": { "content": "<|reserved_special_token_144|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128153": { "content": "<|reserved_special_token_145|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128154": { "content": "<|reserved_special_token_146|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128155": { "content": "<|reserved_special_token_147|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128156": { "content": "<|reserved_special_token_148|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128157": { "content": "<|reserved_special_token_149|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128158": { "content": "<|reserved_special_token_150|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128159": { "content": "<|reserved_special_token_151|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128160": { "content": "<|reserved_special_token_152|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128161": { "content": "<|reserved_special_token_153|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128162": { "content": "<|reserved_special_token_154|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128163": { "content": "<|reserved_special_token_155|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128164": { "content": "<|reserved_special_token_156|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128165": { "content": "<|reserved_special_token_157|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128166": { "content": "<|reserved_special_token_158|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128167": { "content": "<|reserved_special_token_159|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128168": { "content": "<|reserved_special_token_160|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128169": { "content": "<|reserved_special_token_161|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128170": { "content": "<|reserved_special_token_162|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128171": { "content": "<|reserved_special_token_163|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128172": { "content": "<|reserved_special_token_164|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128173": { "content": "<|reserved_special_token_165|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128174": { "content": "<|reserved_special_token_166|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128175": { "content": "<|reserved_special_token_167|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128176": { "content": "<|reserved_special_token_168|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128177": { "content": "<|reserved_special_token_169|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128178": { "content": "<|reserved_special_token_170|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128179": { "content": "<|reserved_special_token_171|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128180": { "content": "<|reserved_special_token_172|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128181": { "content": "<|reserved_special_token_173|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128182": { "content": "<|reserved_special_token_174|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128183": { "content": "<|reserved_special_token_175|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128184": { "content": "<|reserved_special_token_176|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128185": { "content": "<|reserved_special_token_177|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128186": { "content": "<|reserved_special_token_178|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128187": { "content": "<|reserved_special_token_179|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128188": { "content": "<|reserved_special_token_180|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128189": { "content": "<|reserved_special_token_181|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128190": { "content": "<|reserved_special_token_182|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128191": { "content": "<|reserved_special_token_183|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128192": { "content": "<|reserved_special_token_184|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128193": { "content": "<|reserved_special_token_185|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128194": { "content": "<|reserved_special_token_186|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128195": { "content": "<|reserved_special_token_187|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128196": { "content": "<|reserved_special_token_188|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128197": { "content": "<|reserved_special_token_189|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128198": { "content": "<|reserved_special_token_190|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128199": { "content": "<|reserved_special_token_191|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128200": { "content": "<|reserved_special_token_192|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128201": { "content": "<|reserved_special_token_193|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128202": { "content": "<|reserved_special_token_194|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128203": { "content": "<|reserved_special_token_195|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128204": { "content": "<|reserved_special_token_196|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128205": { "content": "<|reserved_special_token_197|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128206": { "content": "<|reserved_special_token_198|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128207": { "content": "<|reserved_special_token_199|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128208": { "content": "<|reserved_special_token_200|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128209": { "content": "<|reserved_special_token_201|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128210": { "content": "<|reserved_special_token_202|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128211": { "content": "<|reserved_special_token_203|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128212": { "content": "<|reserved_special_token_204|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128213": { "content": "<|reserved_special_token_205|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128214": { "content": "<|reserved_special_token_206|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128215": { "content": "<|reserved_special_token_207|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128216": { "content": "<|reserved_special_token_208|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128217": { "content": "<|reserved_special_token_209|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128218": { "content": "<|reserved_special_token_210|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128219": { "content": "<|reserved_special_token_211|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128220": { "content": "<|reserved_special_token_212|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128221": { "content": "<|reserved_special_token_213|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128222": { "content": "<|reserved_special_token_214|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128223": { "content": "<|reserved_special_token_215|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128224": { "content": "<|reserved_special_token_216|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128225": { "content": "<|reserved_special_token_217|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128226": { "content": "<|reserved_special_token_218|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128227": { "content": "<|reserved_special_token_219|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128228": { "content": "<|reserved_special_token_220|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128229": { "content": "<|reserved_special_token_221|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128230": { "content": "<|reserved_special_token_222|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128231": { "content": "<|reserved_special_token_223|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128232": { "content": "<|reserved_special_token_224|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128233": { "content": "<|reserved_special_token_225|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128234": { "content": "<|reserved_special_token_226|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128235": { "content": "<|reserved_special_token_227|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128236": { "content": "<|reserved_special_token_228|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128237": { "content": "<|reserved_special_token_229|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128238": { "content": "<|reserved_special_token_230|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128239": { "content": "<|reserved_special_token_231|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128240": { "content": "<|reserved_special_token_232|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128241": { "content": "<|reserved_special_token_233|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128242": { "content": "<|reserved_special_token_234|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128243": { "content": "<|reserved_special_token_235|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128244": { "content": "<|reserved_special_token_236|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128245": { "content": "<|reserved_special_token_237|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128246": { "content": "<|reserved_special_token_238|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128247": { "content": "<|reserved_special_token_239|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128248": { "content": "<|reserved_special_token_240|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128249": { "content": "<|reserved_special_token_241|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128250": { "content": "<|reserved_special_token_242|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128251": { "content": "<|reserved_special_token_243|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128252": { "content": "<|reserved_special_token_244|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128253": { "content": "<|reserved_special_token_245|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128254": { "content": "<|reserved_special_token_246|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128255": { "content": "<|reserved_special_token_247|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128256": { "content": "<|endofchunk|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128257": { "content": "<image>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128258": { "content": "<PAD>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128259": { "content": "<|bot|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128260": { "content": "<|eot|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128261": { "content": "<timeseries_selection_tool>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "128262": { "content": "</timeseries_selection_tool>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "<|endofchunk|>", "<image>" ], "bos_token": "<|begin_of_text|>", "clean_up_tokenization_spaces": true, "eos_token": "<|end_of_text|>", "extra_special_tokens": {}, "model_input_names": [ "input_ids", "attention_mask" ], "model_max_length": 131072, "pad_token": "<PAD>", "padding_side": "right", "split_special_tokens": false, "tokenizer_class": "PreTrainedTokenizerFast"}LICENSEAdded+16
LICENSE-APACHE-2.0.txtAdded+201
LICENSE-LLAMA-3.2.txtAdded+111
NOTICEAdded+3
README.md+152-1
USE_POLICY-LLAMA-3.2.mdAdded+52
opentslm/lapras_ecg/__init__.pyAdded+4
opentslm/lapras_ecg/chat_template.jinjaAdded+1
opentslm/lapras_ecg/config.jsonAdded+51
opentslm/lapras_ecg/configuration_opentslm_flamingo.pyAdded+33
opentslm/lapras_ecg/generation_config.jsonAdded+7
opentslm/lapras_ecg/lapras_run_config.jsonAdded+12
opentslm/lapras_ecg/modeling_opentslm_flamingo.pyAdded+322
opentslm/lapras_ecg/pytorch_model.bin.index.jsonAdded+731
opentslm/lapras_ecg/special_tokens_map.jsonAdded+27
opentslm/lapras_ecg/tokenizer_config.jsonAdded+2109
opentslm/lapras_engine/__init__.pyAdded+4
opentslm/lapras_engine/config.jsonAdded+51
opentslm/lapras_engine/configuration_opentslm_flamingo.pyAdded+33
opentslm/lapras_engine/lapras_run_config.jsonAdded+12
opentslm/lapras_har/__init__.pyAdded+4
opentslm/lapras_har/chat_template.jinjaAdded+1
opentslm/lapras_har/config.jsonAdded+51
opentslm/lapras_har/configuration_opentslm_flamingo.pyAdded+33
opentslm/lapras_har/generation_config.jsonAdded+7
opentslm/lapras_har/lapras_run_config.jsonAdded+12
opentslm/lapras_har/modeling_opentslm_flamingo.pyAdded+322
opentslm/lapras_har/pytorch_model.bin.index.jsonAdded+731
opentslm/lapras_har/special_tokens_map.jsonAdded+27
opentslm/lapras_har/tokenizer_config.jsonAdded+2109
opentslm/lapras_sleep/__init__.pyAdded+4
opentslm/lapras_sleep/chat_template.jinjaAdded+1
opentslm/lapras_sleep/config.jsonAdded+51
opentslm/lapras_sleep/configuration_opentslm_flamingo.pyAdded+33
opentslm/lapras_sleep/generation_config.jsonAdded+7
opentslm/lapras_sleep/lapras_run_config.jsonAdded+12
opentslm/lapras_sleep/modeling_opentslm_flamingo.pyAdded+322
opentslm/lapras_sleep/pytorch_model.bin.index.jsonAdded+731
opentslm/lapras_sleep/special_tokens_map.jsonAdded+27
opentslm/lapras_sleep/tokenizer_config.jsonAdded+2109
opentslm/lapras_tsr/__init__.pyAdded+4
opentslm/lapras_tsr/chat_template.jinjaAdded+1
opentslm/lapras_tsr/config.jsonAdded+51
opentslm/lapras_tsr/configuration_opentslm_flamingo.pyAdded+33
opentslm/lapras_tsr/generation_config.jsonAdded+9
opentslm/lapras_tsr/lapras_run_config.jsonAdded+12
opentslm/lapras_tsr/modeling_opentslm_flamingo.pyAdded+322
opentslm/lapras_tsr/pytorch_model.bin.index.jsonAdded+731
opentslm/lapras_tsr/special_tokens_map.jsonAdded+27
opentslm/lapras_tsr/tokenizer_config.jsonAdded+2125