初始化项目,由ModelHub XC社区提供模型
Model: LumiOpen/Llama-Poro-2-8B-Long-Math-Reasoning-RL-Preview Source: Original Platform
This commit is contained in:
36
.gitattributes
vendored
Normal file
36
.gitattributes
vendored
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.model filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||||
|
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
||||||
114
LICENSE
Normal file
114
LICENSE
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
LLAMA 3.1 COMMUNITY LICENSE AGREEMENT
|
||||||
|
Llama 3.1 Version Release Date: July 23, 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.1
|
||||||
|
distributed 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 under applicable laws, rules or
|
||||||
|
regulations to provide legal consent and that has legal authority to bind your employer or such other
|
||||||
|
person or entity if you are entering in this Agreement on their behalf.
|
||||||
|
|
||||||
|
“Llama 3.1” means the foundational large language models and software and algorithms, including
|
||||||
|
machine-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://llama.meta.com/llama-downloads.
|
||||||
|
|
||||||
|
“Llama Materials” means, collectively, Meta’s proprietary Llama 3.1 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)
|
||||||
|
provide a 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
|
||||||
|
the Llama Materials or any outputs or results of the Llama Materials to create, train, fine tune, or
|
||||||
|
otherwise 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 part
|
||||||
|
of 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.1 is
|
||||||
|
licensed under the Llama 3.1 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 for the Llama
|
||||||
|
Materials (available at https://llama.meta.com/llama3_1/use-policy), which is hereby incorporated by
|
||||||
|
reference into this Agreement.
|
||||||
|
|
||||||
|
2. Additional Commercial Terms. If, on the Llama 3.1 version release date, the monthly active users
|
||||||
|
of 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 to exercise 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 DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED,
|
||||||
|
INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT,
|
||||||
|
MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR
|
||||||
|
DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE LLAMA MATERIALS AND
|
||||||
|
ASSUME ANY RISKS ASSOCIATED WITH 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.1 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 access to the Llama Materials and will continue in full force and effect until terminated in
|
||||||
|
accordance with the terms and conditions herein. Meta may terminate this Agreement if you are in
|
||||||
|
breach of any term or condition of this Agreement. 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 International Sale of Goods does not apply to this Agreement. The courts of California shall have
|
||||||
|
exclusive jurisdiction of any dispute arising out of this Agreement.
|
||||||
127
NOTICE
Normal file
127
NOTICE
Normal file
@@ -0,0 +1,127 @@
|
|||||||
|
NOTICES Llama-Poro-2-8B-Long-Math-Reasoning-RL-Preview
|
||||||
|
|
||||||
|
Dependencies on meta-llama/Llama-3.1-8B (Llama 3.1 Community License)
|
||||||
|
|
||||||
|
|
||||||
|
Copyright Statements
|
||||||
|
|
||||||
|
Llama 3.1 is licensed under the Llama 3.1 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved.
|
||||||
|
|
||||||
|
# Modifications copyright(c) 2025 LumiOpen. All rights reserved.
|
||||||
|
|
||||||
|
License Text https://huggingface.co/meta-llama/Llama-3.1-8B/blob/main/LICENSE
|
||||||
|
|
||||||
|
LLAMA 3.1 COMMUNITY LICENSE AGREEMENT
|
||||||
|
Llama 3.1 Version Release Date: July 23, 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.1
|
||||||
|
distributed 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 under applicable laws, rules or
|
||||||
|
regulations to provide legal consent and that has legal authority to bind your employer or such other
|
||||||
|
person or entity if you are entering in this Agreement on their behalf.
|
||||||
|
|
||||||
|
“Llama 3.1” means the foundational large language models and software and algorithms, including
|
||||||
|
machine-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://llama.meta.com/llama-downloads.
|
||||||
|
|
||||||
|
“Llama Materials” means, collectively, Meta’s proprietary Llama 3.1 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)
|
||||||
|
provide a 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
|
||||||
|
the Llama Materials or any outputs or results of the Llama Materials to create, train, fine tune, or
|
||||||
|
otherwise 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 part
|
||||||
|
of 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.1 is
|
||||||
|
licensed under the Llama 3.1 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 for the Llama
|
||||||
|
Materials (available at https://llama.meta.com/llama3_1/use-policy), which is hereby incorporated by
|
||||||
|
reference into this Agreement.
|
||||||
|
|
||||||
|
2. Additional Commercial Terms. If, on the Llama 3.1 version release date, the monthly active users
|
||||||
|
of 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 to exercise 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 DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED,
|
||||||
|
INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT,
|
||||||
|
MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR
|
||||||
|
DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE LLAMA MATERIALS AND
|
||||||
|
ASSUME ANY RISKS ASSOCIATED WITH 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.1 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 access to the Llama Materials and will continue in full force and effect until terminated in
|
||||||
|
accordance with the terms and conditions herein. Meta may terminate this Agreement if you are in
|
||||||
|
breach of any term or condition of this Agreement. 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 International Sale of Goods does not apply to this Agreement. The courts of California shall have
|
||||||
|
exclusive jurisdiction of any dispute arising out of this Agreement.
|
||||||
171
README.md
Normal file
171
README.md
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
---
|
||||||
|
datasets:
|
||||||
|
- nvidia/Llama-Nemotron-Post-Training-Dataset
|
||||||
|
language:
|
||||||
|
- fi
|
||||||
|
- en
|
||||||
|
license: llama3.1
|
||||||
|
library_name: transformers
|
||||||
|
pipeline_tag: text-generation
|
||||||
|
---
|
||||||
|
# Poro 2 8B Math Reasoning RL Preview Model Card
|
||||||
|
|
||||||
|
Poro 2 8B Math Reasoning RL Preview is a specialized model focused on mathematical reasoning and problem-solving. This preview model was created through reinforcement learning (RL) on top of the [Math Reasoning SFT checkpoint](https://huggingface.co/LumiOpen/Llama-Poro-2-Long-Math-Reasoning-SFT-Preview). This model excels at mathematical reasoning tasks but is not optimized for general conversational use or other domains.
|
||||||
|
|
||||||
|
The model produces reasoning traces in both English and Finnish, adapting the language of its reasoning based on the language of the input prompt. The RL training used separate environments for English and Finnish math problems, a novel approach that maintains strong bilingual reasoning performance.
|
||||||
|
|
||||||
|
Poro 2 was created in a collaboration between [AMD Silo AI](https://www.amd.com/en/solutions/ai/silo-ai.html), the [TurkuNLP group](https://turkunlp.org/) of the University of Turku, and [High Performance Language Technologies](https://hplt-project.org/) (HPLT). Training was conducted on the [LUMI supercomputer](https://www.lumi-supercomputer.eu/) and [TensorWave](https://www.tensorwave.com/) AMD MI325X clusters, using compute resources generously provided by [CSC](https://csc.fi/) - IT Center for Science, Finland.
|
||||||
|
|
||||||
|
For more details on our training and data generation pipeline, check out our [Context Extension and Reinforcement Learning Playbook](https://rocm.blogs.amd.com/artificial-intelligence/rl-training-playbook/README.html).
|
||||||
|
|
||||||
|
## Poro 2 Long Model Family
|
||||||
|
|
||||||
|
The Poro 2 Long model family extends the Poro 2 models with longer context support and checkpoints trained especially on math reasoning. There are four checkpoints released: a base model, an instruction-tuned model, a math reasoning SFT checkpoint, and the final math reasoning RL checkpoint.
|
||||||
|
|
||||||
|
| Base Model | Instruct | Math Reasoning SFT | Math Reasoning RL |
|
||||||
|
|------------|----------|--------------------|-------------------|
|
||||||
|
| [Poro 2 Long Base](https://huggingface.co/LumiOpen/Llama-Poro-2-Long-Base) | [Poro 2 Long Instruct](https://huggingface.co/LumiOpen/Llama-Poro-2-Long-Instruct) | [Poro 2 Long Math Reasoning SFT](https://huggingface.co/LumiOpen/Llama-Poro-2-Long-Math-Reasoning-SFT-Preview) | [Poro 2 Long Math Reasoning RL](https://huggingface.co/LumiOpen/Llama-Poro-2-8B-Long-Math-Reasoning-RL-Preview) |
|
||||||
|
|
||||||
|
## Model Overview
|
||||||
|
|
||||||
|
Poro 2 8B Math Reasoning RL Preview is based on the Llama 3.1 8B architecture and has been fine-tuned for mathematical reasoning through supervised fine-tuning followed by reinforcement learning.
|
||||||
|
|
||||||
|
| Hyperparameter | Value |
|
||||||
|
| :------------- | :----: |
|
||||||
|
| n_parameters | 8.03B |
|
||||||
|
| n_layers | 32 |
|
||||||
|
| n_heads | 32 |
|
||||||
|
| n_kv_heads | 8 |
|
||||||
|
| d_model | 4096 |
|
||||||
|
| vocab_size | 128384 |
|
||||||
|
| max_sequence_length | 131072 |
|
||||||
|
| base_model | [Poro 2 Long Base](https://huggingface.co/LumiOpen/Llama-Poro-2-Long-Base) |
|
||||||
|
|
||||||
|
## Training Process
|
||||||
|
|
||||||
|
### Context Extension
|
||||||
|
The base model underwent context extension using LongRoPE scaling to support 131k tokens.
|
||||||
|
|
||||||
|
### Supervised Fine-Tuning (SFT)
|
||||||
|
The SFT phase focused on mathematical reasoning and used:
|
||||||
|
- 2.2M English math reasoning samples from [nvidia/Llama-Nemotron-Post-Training-Dataset](https://huggingface.co/datasets/nvidia/Llama-Nemotron-Post-Training-Dataset)
|
||||||
|
- [1.4M Finnish translations](https://huggingface.co/datasets/LumiOpen/Llama-Nemotron-Post-Training-Dataset-SFT-math-FI) of the reasoning samples
|
||||||
|
|
||||||
|
### Reinforcement Learning (RL)
|
||||||
|
Following SFT, the model was further trained using reinforcement learning with separate English and Finnish math environments:
|
||||||
|
- Dual-environment RL training with language-specific math problem sets
|
||||||
|
- 900 RL training steps
|
||||||
|
|
||||||
|
## Training Dataset
|
||||||
|
|
||||||
|
| Stage | Model | Dataset | License |
|
||||||
|
|-------|-------|---------|---------|
|
||||||
|
| CPT | Llama-Poro-2-Long-Base | https://huggingface.co/datasets/HuggingFaceFW/finepdfs-edu | ODC-BY-1.0 |
|
||||||
|
| CPT | Llama-Poro-2-Long-Base | https://huggingface.co/datasets/HuggingFaceTB/finemath | ODC-BY-1.0 |
|
||||||
|
| CPT | Llama-Poro-2-Long-Base | https://huggingface.co/datasets/bigcode/starcoderdata | Refer source materials |
|
||||||
|
| Instruct SFT | Llama-Poro-2-Long-Instruct | https://huggingface.co/datasets/LumiOpen/poro2-instruction-collection | Llama 3 Community License |
|
||||||
|
| Math SFT | Llama-Poro-2-Long-Math-Reasoning-SFT-Preview | https://huggingface.co/datasets/nvidia/Llama-Nemotron-Post-Training-Dataset | CC-BY-4.0 |
|
||||||
|
| Math SFT | Llama-Poro-2-Long-Math-Reasoning-SFT-Preview | https://huggingface.co/datasets/LumiOpen/Llama-Nemotron-Post-Training-Dataset-SFT-math-FI | CC-BY-4.0 |
|
||||||
|
| Math RL | Llama-Poro-2-8B-Long-Math-Reasoning-RL-Preview | https://huggingface.co/datasets/Kwai-Klear/KlearReasoner-MathSub-30K | Apache-2.0 |
|
||||||
|
|
||||||
|
## Post-Training Hyperparameters
|
||||||
|
|
||||||
|
### SFT
|
||||||
|
| Hyperparameter | Value |
|
||||||
|
| :------------: | :---: |
|
||||||
|
| Epochs | 3 |
|
||||||
|
| Global batch size | 128 |
|
||||||
|
| Learning rate | 5e-5 |
|
||||||
|
| Max sequence length | 32,768 |
|
||||||
|
| Packing | Yes |
|
||||||
|
|
||||||
|
## Evaluation Results
|
||||||
|
|
||||||
|
Poro 2 8B Math Reasoning RL Preview demonstrates strong mathematical reasoning capabilities in both English and Finnish, showing substantial improvements over both the SFT checkpoint and the original Poro 2 8B Instruct model. On AIME 2025, the model achieves performance comparable to models 6x its size.
|
||||||
|
|
||||||
|
| Model | Math-500 EN | Math-500 FI | AIME25 EN | AIME25 FI | AIME26 EN | AIME26 FI |
|
||||||
|
|-------|-------------|-------------|-----------|-----------|-----------|-----------|
|
||||||
|
| **Poro 2 8B Math Reasoning RL Preview** | **0.97** | **0.95** | **0.607** | **0.521** | **0.678** | **0.572** |
|
||||||
|
| Poro 2 8B Math Reasoning SFT Preview | 0.96 | 0.928 | 0.499 | 0.403 | 0.604 | 0.478 |
|
||||||
|
| Poro 2 8B Instruct | - | - | 0.009 | 0.003 | 0.010 | 0.006 |
|
||||||
|
|
||||||
|
All AIME results are avg@64 with temperature 1.0.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```python
|
||||||
|
from transformers import AutoTokenizer, AutoModelForCausalLM
|
||||||
|
import torch
|
||||||
|
|
||||||
|
model_name = "LumiOpen/Llama-Poro-2-8B-Long-Math-Reasoning-RL-Preview"
|
||||||
|
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
||||||
|
model = AutoModelForCausalLM.from_pretrained(
|
||||||
|
model_name,
|
||||||
|
torch_dtype=torch.bfloat16,
|
||||||
|
device_map="auto"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Finnish conversation example
|
||||||
|
messages = [
|
||||||
|
{"role": "user", "content": "Kuinka monta positiivista kokonaislukujakajaa luvulla 196 on?"}
|
||||||
|
]
|
||||||
|
|
||||||
|
inputs = tokenizer.apply_chat_template(
|
||||||
|
messages,
|
||||||
|
add_generation_prompt=True,
|
||||||
|
return_tensors="pt"
|
||||||
|
)
|
||||||
|
|
||||||
|
outputs = model.generate(
|
||||||
|
inputs,
|
||||||
|
max_new_tokens=32000,
|
||||||
|
temperature=0.7,
|
||||||
|
do_sample=True,
|
||||||
|
pad_token_id=tokenizer.eos_token_id
|
||||||
|
)
|
||||||
|
|
||||||
|
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
||||||
|
print(response)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Intended Use
|
||||||
|
|
||||||
|
Poro 2 8B Math Reasoning RL Preview is designed for:
|
||||||
|
- Mathematical problem-solving and reasoning tasks
|
||||||
|
- Step-by-step mathematical reasoning with explicit reasoning traces
|
||||||
|
- Math education and tutoring applications
|
||||||
|
- Competition mathematics (e.g., AIME-level problems)
|
||||||
|
- Mathematical reasoning in both English and Finnish
|
||||||
|
|
||||||
|
**Note:** This model is optimized specifically for mathematical reasoning and is not suitable for general conversational AI or other domains.
|
||||||
|
|
||||||
|
## Ethical Considerations and Limitations
|
||||||
|
|
||||||
|
Poro 2 8B Math Reasoning RL Preview is a specialized model optimized for mathematical reasoning in English and Finnish. As a preview release, this model has specific limitations:
|
||||||
|
|
||||||
|
Key limitations:
|
||||||
|
- Optimized exclusively for mathematical reasoning; not suitable for general conversation, coding, creative writing, or other domains
|
||||||
|
- This is an early preview release
|
||||||
|
- Reasoning traces are in English or Finnish depending on prompt language; limited proficiency in other languages
|
||||||
|
- May occasionally generate biased, inappropriate, or factually incorrect content
|
||||||
|
|
||||||
|
**Safety Considerations:**
|
||||||
|
- Users should verify important factual claims independently
|
||||||
|
- The model should not be used for medical, legal, or financial advice without human oversight
|
||||||
|
- Responses should be reviewed for appropriateness in sensitive contexts
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
Built with Llama
|
||||||
|
|
||||||
|
Poro 2 8B Math Reasoning RL Preview is released under the Llama 3.1 Community License. Please review the license terms before use.
|
||||||
|
|
||||||
|
## Citation
|
||||||
|
|
||||||
|
```bibtex
|
||||||
|
@misc{poro2_long_2025, title={}, author={}, year={}, howpublished={} }
|
||||||
|
```
|
||||||
|
|
||||||
|
## Acknowledgments
|
||||||
|
|
||||||
|
We thank CSC - IT Center for Science, Finland for providing access to the LUMI supercomputer, and TensorWave for providing access to AMD MI325X GPU clusters. This work was supported by the High Performance Language Technologies (HPLT) project and conducted in collaboration with TurkuNLP from the University of Turku. This project has received funding from the European Union's Horizon Europe research and innovation programme under grant agreement No 101070350.
|
||||||
51
USE_POLICY.md
Normal file
51
USE_POLICY.md
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
# Llama 3.1 Acceptable Use Policy
|
||||||
|
|
||||||
|
Meta is committed to promoting safe and fair use of its tools and features, including Llama 3.1. If you
|
||||||
|
access or use Llama 3.1, you agree to this Acceptable Use Policy (“Policy”). The most recent copy of
|
||||||
|
this policy can be found at [https://llama.meta.com/llama3_1/use-policy](https://llama.meta.com/llama3_1/use-policy)
|
||||||
|
|
||||||
|
## Prohibited Uses
|
||||||
|
|
||||||
|
We want everyone to use Llama 3.1 safely and responsibly. You agree you will not use, or allow
|
||||||
|
others to use, Llama 3.1 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
|
||||||
|
3. Engage in, promote, incite, or facilitate the harassment, abuse, threatening, or bullying of individuals or groups of individuals
|
||||||
|
4. 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
|
||||||
|
5. Engage in the unauthorized or unlicensed practice of any profession including, but not limited to, financial, legal, medical/health, or related professional practices
|
||||||
|
6. Collect, process, disclose, generate, or infer health, demographic, or other sensitive personal or private information about individuals without rights and consents required by applicable laws
|
||||||
|
7. 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
|
||||||
|
8. 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
|
||||||
|
|
||||||
|
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.1 related to the following:
|
||||||
|
1. 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
|
||||||
|
2. Guns and illegal weapons (including weapon development)
|
||||||
|
3. Illegal drugs and regulated/controlled substances
|
||||||
|
4. Operation of critical infrastructure, transportation technologies, or heavy machinery
|
||||||
|
5. Self-harm or harm to others, including suicide, cutting, and eating disorders
|
||||||
|
6. Any content intended to incite or promote violence, abuse, or any infliction of bodily harm to an individual
|
||||||
|
|
||||||
|
3. Intentionally deceive or mislead others, including use of Llama 3.1 related to the following:
|
||||||
|
1. Generating, promoting, or furthering fraud or the creation or promotion of disinformation
|
||||||
|
2. Generating, promoting, or furthering defamatory content, including the creation of defamatory statements, images, or other content
|
||||||
|
3. Generating, promoting, or further distributing spam
|
||||||
|
4. Impersonating another individual without consent, authorization, or legal right
|
||||||
|
5. Representing that the use of Llama 3.1 or outputs are human-generated
|
||||||
|
6. 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 system
|
||||||
|
|
||||||
|
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://github.com/meta-llama/llama-models/issues)
|
||||||
|
* Reporting risky content generated by the model: developers.facebook.com/llama_output_feedback
|
||||||
|
* Reporting bugs and security concerns: facebook.com/whitehat/info
|
||||||
|
* Reporting violations of the Acceptable Use Policy or unlicensed uses of Llama 3.1: LlamaUseReport@meta.com
|
||||||
109
chat_template.jinja
Normal file
109
chat_template.jinja
Normal file
@@ -0,0 +1,109 @@
|
|||||||
|
{{- bos_token }}
|
||||||
|
{%- if custom_tools is defined %}
|
||||||
|
{%- set tools = custom_tools %}
|
||||||
|
{%- endif %}
|
||||||
|
{%- if not tools_in_user_message is defined %}
|
||||||
|
{%- set tools_in_user_message = true %}
|
||||||
|
{%- endif %}
|
||||||
|
{%- if not date_string is defined %}
|
||||||
|
{%- set date_string = "26 Jul 2024" %}
|
||||||
|
{%- endif %}
|
||||||
|
{%- if not tools is defined %}
|
||||||
|
{%- set tools = none %}
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
|
{#- This block extracts the system message, so we can slot it into the right place. #}
|
||||||
|
{%- if messages[0]['role'] == 'system' %}
|
||||||
|
{%- set system_message = messages[0]['content']|trim %}
|
||||||
|
{%- set messages = messages[1:] %}
|
||||||
|
{%- else %}
|
||||||
|
{%- set system_message = "" %}
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
|
{#- System message + builtin tools #}
|
||||||
|
{{- "<|start_header_id|>system<|end_header_id|>\n\n" }}
|
||||||
|
{%- if builtin_tools is defined or tools is not none %}
|
||||||
|
{{- "Environment: ipython\n" }}
|
||||||
|
{%- endif %}
|
||||||
|
{%- if builtin_tools is defined %}
|
||||||
|
{{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "\n\n"}}
|
||||||
|
{%- endif %}
|
||||||
|
{{- "Cutting Knowledge Date: December 2023\n" }}
|
||||||
|
{{- "Today Date: " + date_string + "\n\n" }}
|
||||||
|
{%- if tools is not none and not tools_in_user_message %}
|
||||||
|
{{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }}
|
||||||
|
{{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
|
||||||
|
{{- "Do not use variables.\n\n" }}
|
||||||
|
{%- for t in tools %}
|
||||||
|
{{- t | tojson(indent=4) }}
|
||||||
|
{{- "\n\n" }}
|
||||||
|
{%- endfor %}
|
||||||
|
{%- endif %}
|
||||||
|
{{- system_message }}
|
||||||
|
{{- "<|eot_id|>" }}
|
||||||
|
|
||||||
|
{#- Custom tools are passed in a user message with some extra guidance #}
|
||||||
|
{%- if tools_in_user_message and not tools is none %}
|
||||||
|
{#- Extract the first user message so we can plug it in here #}
|
||||||
|
{%- if messages | length != 0 %}
|
||||||
|
{%- set first_user_message = messages[0]['content']|trim %}
|
||||||
|
{%- set messages = messages[1:] %}
|
||||||
|
{%- else %}
|
||||||
|
{{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
|
||||||
|
{%- endif %}
|
||||||
|
{{- '<|start_header_id|>user<|end_header_id|>\n\n' -}}
|
||||||
|
{{- "Given the following functions, please respond with a JSON for a function call " }}
|
||||||
|
{{- "with its proper arguments that best answers the given prompt.\n\n" }}
|
||||||
|
{{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
|
||||||
|
{{- "Do not use variables.\n\n" }}
|
||||||
|
{%- for t in tools %}
|
||||||
|
{{- t | tojson(indent=4) }}
|
||||||
|
{{- "\n\n" }}
|
||||||
|
{%- endfor %}
|
||||||
|
{{- first_user_message + "<|eot_id|>"}}
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
|
{%- for message in messages %}
|
||||||
|
{%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
|
||||||
|
{{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }}
|
||||||
|
{%- elif 'tool_calls' in message %}
|
||||||
|
{%- if not message.tool_calls|length == 1 %}
|
||||||
|
{{- raise_exception("This model only supports single tool-calls at once!") }}
|
||||||
|
{%- endif %}
|
||||||
|
{%- set tool_call = message.tool_calls[0].function %}
|
||||||
|
{%- if builtin_tools is defined and tool_call.name in builtin_tools %}
|
||||||
|
{{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
|
||||||
|
{{- "<|python_tag|>" + tool_call.name + ".call(" }}
|
||||||
|
{%- for arg_name, arg_val in tool_call.arguments | items %}
|
||||||
|
{{- arg_name + '="' + arg_val + '"' }}
|
||||||
|
{%- if not loop.last %}
|
||||||
|
{{- ", " }}
|
||||||
|
{%- endif %}
|
||||||
|
{%- endfor %}
|
||||||
|
{{- ")" }}
|
||||||
|
{%- else %}
|
||||||
|
{{- '<|start_header_id|>assistant<|end_header_id|>\n\n' -}}
|
||||||
|
{{- '{"name": "' + tool_call.name + '", ' }}
|
||||||
|
{{- '"parameters": ' }}
|
||||||
|
{{- tool_call.arguments | tojson }}
|
||||||
|
{{- "}" }}
|
||||||
|
{%- endif %}
|
||||||
|
{%- if builtin_tools is defined %}
|
||||||
|
{#- This means we're in ipython mode #}
|
||||||
|
{{- "<|eom_id|>" }}
|
||||||
|
{%- else %}
|
||||||
|
{{- "<|eot_id|>" }}
|
||||||
|
{%- endif %}
|
||||||
|
{%- elif message.role == "tool" or message.role == "ipython" %}
|
||||||
|
{{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }}
|
||||||
|
{%- if message.content is mapping or message.content is iterable %}
|
||||||
|
{{- message.content | tojson }}
|
||||||
|
{%- else %}
|
||||||
|
{{- message.content }}
|
||||||
|
{%- endif %}
|
||||||
|
{{- "<|eot_id|>" }}
|
||||||
|
{%- endif %}
|
||||||
|
{%- endfor %}
|
||||||
|
{%- if add_generation_prompt %}
|
||||||
|
{{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}
|
||||||
|
{%- endif %}
|
||||||
171
config.json
Normal file
171
config.json
Normal file
@@ -0,0 +1,171 @@
|
|||||||
|
{
|
||||||
|
"architectures": [
|
||||||
|
"LlamaForCausalLM"
|
||||||
|
],
|
||||||
|
"attention_bias": false,
|
||||||
|
"attention_dropout": 0.0,
|
||||||
|
"bos_token_id": 128000,
|
||||||
|
"eos_token_id": [
|
||||||
|
128001,
|
||||||
|
128008,
|
||||||
|
128009
|
||||||
|
],
|
||||||
|
"head_dim": 128,
|
||||||
|
"hidden_act": "silu",
|
||||||
|
"hidden_size": 4096,
|
||||||
|
"initializer_range": 0.02,
|
||||||
|
"intermediate_size": 14336,
|
||||||
|
"max_position_embeddings": 131072,
|
||||||
|
"mlp_bias": false,
|
||||||
|
"model_type": "llama",
|
||||||
|
"num_attention_heads": 32,
|
||||||
|
"num_hidden_layers": 32,
|
||||||
|
"num_key_value_heads": 8,
|
||||||
|
"pad_token_id": 128001,
|
||||||
|
"pretraining_tp": 1,
|
||||||
|
"rms_norm_eps": 1e-05,
|
||||||
|
"tie_word_embeddings": false,
|
||||||
|
"transformers_version": "4.55.0",
|
||||||
|
"use_cache": true,
|
||||||
|
"vocab_size": 128384,
|
||||||
|
"rope_scaling": {
|
||||||
|
"factor": 16.0,
|
||||||
|
"long_factor": [
|
||||||
|
1.0700000524520874,
|
||||||
|
1.100000023841858,
|
||||||
|
1.1399999856948853,
|
||||||
|
1.1399999856948853,
|
||||||
|
1.149999976158142,
|
||||||
|
1.159999966621399,
|
||||||
|
1.159999966621399,
|
||||||
|
1.1799999475479126,
|
||||||
|
1.1799999475479126,
|
||||||
|
1.1899999380111694,
|
||||||
|
1.2299998998641968,
|
||||||
|
1.2299998998641968,
|
||||||
|
1.2999998331069946,
|
||||||
|
1.3799998760223389,
|
||||||
|
1.429999828338623,
|
||||||
|
1.4399996995925903,
|
||||||
|
1.869999647140503,
|
||||||
|
1.9199997186660767,
|
||||||
|
1.9399996995925903,
|
||||||
|
2.3799996376037598,
|
||||||
|
2.4599997997283936,
|
||||||
|
2.499999761581421,
|
||||||
|
2.9099998474121094,
|
||||||
|
3.2799994945526123,
|
||||||
|
3.8399994373321533,
|
||||||
|
4.589999198913574,
|
||||||
|
4.739999771118164,
|
||||||
|
4.800000190734863,
|
||||||
|
5.260000228881836,
|
||||||
|
5.260000228881836,
|
||||||
|
6.310000419616699,
|
||||||
|
8.330000877380371,
|
||||||
|
9.209999084472656,
|
||||||
|
9.889999389648438,
|
||||||
|
10.729999542236328,
|
||||||
|
11.369999885559082,
|
||||||
|
13.589999198913574,
|
||||||
|
13.589999198913574,
|
||||||
|
15.479998588562012,
|
||||||
|
15.479998588562012,
|
||||||
|
15.489999771118164,
|
||||||
|
15.899998664855957,
|
||||||
|
15.989998817443848,
|
||||||
|
16.049999237060547,
|
||||||
|
16.10999870300293,
|
||||||
|
16.10999870300293,
|
||||||
|
16.1299991607666,
|
||||||
|
16.170000076293945,
|
||||||
|
16.190000534057617,
|
||||||
|
16.200000762939453,
|
||||||
|
16.200000762939453,
|
||||||
|
16.30000114440918,
|
||||||
|
16.329999923706055,
|
||||||
|
16.329999923706055,
|
||||||
|
16.34000015258789,
|
||||||
|
16.530000686645508,
|
||||||
|
16.64000129699707,
|
||||||
|
16.68000030517578,
|
||||||
|
16.700000762939453,
|
||||||
|
16.700002670288086,
|
||||||
|
16.790002822875977,
|
||||||
|
16.800003051757812,
|
||||||
|
16.800003051757812,
|
||||||
|
17.01000213623047
|
||||||
|
],
|
||||||
|
"original_max_position_embeddings": 8192,
|
||||||
|
"rope_type": "longrope",
|
||||||
|
"short_factor": [
|
||||||
|
1.0700000524520874,
|
||||||
|
1.100000023841858,
|
||||||
|
1.1399999856948853,
|
||||||
|
1.1399999856948853,
|
||||||
|
1.149999976158142,
|
||||||
|
1.159999966621399,
|
||||||
|
1.159999966621399,
|
||||||
|
1.1799999475479126,
|
||||||
|
1.1799999475479126,
|
||||||
|
1.1899999380111694,
|
||||||
|
1.2299998998641968,
|
||||||
|
1.2299998998641968,
|
||||||
|
1.2999998331069946,
|
||||||
|
1.3799998760223389,
|
||||||
|
1.429999828338623,
|
||||||
|
1.4399996995925903,
|
||||||
|
1.869999647140503,
|
||||||
|
1.9199997186660767,
|
||||||
|
1.9399996995925903,
|
||||||
|
2.3799996376037598,
|
||||||
|
2.4599997997283936,
|
||||||
|
2.499999761581421,
|
||||||
|
2.9099998474121094,
|
||||||
|
3.2799994945526123,
|
||||||
|
3.8399994373321533,
|
||||||
|
4.589999198913574,
|
||||||
|
4.739999771118164,
|
||||||
|
4.800000190734863,
|
||||||
|
5.260000228881836,
|
||||||
|
5.260000228881836,
|
||||||
|
6.310000419616699,
|
||||||
|
8.330000877380371,
|
||||||
|
9.209999084472656,
|
||||||
|
9.889999389648438,
|
||||||
|
10.729999542236328,
|
||||||
|
11.369999885559082,
|
||||||
|
13.589999198913574,
|
||||||
|
13.589999198913574,
|
||||||
|
15.479998588562012,
|
||||||
|
15.479998588562012,
|
||||||
|
15.489999771118164,
|
||||||
|
15.899998664855957,
|
||||||
|
15.989998817443848,
|
||||||
|
16.049999237060547,
|
||||||
|
16.10999870300293,
|
||||||
|
16.10999870300293,
|
||||||
|
16.1299991607666,
|
||||||
|
16.170000076293945,
|
||||||
|
16.190000534057617,
|
||||||
|
16.200000762939453,
|
||||||
|
16.200000762939453,
|
||||||
|
16.30000114440918,
|
||||||
|
16.329999923706055,
|
||||||
|
16.329999923706055,
|
||||||
|
16.34000015258789,
|
||||||
|
16.530000686645508,
|
||||||
|
16.64000129699707,
|
||||||
|
16.68000030517578,
|
||||||
|
16.700000762939453,
|
||||||
|
16.700002670288086,
|
||||||
|
16.790002822875977,
|
||||||
|
16.800003051757812,
|
||||||
|
16.800003051757812,
|
||||||
|
17.01000213623047
|
||||||
|
],
|
||||||
|
"type": "longrope"
|
||||||
|
},
|
||||||
|
"rope_theta": 500000,
|
||||||
|
"torch_dtype": "bfloat16"
|
||||||
|
}
|
||||||
14
generation_config.json
Normal file
14
generation_config.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"_from_model_config": true,
|
||||||
|
"bos_token_id": 128000,
|
||||||
|
"eos_token_id": [
|
||||||
|
128001,
|
||||||
|
128008,
|
||||||
|
128009
|
||||||
|
],
|
||||||
|
"output_attentions": false,
|
||||||
|
"output_hidden_states": false,
|
||||||
|
"pad_token_id": 128001,
|
||||||
|
"transformers_version": "5.3.0.dev0",
|
||||||
|
"use_cache": true
|
||||||
|
}
|
||||||
3
model-00001-of-00004.safetensors
Normal file
3
model-00001-of-00004.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fa7d59c0fc1b6be7b54b6e6c6e66ebadd712ce5106fb4e642c7f87f543dc99dc
|
||||||
|
size 4977747248
|
||||||
3
model-00002-of-00004.safetensors
Normal file
3
model-00002-of-00004.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:49e1c964a7e9c793fbfdb038dbcf14c8cf52a744f3a19bf29094477d7455dc7e
|
||||||
|
size 4999802720
|
||||||
3
model-00003-of-00004.safetensors
Normal file
3
model-00003-of-00004.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b7f2175431b8285f5a2681b2b610f68728f08f26168b112a7db3e1b7b1351593
|
||||||
|
size 4915916176
|
||||||
3
model-00004-of-00004.safetensors
Normal file
3
model-00004-of-00004.safetensors
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:01134ae380288ec8a4841b41aeaf4c7f1f6d9cc37ab4b9c8472f0daf947444bc
|
||||||
|
size 1169187384
|
||||||
298
model.safetensors.index.json
Normal file
298
model.safetensors.index.json
Normal file
@@ -0,0 +1,298 @@
|
|||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"total_size": 16062619648
|
||||||
|
},
|
||||||
|
"weight_map": {
|
||||||
|
"lm_head.weight": "model-00004-of-00004.safetensors",
|
||||||
|
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.18.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.18.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.18.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.19.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.19.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.19.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.19.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.19.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.19.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.19.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.19.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.19.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.20.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.20.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.20.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.20.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.20.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.28.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.28.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.28.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.28.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.28.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.28.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.28.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.28.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.28.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.29.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.29.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.29.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.29.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.29.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.29.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.29.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.29.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.29.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.30.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.30.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.30.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.30.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.30.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.30.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.30.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.30.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.30.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.31.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
||||||
|
"model.layers.31.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
||||||
|
"model.layers.31.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.31.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.31.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
||||||
|
"model.layers.31.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.31.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.31.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.31.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||||
|
"model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.8.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.8.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.8.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.8.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.8.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||||
|
"model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||||
|
"model.norm.weight": "model-00004-of-00004.safetensors"
|
||||||
|
}
|
||||||
|
}
|
||||||
16
special_tokens_map.json
Normal file
16
special_tokens_map.json
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
}
|
||||||
3
tokenizer.json
Normal file
3
tokenizer.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cb67830d354f29161d757b3ec7b11a5e273844c05edc6d21e82ed226eee4232d
|
||||||
|
size 17210289
|
||||||
2078
tokenizer_config.json
Normal file
2078
tokenizer_config.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user