Sync model (SHA: 16768563ad8b1274bcdac24e8f12a6a3cfdf55e7)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +6 -0
- LICENSE +37 -0
- OPEN SOURCE SOFTWARE NOTICE +218 -0
- README.md +69 -0
- README_EN.md +73 -0
- config.json +56 -0
- configuration_openpangu_v2.py +191 -0
- generation_config.json +7 -0
- model-00001.safetensors +3 -0
- model-00002.safetensors +3 -0
- model-00003.safetensors +3 -0
- model-00004.safetensors +3 -0
- model-00005.safetensors +3 -0
- model-00006.safetensors +3 -0
- model-00007.safetensors +3 -0
- model-00008.safetensors +3 -0
- model-00009.safetensors +3 -0
- model-00010.safetensors +3 -0
- model-00011.safetensors +3 -0
- model-00012.safetensors +3 -0
- model-00013.safetensors +3 -0
- model-00014.safetensors +3 -0
- model-00015.safetensors +3 -0
- model-00016.safetensors +3 -0
- model-00017.safetensors +3 -0
- model-00018.safetensors +3 -0
- model-00019.safetensors +3 -0
- model-00020.safetensors +3 -0
- model-00021.safetensors +3 -0
- model-00022.safetensors +3 -0
- model-00023.safetensors +3 -0
- model-00024.safetensors +3 -0
- model-00025.safetensors +3 -0
- model-00026.safetensors +3 -0
- model-00027.safetensors +3 -0
- model-00028.safetensors +3 -0
- model-00029.safetensors +3 -0
- model-00030.safetensors +3 -0
- model-00031.safetensors +3 -0
- model-00032.safetensors +3 -0
- model-00033.safetensors +3 -0
- model-00034.safetensors +3 -0
- model-00035.safetensors +3 -0
- model-00036.safetensors +3 -0
- model-00037.safetensors +3 -0
- model-00038.safetensors +3 -0
- model-00039.safetensors +3 -0
- model-00040.safetensors +3 -0
- model-00041.safetensors +3 -0
- model-00042.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.cms filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.modelenc filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*.hwp7s filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
model.safetensors.index.json filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
OpenPangu Model License Agreement Version 2.0
|
| 2 |
+
|
| 3 |
+
This OpenPangu Model License Agreement Version 2.0 (the "Agreement") is a legal agreement between You and Huawei Technologies Co., Ltd. ("Huawei", "We" or "Us"), and it governs Your reproducing, use, modification, and distribution of openPangu as made available by Huawei under this Agreement.
|
| 4 |
+
|
| 5 |
+
By using, reproducing, modifying, distributing, performing or displaying any portion or element of openPangu, or otherwise accepting the terms of this Agreement, You agree to be bound by this Agreement.
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
1.1. “openPangu” or “Model” means openPangu large language models and software, including trained model weights, parameters (including optimizer states), accompanying source code and scripts released under this Agreement.
|
| 9 |
+
1.2. “Derivative Model” means all (1) modifications to the Model, (2) works based on the Model, and (3) any other derivative works of the Model. For clarity, information or content results from operating or otherwise using the Model is not a Derivative Model.
|
| 10 |
+
1.3. “You” or “Your” means an individual or Legal Entity exercising permissions granted by this Agreement and/or using the Model for any purpose.
|
| 11 |
+
1.4. “Third Party” or “Third Parties” means individuals or legal entities that are not under common control with Us or You.
|
| 12 |
+
|
| 13 |
+
2. License Grant. Subject to Your full compliance with the terms and conditions of this Agreement, We hereby grant to You a perpetual, worldwide, non-exclusive, non-transferable, no-charge, royalty-free license (except as stated in Section 3) to use, reproduce, modify, and distribute the Model.
|
| 14 |
+
|
| 15 |
+
3. Conditions for License Grant.
|
| 16 |
+
3.1. You represent and warrant that You will not, access, download, install, run, deploy, integrate, modify, or otherwise use the Model, directly or indirectly, within the European Union.
|
| 17 |
+
3.2. If You initiate any copyright or patent litigation against any entity (including filing a cross-claim or counterclaim in such litigation), alleging that this Model or Derivative Models constitute direct or indirect copyright or patent infringement, then any license granted to You under this Agreement for the Model or Derivative Models shall terminate as of the date the aforementioned litigation is filed.
|
| 18 |
+
|
| 19 |
+
4. Redistribution.
|
| 20 |
+
4.1. If You distribute the Model or Derivative Model, You shall retain in Your distribution (1) a copy of this agreement, and (2) all copyright notices and other notices of origin included in the Model that are applicable to Your distribution.
|
| 21 |
+
4.2. Further, if You distribute or make available to Third Parties a product or service (including another AI model) based on the Model, You are required to (1) display the acknowledgement “Powered by openPangu” and (2) include a trademark notice “openPangu is a trademark of Huawei Technologies Co., Ltd.” on related webpages, user manuals, product documentations or other advertising materials mentioning features of the Model.
|
| 22 |
+
4.3. 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 Derivative Model made by You as a whole, provided Your use, reproduction, and distribution of the Model otherwise complies with the terms and conditions of this Agreement.
|
| 23 |
+
|
| 24 |
+
5. Ownership. We do not claim ownership to any information or content generated using the Model or Derivative Model that are made by You. You are solely responsible for evaluating the accuracy and appropriateness of such information or content for Your use case.
|
| 25 |
+
|
| 26 |
+
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of Huawei, except as required for complying with Section 4.2.
|
| 27 |
+
|
| 28 |
+
7. Indemnity. You will indemnify and hold harmless Huawei from and against any claim by any third party arising out of or related to Your use or distribution of the Model or Derivative Model made by You (e.g. a violation against Section 3). For avoidance of doubt, “third party” in this clause include supervisory authorities.
|
| 29 |
+
|
| 30 |
+
8. THE MODEL IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, NONINFRINGEMENT, ACCURACY, OR THE ABSENCE OF LATENT OR OTHER DEFECTS OR ERRORS, WHETHER OR NOT DISCOVERABLE, ALL TO THE GREATEST EXTENT PERMISSIBLE UNDER APPLICABLE LAW.
|
| 31 |
+
|
| 32 |
+
9. IN NO EVENT SHALL WE BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING FROM YOUR USE OR INABILITY TO USE THE MODEL, IN WHOLE OR IN PART, NO MATTER HOW IT’S CAUSED OR THE LEGAL THEORY IT IS BASED ON, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
| 33 |
+
|
| 34 |
+
10. HUAWEI MAY UPDATE THIS AGREEMENT AT ANY TIME TO COMPLY WITH LEGAL AND REGULATORY REQUIREMENTS, AND YOU AGREE TO ABIDE BY ANY UPDATED LICENSE OR TO CEASE COPYING, USING, MODIFYING AND DISTRIBUTING THIS MODEL AND ANY DERIVATIVE MODELS.
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
END OF THE TERMS AND CONDITIONS
|
OPEN SOURCE SOFTWARE NOTICE
ADDED
|
@@ -0,0 +1,218 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
OPEN SOURCE SOFTWARE NOTICE
|
| 2 |
+
|
| 3 |
+
Please note we provide an open source software notice along with this product and/or this product firmware (in the following just “this product”). The open source software licenses are granted by the respective right holders. And the open source licenses prevail all other license information with regard to the respective open source software contained in the product, including but not limited to End User Software Licensing Agreement. This notice is provided on behalf of Huawei Technologies Co. Ltd. and any of its local subsidiaries which may have provided this product to you in your local country.
|
| 4 |
+
|
| 5 |
+
Warranty Disclaimer
|
| 6 |
+
THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
|
| 7 |
+
|
| 8 |
+
Copyright Notice and License Texts
|
| 9 |
+
|
| 10 |
+
Software: transformers 5.0.0
|
| 11 |
+
Copyright notice:
|
| 12 |
+
Copyright 2022 EleutherAI and the HuggingFace Inc. team. All rights reserved.
|
| 13 |
+
|
| 14 |
+
License Text:
|
| 15 |
+
----------------------------------------
|
| 16 |
+
|
| 17 |
+
Apache License
|
| 18 |
+
Version 2.0, January 2004
|
| 19 |
+
http://www.apache.org/licenses/
|
| 20 |
+
|
| 21 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 22 |
+
|
| 23 |
+
1. Definitions.
|
| 24 |
+
|
| 25 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 26 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 27 |
+
|
| 28 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 29 |
+
the copyright owner that is granting the License.
|
| 30 |
+
|
| 31 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 32 |
+
other entities that control, are controlled by, or are under common
|
| 33 |
+
control with that entity. For the purposes of this definition,
|
| 34 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 35 |
+
direction or management of such entity, whether by contract or
|
| 36 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 37 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 38 |
+
|
| 39 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 40 |
+
exercising permissions granted by this License.
|
| 41 |
+
|
| 42 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 43 |
+
including but not limited to software source code, documentation
|
| 44 |
+
source, and configuration files.
|
| 45 |
+
|
| 46 |
+
"Object" form shall mean any form resulting from mechanical
|
| 47 |
+
transformation or translation of a Source form, including but
|
| 48 |
+
not limited to compiled object code, generated documentation,
|
| 49 |
+
and conversions to other media types.
|
| 50 |
+
|
| 51 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 52 |
+
Object form, made available under the License, as indicated by a
|
| 53 |
+
copyright notice that is included in or attached to the work
|
| 54 |
+
(an example is provided in the Appendix below).
|
| 55 |
+
|
| 56 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 57 |
+
form, that is based on (or derived from) the Work and for which the
|
| 58 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 59 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 60 |
+
of this License, Derivative Works shall not include works that remain
|
| 61 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 62 |
+
the Work and Derivative Works thereof.
|
| 63 |
+
|
| 64 |
+
"Contribution" shall mean any work of authorship, including
|
| 65 |
+
the original version of the Work and any modifications or additions
|
| 66 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 67 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 68 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 69 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 70 |
+
means any form of electronic, verbal, or written communication sent
|
| 71 |
+
to the Licensor or its representatives, including but not limited to
|
| 72 |
+
communication on electronic mailing lists, source code control systems,
|
| 73 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 74 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 75 |
+
excluding communication that is conspicuously marked or otherwise
|
| 76 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 77 |
+
|
| 78 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 79 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 80 |
+
subsequently incorporated within the Work.
|
| 81 |
+
|
| 82 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 83 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 84 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 85 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 86 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 87 |
+
Work and such Derivative Works in Source or Object form.
|
| 88 |
+
|
| 89 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 90 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 91 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 92 |
+
(except as stated in this section) patent license to make, have made,
|
| 93 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 94 |
+
where such license applies only to those patent claims licensable
|
| 95 |
+
by such Contributor that are necessarily infringed by their
|
| 96 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 97 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 98 |
+
institute patent litigation against any entity (including a
|
| 99 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 100 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 101 |
+
or contributory patent infringement, then any patent licenses
|
| 102 |
+
granted to You under this License for that Work shall terminate
|
| 103 |
+
as of the date such litigation is filed.
|
| 104 |
+
|
| 105 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 106 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 107 |
+
modifications, and in Source or Object form, provided that You
|
| 108 |
+
meet the following conditions:
|
| 109 |
+
|
| 110 |
+
(a) You must give any other recipients of the Work or
|
| 111 |
+
Derivative Works a copy of this License; and
|
| 112 |
+
|
| 113 |
+
(b) You must cause any modified files to carry prominent notices
|
| 114 |
+
stating that You changed the files; and
|
| 115 |
+
|
| 116 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 117 |
+
that You distribute, all copyright, patent, trademark, and
|
| 118 |
+
attribution notices from the Source form of the Work,
|
| 119 |
+
excluding those notices that do not pertain to any part of
|
| 120 |
+
the Derivative Works; and
|
| 121 |
+
|
| 122 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 123 |
+
distribution, then any Derivative Works that You distribute must
|
| 124 |
+
include a readable copy of the attribution notices contained
|
| 125 |
+
within such NOTICE file, excluding those notices that do not
|
| 126 |
+
pertain to any part of the Derivative Works, in at least one
|
| 127 |
+
of the following places: within a NOTICE text file distributed
|
| 128 |
+
as part of the Derivative Works; within the Source form or
|
| 129 |
+
documentation, if provided along with the Derivative Works; or,
|
| 130 |
+
within a display generated by the Derivative Works, if and
|
| 131 |
+
wherever such third-party notices normally appear. The contents
|
| 132 |
+
of the NOTICE file are for informational purposes only and
|
| 133 |
+
do not modify the License. You may add Your own attribution
|
| 134 |
+
notices within Derivative Works that You distribute, alongside
|
| 135 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 136 |
+
that such additional attribution notices cannot be construed
|
| 137 |
+
as modifying the License.
|
| 138 |
+
|
| 139 |
+
You may add Your own copyright statement to Your modifications and
|
| 140 |
+
may provide additional or different license terms and conditions
|
| 141 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 142 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 143 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 144 |
+
the conditions stated in this License.
|
| 145 |
+
|
| 146 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 147 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 148 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 149 |
+
this License, without any additional terms or conditions.
|
| 150 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 151 |
+
the terms of any separate license agreement you may have executed
|
| 152 |
+
with Licensor regarding such Contributions.
|
| 153 |
+
|
| 154 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 155 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 156 |
+
except as required for reasonable and customary use in describing the
|
| 157 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 158 |
+
|
| 159 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 160 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 161 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 162 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 163 |
+
implied, including, without limitation, any warranties or conditions
|
| 164 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 165 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 166 |
+
appropriateness of using or redistributing the Work and assume any
|
| 167 |
+
risks associated with Your exercise of permissions under this License.
|
| 168 |
+
|
| 169 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 170 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 171 |
+
unless required by applicable law (such as deliberate and grossly
|
| 172 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 173 |
+
liable to You for damages, including any direct, indirect, special,
|
| 174 |
+
incidental, or consequential damages of any character arising as a
|
| 175 |
+
result of this License or out of the use or inability to use the
|
| 176 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 177 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 178 |
+
other commercial damages or losses), even if such Contributor
|
| 179 |
+
has been advised of the possibility of such damages.
|
| 180 |
+
|
| 181 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 182 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 183 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 184 |
+
or other liability obligations and/or rights consistent with this
|
| 185 |
+
License. However, in accepting such obligations, You may act only
|
| 186 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 187 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 188 |
+
defend, and hold each Contributor harmless for any liability
|
| 189 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 190 |
+
of your accepting any such warranty or additional liability.
|
| 191 |
+
|
| 192 |
+
END OF TERMS AND CONDITIONS
|
| 193 |
+
|
| 194 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 195 |
+
|
| 196 |
+
To apply the Apache License to your work, attach the following
|
| 197 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 198 |
+
replaced with your own identifying information. (Don't include
|
| 199 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 200 |
+
comment syntax for the file format. We also recommend that a
|
| 201 |
+
file or class name and description of purpose be included on the
|
| 202 |
+
same "printed page" as the copyright notice for easier
|
| 203 |
+
identification within third-party archives.
|
| 204 |
+
|
| 205 |
+
Copyright [yyyy] [name of copyright owner]
|
| 206 |
+
|
| 207 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 208 |
+
you may not use this file except in compliance with the License.
|
| 209 |
+
You may obtain a copy of the License at
|
| 210 |
+
|
| 211 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 212 |
+
|
| 213 |
+
Unless required by applicable law or agreed to in writing, software
|
| 214 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 215 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 216 |
+
See the License for the specific language governing permissions and
|
| 217 |
+
limitations under the License.
|
| 218 |
+
|
README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# openPangu-2.0-Flash
|
| 2 |
+
中文 | [English](https://ai.gitcode.com/ascend-tribe/openPangu-2.0-Flash/blob/main/README_EN.md)
|
| 3 |
+
|
| 4 |
+
## 1. 简介
|
| 5 |
+
openPangu-2.0-Flash 是基于昇腾 NPU 训练的大规模混合专家(MoE)语言模型,参数规模约 92B,每 token 激活参数规模约 6B,模型支持 512k 上下文长度,训练数据总量约34T tokens。后训练阶段完成快慢合一微调(SFT)、多专项强化学习(RL),并通过在线蒸馏(OPD)完成能力合一。
|
| 6 |
+
|
| 7 |
+
## 2. 模型架构
|
| 8 |
+
openPangu-2.0-Flash 在模型架构上实现了全面的升级:
|
| 9 |
+
|
| 10 |
+
- Attention架构:沿用高效 MLA,并采用 DSA+SWA 独立分层混合架构,层配比为 1:2;SWA 层负责局部窗口建模,DSA 层负责稀疏全局聚合,在保持精度的同时显著降低长序列推理的计算、显存与访存开销。
|
| 11 |
+
- 拓扑架构:将传统残差连接升级为 4 支流 mHC 架构,提升表征多样性与泛化能力。
|
| 12 |
+
- 自投机模块:采用 3 头 MTP 架构,一次额外预测 3 个 token,显著提升模型的推理速度。
|
| 13 |
+
- Muon优化器:训练中采用Muon优化器,获得更快的收敛速度。
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
## 3. 测评结果
|
| 18 |
+
|
| 19 |
+
| 测评集 | 测评指标 | openPangu-2.0-Flash-Thinking | openPangu-2.0-Flash-Non-Thinking |
|
| 20 |
+
|:------------------|:----------------------------:|:-----:|:-----:|
|
| 21 |
+
| **通用能力** | | | |
|
| 22 |
+
| CL-Bench | Acc | 20.4 | 15.5 |
|
| 23 |
+
| IFEval | Prompt Strict | 95.9 | 89.3 |
|
| 24 |
+
| IFBench | Prompt Strict | 79.6 | 54.4 |
|
| 25 |
+
| AgentIF | (CSR+ISR)/2 | 44.9 | 43.9 |
|
| 26 |
+
| SysBench | ISR | 91.1 | 87.9 |
|
| 27 |
+
| Multichallenge | Acc | 68.4 | 51.9 |
|
| 28 |
+
| **推理能力** | | | |
|
| 29 |
+
| AIME 2026 | Avg@16 | 93.3 | 86.5 |
|
| 30 |
+
|  - w/ Python | Avg@16 | 98.1 | - |
|
| 31 |
+
| HMMT Feb 2025 | Avg@16 | 91.5 | 67.1 |
|
| 32 |
+
|  - w/ Python | Avg@16 | 96.9 | - |
|
| 33 |
+
| IMO-AnswerBench | Acc | 76.5 | 62.3 |
|
| 34 |
+
|  - w/ Python | Acc | 80.8 | - |
|
| 35 |
+
| BBEH | Harmonic Mean | 62.5 | 51.5 |
|
| 36 |
+
| GPQA-Diamond | Avg@4 | 83.7 | 79.8 |
|
| 37 |
+
| **Agent能力** | | | |
|
| 38 |
+
| BrowseComp | Acc | 57.0 | - |
|
| 39 |
+
| SkillsBench | Avg@5 | 42.6 | 40.0 |
|
| 40 |
+
| PinchBench | Avg@3 | 85.6 | 82.5 |
|
| 41 |
+
| Claw-Eval | Pass^3 | 57.7 | 58.2 |
|
| 42 |
+
| WildClawBench | Avg@3 | 41.5 | 35.0 |
|
| 43 |
+
| MCP-Atlas | Acc | 58.9 | 47.9 |
|
| 44 |
+
| TAU2-Bench | Avg@3 | 88.0 | 74.0 |
|
| 45 |
+
| **代码能力** | | | |
|
| 46 |
+
| LiveCodeBench V6 | Avg@3 | 85.1 | 50.9 |
|
| 47 |
+
| DeepCodeBench | Avg@3 | 76.5 | 70.9 |
|
| 48 |
+
| SWE-bench Verified | Avg@3 | 63.1 | 57.6 |
|
| 49 |
+
| FeatBench | Avg@3 | 45.9 | 45.8 |
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
## 4. 部署和使用
|
| 56 |
+
- 使用omni-infer推理框架,部署方式参考[[openPangu-2.0-Flash部署说明](https://gitcode.com/ascend-tribe/openPangu-2.0-Infer/blob/main/README.md)]
|
| 57 |
+
- 源码仓:[[openPangu-2.0-Infer]](https://gitcode.com/ascend-tribe/openPangu-2.0-Infer)
|
| 58 |
+
|
| 59 |
+
## 5. 模型许可证
|
| 60 |
+
除文件中对开源许可证另有约定外,openPangu-2.0-Flash 模型根据 OPENPANGU MODEL LICENSE AGREEMENT VERSION 2.0 授权,旨在允许使用并促进人工智能技术的进一步发展。有关详细信息,请参阅模型存储库根目录中的 [LICENSE](LICENSE) 文件。
|
| 61 |
+
|
| 62 |
+
## 6. 免责声明
|
| 63 |
+
由于 openPangu-2.0-Flash (“模型”)所依赖的技术固有的限制,以及人工智能生成的内容是由模型自动生成的,华为无法对以下事项做出任何保证:
|
| 64 |
+
- 该模型的输出通过AI算法自动生成,不能排除某些信息可能存在缺陷、不合理或引起不适的可能性,生成的内容不代表华为的态度或立场;
|
| 65 |
+
- 无法保证该模型100%准确、可靠、功能齐全、及时、安全、无错误、不间断、持续稳定或无任何故障;
|
| 66 |
+
- 该模型的输出内容不构成任何建议或决策,也不保证生成的内容的真实性、完整性、准确性、及时性、合法性、功能性或实用性。生成的内容不能替代医疗、法律等领域的专业人士回答您的问题。生成的内容仅供参考,不代表华为的任何态度、立场或观点。您需要根据实际情况做出独立判断,华为不承担任何责任。
|
| 67 |
+
|
| 68 |
+
## 7. 反馈
|
| 69 |
+
如果有任何意见和建议,请提交issue或联系[openPangu@huawei.com](url)。
|
README_EN.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# openPangu-2.0-Flash
|
| 2 |
+
[中文](README.md) | English
|
| 3 |
+
|
| 4 |
+
## 1. Introduction
|
| 5 |
+
openPangu-2.0-Flash is an MoE model trained on Ascend. The model has 92B total parameters and 6B activated parameters. Its context length is 512k. The total pretraining data contains 34T tokens. During Post-training, openPangu-2.0-Flash is trained through unified SFT with slow and fast thinking capability, multiple specialist RL traning, on-policy distillation combining multiple RL specialists.
|
| 6 |
+
|
| 7 |
+
## 2. Architecture
|
| 8 |
+
openPangu-2.0-Flash brings several major architectural improvements:
|
| 9 |
+
|
| 10 |
+
- Efficient attention: The model retains MLA for efficient inference and combines DSA and SWA in a 1:2 layer ratio. SWA layers handle local-window modeling, while DSA layers capture sparse global context. This design lowers compute, memory footprint, and memory access costs for long-context inference while preserving accuracy.
|
| 11 |
+
- Residual topology: The conventional residual path is replaced with a 4-stream mHC design, improving representation diversity and generalization.
|
| 12 |
+
- Multi-token prediction (MTP): The model uses three MTP heads to draft 3 additional tokens per step, enabling faster inference through self-speculative decoding.
|
| 13 |
+
- Optimizer: Training uses the Muon optimizer for faster convergence.
|
| 14 |
+
|
| 15 |
+
## 3. Evaluation Results
|
| 16 |
+
|
| 17 |
+
| Benchmark | Metric | openPangu-2.0-Flash-Thinking | openPangu-2.0-Flash-Non-Thinking |
|
| 18 |
+
|:------------------|:----------------------------:|:-----:|:-----:|
|
| 19 |
+
| **General** | | | |
|
| 20 |
+
| CL-Bench | Acc | 20.4 | 15.5 |
|
| 21 |
+
| IFEval | Prompt Strict | 95.9 | 89.3 |
|
| 22 |
+
| IFBench | Prompt Strict | 79.6 | 54.4 |
|
| 23 |
+
| AgentIF | (CSR+ISR)/2 | 44.9 | 43.9 |
|
| 24 |
+
| SysBench | ISR | 91.1 | 87.9 |
|
| 25 |
+
| Multichallenge | Acc | 68.4 | 51.9 |
|
| 26 |
+
| **Reasoning** | | | |
|
| 27 |
+
| AIME 2026 | Avg@16 | 93.3 | 86.5 |
|
| 28 |
+
|  - w/ Python | Avg@16 | 98.1 | - |
|
| 29 |
+
| HMMT Feb 2025 | Avg@16 | 91.5 | 67.1 |
|
| 30 |
+
|  - w/ Python | Avg@16 | 96.9 | - |
|
| 31 |
+
| IMO-AnswerBench | Acc | 76.5 | 62.3 |
|
| 32 |
+
|  - w/ Python | Acc | 80.8 | - |
|
| 33 |
+
| BBEH | Harmonic Mean | 62.5 | 51.5 |
|
| 34 |
+
| GPQA-Diamond | Avg@4 | 83.7 | 79.8 |
|
| 35 |
+
| **Agent** | | | |
|
| 36 |
+
| BrowseComp | Acc | 57.0 | - |
|
| 37 |
+
| SkillsBench | Avg@5 | 42.6 | 40.0 |
|
| 38 |
+
| PinchBench | Avg@3 | 85.6 | 82.5 |
|
| 39 |
+
| Claw-Eval | Pass^3 | 57.7 | 58.2 |
|
| 40 |
+
| WildClawBench | Avg@3 | 41.5 | 35.0 |
|
| 41 |
+
| MCP-Atlas | Acc | 58.9 | 47.9 |
|
| 42 |
+
| TAU2-Bench | Avg@3 | 88.0 | 74.0 |
|
| 43 |
+
| **Coding** | | | |
|
| 44 |
+
| LiveCodeBench V6 | Avg@3 | 85.1 | 50.9 |
|
| 45 |
+
| DeepCodeBench | Avg@3 | 76.5 | 70.9 |
|
| 46 |
+
| SWE-bench Verified | Avg@3 | 63.1 | 57.6 |
|
| 47 |
+
| FeatBench | Avg@3 | 45.9 | 45.8 |
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
## 4. Deployment
|
| 56 |
+
- omni-infer:Please refer to [[openPangu-2.0-Flash deploy guide](https://gitcode.com/ascend-tribe/openPangu-2.0-Infer/blob/main/README_EN.md)]
|
| 57 |
+
- source code repo:[[openPangu-2.0-Infer]](https://gitcode.com/ascend-tribe/openPangu-2.0-Infer)
|
| 58 |
+
|
| 59 |
+
## 5. Model License
|
| 60 |
+
Unless otherwise noted, the openPangu-2.0-Flash model is licensed under the terms and conditions of OPENPANGU MODEL LICENSE AGREEMENT VERSION 2.0, which is intended to be used permissively and enable the further development of artificial intelligence technologies. Please refer to the [LICENSE](LICENSE) file located in the root directory of the model repository for details.
|
| 61 |
+
|
| 62 |
+
## 6. Disclaimer
|
| 63 |
+
Due to the technical limitations inherent in the technology on which the openPangu-2.0-Flash model (“Model”) relies and the fact that the artificial intelligence generated content is automatically produced by Model, Huawei cannot make any guarantees regarding the following matters:
|
| 64 |
+
|
| 65 |
+
- The output of this Model is automatically generated via AI algorithms, it does not rule out the possibility that some of the information may be flawed, unreasonable, or cause discomfort, and the generated content does not represent Huawei's attitude or standpoint;
|
| 66 |
+
- There is no guarantee that this Model is 100% accurate, reliable, functional, timely, secure and safety, error-free, uninterrupted, continuously stable, or free of any faults;
|
| 67 |
+
- The output of this Model does not constitute any advices or decisions for you, and it does not guarantee the authenticity, completeness, accuracy, timeliness, legality, functionality, or practicality of the generated content. The generated content cannot replace professionals in medical, legal, and other fields in answering your questions. The generated content is for your reference only and does not represent any attitude, standpoint, or position of Huawei. You need to make independent judgments based on your actual situation, and Huawei does not assume any responsibilities.
|
| 68 |
+
|
| 69 |
+
## 7. Contact
|
| 70 |
+
If you have any question, please raise an issue or contact us at [openPangu@huawei.com](url).
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
|
config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": ["OpenPanguV2ForCausalLM"],
|
| 3 |
+
"attention_dropout": 0.0,
|
| 4 |
+
"auto_map": {
|
| 5 |
+
"AutoConfig": "configuration_openpangu_v2.OpenPanguV2Config"
|
| 6 |
+
},
|
| 7 |
+
"_attn_implementation":"eager",
|
| 8 |
+
"block_post_layernorm_idx": [0, 4, 9, 14, 19, 24, 29, 34, 39],
|
| 9 |
+
"bos_token_id": 148899,
|
| 10 |
+
"dsa_layers": [0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45],
|
| 11 |
+
"dtype": "bfloat16",
|
| 12 |
+
"eos_token_id": 148902,
|
| 13 |
+
"first_k_dense_replace": 2,
|
| 14 |
+
"hidden_act": "silu",
|
| 15 |
+
"hidden_size": 2560,
|
| 16 |
+
"index_head_dim": 128,
|
| 17 |
+
"index_n_heads": 24,
|
| 18 |
+
"index_topk": 2048,
|
| 19 |
+
"intermediate_size": 9216,
|
| 20 |
+
"kv_lora_rank": 512,
|
| 21 |
+
"max_position_embeddings": 524288,
|
| 22 |
+
"mhc_num_stream": 4,
|
| 23 |
+
"mhc_recur_norm": 20,
|
| 24 |
+
"mhc_use_gamma": true,
|
| 25 |
+
"model_type": "openpangu_v2",
|
| 26 |
+
"moe_intermediate_size": 1024,
|
| 27 |
+
"n_routed_experts": 256,
|
| 28 |
+
"n_shared_experts": 1,
|
| 29 |
+
"norm_topk_prob": true,
|
| 30 |
+
"num_attention_heads": 48,
|
| 31 |
+
"num_experts_per_tok": 8,
|
| 32 |
+
"num_hidden_layers": 46,
|
| 33 |
+
"num_nextn_predict_layers": 3,
|
| 34 |
+
"pad_token_id": 148902,
|
| 35 |
+
"param_sink_number": 128,
|
| 36 |
+
"q_lora_rank": 1024,
|
| 37 |
+
"qk_nope_head_dim": 128,
|
| 38 |
+
"qk_rope_head_dim": 64,
|
| 39 |
+
"rms_norm_eps": 1e-05,
|
| 40 |
+
"rope_theta": 6400000,
|
| 41 |
+
"rope_interleave": false,
|
| 42 |
+
"router_enable_expert_bias": true,
|
| 43 |
+
"routed_scaling_factor": 2.5,
|
| 44 |
+
"router_sliding_window": 3,
|
| 45 |
+
"sandwich_norm": true,
|
| 46 |
+
"sliding_window": 512,
|
| 47 |
+
"sliding_window_list": [512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 512, 2048, 2048, 2048],
|
| 48 |
+
"swa_layers": [1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, 22, 23, 25, 26, 28, 29, 31, 32, 34, 35, 37, 38, 40, 41, 43, 44, 46, 47, 48],
|
| 49 |
+
"tie_word_embeddings": false,
|
| 50 |
+
"transformers_version": "5.0.0",
|
| 51 |
+
"use_cache": true,
|
| 52 |
+
"use_mhc": true,
|
| 53 |
+
"use_mome": true,
|
| 54 |
+
"v_head_dim": 128,
|
| 55 |
+
"vocab_size": 151552
|
| 56 |
+
}
|
configuration_openpangu_v2.py
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# coding=utf-8
|
| 2 |
+
# Copyright (c) 2026 Huawei Technologies Co., Ltd. All Rights Reserved.
|
| 3 |
+
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
|
| 4 |
+
#
|
| 5 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 6 |
+
# you may not use this file except in compliance with the License.
|
| 7 |
+
# You may obtain a copy of the License at
|
| 8 |
+
#
|
| 9 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 10 |
+
#
|
| 11 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 12 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 13 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 14 |
+
# See the License for the specific language governing permissions and
|
| 15 |
+
# limitations under the License.
|
| 16 |
+
""" OpenPangu_v2 model configuration"""
|
| 17 |
+
|
| 18 |
+
from transformers.configuration_utils import PretrainedConfig
|
| 19 |
+
from transformers.utils import logging
|
| 20 |
+
|
| 21 |
+
try:
|
| 22 |
+
# transformers >= 5.0 exports RopeParameters as a TypedDict.
|
| 23 |
+
from transformers.modeling_rope_utils import RopeParameters
|
| 24 |
+
except ImportError:
|
| 25 |
+
# transformers < 5.0 has no RopeParameters. Provide a TypedDict with the
|
| 26 |
+
# same fields so the `rope_parameters` annotation still resolves. It is
|
| 27 |
+
# only used for typing -- `rope_parameters` defaults to None and is not
|
| 28 |
+
# exercised by config.json, so this fallback never affects behavior.
|
| 29 |
+
from typing import TypedDict
|
| 30 |
+
|
| 31 |
+
class RopeParameters(TypedDict, total=False):
|
| 32 |
+
rope_theta: float
|
| 33 |
+
rope_type: str | None
|
| 34 |
+
partial_rotary_factor: float | None
|
| 35 |
+
factor: float | None
|
| 36 |
+
original_max_position_embeddings: int | None
|
| 37 |
+
attention_factor: float | None
|
| 38 |
+
beta_fast: float | None
|
| 39 |
+
beta_slow: float | None
|
| 40 |
+
short_factor: list[float] | None
|
| 41 |
+
long_factor: list[float] | None
|
| 42 |
+
low_freq_factor: float | None
|
| 43 |
+
high_freq_factor: float | None
|
| 44 |
+
|
| 45 |
+
logger = logging.get_logger(__name__)
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
class OpenPanguV2Config(PretrainedConfig):
|
| 49 |
+
model_type = "openpangu_v2"
|
| 50 |
+
keys_to_ignore_at_inference = ["past_key_values"]
|
| 51 |
+
|
| 52 |
+
# Default tensor parallel plan for base model `OpenPangu_v2`
|
| 53 |
+
base_model_tp_plan = {
|
| 54 |
+
"layers.*.self_attn.q_proj": "colwise",
|
| 55 |
+
"layers.*.self_attn.k_proj": "colwise",
|
| 56 |
+
"layers.*.self_attn.v_proj": "colwise",
|
| 57 |
+
"layers.*.self_attn.o_proj": "rowwise",
|
| 58 |
+
"layers.*.mlp.gate_proj": "colwise",
|
| 59 |
+
"layers.*.mlp.up_proj": "colwise",
|
| 60 |
+
"layers.*.mlp.down_proj": "rowwise",
|
| 61 |
+
"layers.*.mlp.experts.gate_up_proj": "rowwise",
|
| 62 |
+
"layers.*.mlp.experts.down_proj": "rowwise",
|
| 63 |
+
"layers.*.mlp.shared_experts.gate_proj": "colwise",
|
| 64 |
+
"layers.*.mlp.shared_experts.up_proj": "colwise",
|
| 65 |
+
"layers.*.mlp.shared_experts.down_proj": "rowwise",
|
| 66 |
+
}
|
| 67 |
+
base_model_pp_plan = {
|
| 68 |
+
"embed_tokens": (["input_ids"], ["inputs_embeds"]),
|
| 69 |
+
"layers": (["hidden_states", "attention_mask"], ["hidden_states"]),
|
| 70 |
+
"norm": (["hidden_states"], ["hidden_states"]),
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
def __init__(
|
| 74 |
+
self,
|
| 75 |
+
attention_dropout: float | None = 0.0,
|
| 76 |
+
block_post_layernorm_idx: list[int] | None = None,
|
| 77 |
+
dsa_layers: list[str] | None = None,
|
| 78 |
+
first_k_dense_replace: int | None = 0,
|
| 79 |
+
head_dim: int | None = None,
|
| 80 |
+
hidden_act: str | None = "silu",
|
| 81 |
+
hidden_size: int | None = None,
|
| 82 |
+
index_head_dim: int | None = None,
|
| 83 |
+
index_n_heads: int | None = None,
|
| 84 |
+
index_topk: int | None = None,
|
| 85 |
+
intermediate_size: int | None = None,
|
| 86 |
+
kv_lora_rank: int | None = None,
|
| 87 |
+
layer_types: list[str] | None = None,
|
| 88 |
+
max_position_embeddings: int | None = None,
|
| 89 |
+
mhc_num_stream: int | None = None,
|
| 90 |
+
mhc_recur_norm: int | None = None,
|
| 91 |
+
mhc_use_gamma: bool | None = None,
|
| 92 |
+
moe_intermediate_size: int | None = None,
|
| 93 |
+
n_routed_experts: int | None = None,
|
| 94 |
+
n_shared_experts: int | None = None,
|
| 95 |
+
norm_topk_prob: bool | None = None,
|
| 96 |
+
num_attention_heads: int | None = None,
|
| 97 |
+
num_experts_per_tok: int | None = None,
|
| 98 |
+
num_hidden_layers: int | None = 0,
|
| 99 |
+
num_key_value_heads: int | None = None,
|
| 100 |
+
param_sink_number: int | None = 0,
|
| 101 |
+
q_lora_rank: int | None = None,
|
| 102 |
+
qk_nope_head_dim: int | None = None,
|
| 103 |
+
qk_rope_head_dim: int | None = None,
|
| 104 |
+
rms_norm_eps: float | None = 1e-5,
|
| 105 |
+
rope_interleave: bool | None = False,
|
| 106 |
+
rope_parameters: RopeParameters | dict[str, RopeParameters] | None = None,
|
| 107 |
+
routed_scaling_factor: float | None = None,
|
| 108 |
+
router_sliding_window: int | None = 0,
|
| 109 |
+
sandwich_norm: bool | None = False,
|
| 110 |
+
sliding_window: int | list[int] | None = None,
|
| 111 |
+
swa_layers: list[str] | None = None,
|
| 112 |
+
use_cache: bool | None = True,
|
| 113 |
+
use_mhc: bool | None = False,
|
| 114 |
+
v_head_dim: int | None = None,
|
| 115 |
+
vocab_size: int | None = None,
|
| 116 |
+
**kwargs,
|
| 117 |
+
):
|
| 118 |
+
self.vocab_size = vocab_size
|
| 119 |
+
self.max_position_embeddings = max_position_embeddings
|
| 120 |
+
self.hidden_size = hidden_size
|
| 121 |
+
self.intermediate_size = intermediate_size
|
| 122 |
+
self.moe_intermediate_size = moe_intermediate_size
|
| 123 |
+
self.num_hidden_layers = num_hidden_layers
|
| 124 |
+
self.num_attention_heads = num_attention_heads
|
| 125 |
+
# for backward compatibility
|
| 126 |
+
if num_key_value_heads is None:
|
| 127 |
+
num_key_value_heads = num_attention_heads
|
| 128 |
+
self.num_key_value_heads = num_key_value_heads
|
| 129 |
+
self.head_dim = head_dim
|
| 130 |
+
self.v_head_dim = v_head_dim
|
| 131 |
+
self.hidden_act = hidden_act
|
| 132 |
+
self.rms_norm_eps = rms_norm_eps
|
| 133 |
+
self.use_cache = use_cache
|
| 134 |
+
self.rope_parameters = rope_parameters
|
| 135 |
+
self.attention_dropout = attention_dropout
|
| 136 |
+
self.layer_types = layer_types
|
| 137 |
+
|
| 138 |
+
self.n_shared_experts = n_shared_experts
|
| 139 |
+
self.n_routed_experts = n_routed_experts
|
| 140 |
+
self.routed_scaling_factor = routed_scaling_factor
|
| 141 |
+
self.kv_lora_rank = kv_lora_rank
|
| 142 |
+
self.q_lora_rank = q_lora_rank
|
| 143 |
+
self.qk_rope_head_dim = qk_rope_head_dim
|
| 144 |
+
self.qk_nope_head_dim = qk_nope_head_dim
|
| 145 |
+
if qk_rope_head_dim is not None and qk_nope_head_dim is not None:
|
| 146 |
+
self.head_dim = qk_rope_head_dim
|
| 147 |
+
self.qk_head_dim = qk_nope_head_dim + qk_rope_head_dim
|
| 148 |
+
self.num_experts_per_tok = num_experts_per_tok
|
| 149 |
+
self.first_k_dense_replace = first_k_dense_replace
|
| 150 |
+
self.norm_topk_prob = norm_topk_prob
|
| 151 |
+
self.rope_interleave = rope_interleave
|
| 152 |
+
|
| 153 |
+
self.sliding_window = sliding_window
|
| 154 |
+
self.swa_layers = swa_layers
|
| 155 |
+
|
| 156 |
+
self.param_sink_number = param_sink_number
|
| 157 |
+
self.router_sliding_window = router_sliding_window
|
| 158 |
+
self.sandwich_norm = sandwich_norm
|
| 159 |
+
self.block_post_layernorm_idx = block_post_layernorm_idx
|
| 160 |
+
self.use_mhc = use_mhc
|
| 161 |
+
self.mhc_use_gamma = mhc_use_gamma
|
| 162 |
+
self.mhc_recur_norm = mhc_recur_norm
|
| 163 |
+
self.mhc_num_stream = mhc_num_stream
|
| 164 |
+
|
| 165 |
+
# Indexer (DSA) parameters
|
| 166 |
+
self.dsa_layers = dsa_layers
|
| 167 |
+
self.index_topk = index_topk
|
| 168 |
+
self.index_head_dim = index_head_dim
|
| 169 |
+
self.index_n_heads = index_n_heads
|
| 170 |
+
|
| 171 |
+
if self.layer_types is None:
|
| 172 |
+
if self.swa_layers is not None:
|
| 173 |
+
self.layer_types = [
|
| 174 |
+
"sliding_attention"
|
| 175 |
+
if i in self.swa_layers
|
| 176 |
+
else "full_attention"
|
| 177 |
+
for i in range(self.num_hidden_layers)
|
| 178 |
+
]
|
| 179 |
+
else:
|
| 180 |
+
self.layer_types = ["full_attention" for _ in range(self.num_hidden_layers)]
|
| 181 |
+
|
| 182 |
+
if num_hidden_layers is not None and self.layer_types is not None and len(self.layer_types) != num_hidden_layers:
|
| 183 |
+
raise ValueError(
|
| 184 |
+
f"`num_hidden_layers` ({num_hidden_layers}) must be equal to the number of layer types "
|
| 185 |
+
f"({len(layer_types)})"
|
| 186 |
+
)
|
| 187 |
+
|
| 188 |
+
super().__init__(**kwargs)
|
| 189 |
+
|
| 190 |
+
|
| 191 |
+
__all__ = ["OpenPanguV2Config"]
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token_id": [148902],
|
| 3 |
+
"temperature": 1.0,
|
| 4 |
+
"top_p": 0.8,
|
| 5 |
+
"top_k": 151552,
|
| 6 |
+
"seed": 1234
|
| 7 |
+
}
|
model-00001.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6788b4fc3618c89785f2bb55743f5711526b5c6c102353340c71015e6dcc387a
|
| 3 |
+
size 4004551280
|
model-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3ea0a4f21cf898c89b5c041fa8d724f74ed9214ab5e3d05f47a297d6443ccb0f
|
| 3 |
+
size 4002500212
|
model-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5588f35105b5107f26c0ce5bfbe0017d537c5e5f89536ad8eb04a7b0f660d3d
|
| 3 |
+
size 4000672780
|
model-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:242bb810406a0f6418f5949dbbd9c8984ef708ac95741a6e4257aef6ec6ec585
|
| 3 |
+
size 4000693380
|
model-00005.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6857ab2f16bbb8a7487f8225dec90d49705b72337d6dae42537f07e95d11f392
|
| 3 |
+
size 4000412352
|
model-00006.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74f37f7bd21b9d04d5309de50cd6c230b1bb4ca837d7771ff095f2a98e50f36c
|
| 3 |
+
size 4002500124
|
model-00007.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4229b41a55e19a9446b08207167fc477732e61ad5cb544fb516dba812cd732a8
|
| 3 |
+
size 4000672724
|
model-00008.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca299bdf695bfb9dfa0cb08cbc11a05980ed034b8fa2f62099d9dfa54378c940
|
| 3 |
+
size 4000672724
|
model-00009.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:189b8359ad46dd54df2166365175e9bc9c3d294ec0002ba0e302adfedb7e1ef8
|
| 3 |
+
size 4002500156
|
model-00010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:194baace3c0963b3d7bd1c2c348086c46d5524d45a29e6741404a2a5f0261689
|
| 3 |
+
size 4000694036
|
model-00011.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9684138ee8b894ace7012fa26b2623d8cbe082140e718bd594922776631de22a
|
| 3 |
+
size 4000673492
|
model-00012.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb9c9dd71fc11fe02093ae0a35c53eb57f491d0fefbd02a65a759ba11224fe62
|
| 3 |
+
size 4002500932
|
model-00013.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e055a87c78137262e740eca211eeaba992e164b3d23abfbd01d9ee4b97aab0d4
|
| 3 |
+
size 4000673516
|
model-00014.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca0c1499893153bf339310355a81d3c77a538491e41ebe32f522874844b0bd67
|
| 3 |
+
size 4000673516
|
model-00015.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e1941a8c0356784c0bc83f5eb02f6a7ff9b1889bf7d51d59c179bc0611937f6
|
| 3 |
+
size 4002521564
|
model-00016.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:036c3b225d0b0fb2690e11167ac124f3dbb3aa99ac03a28c7f2a56039a87000a
|
| 3 |
+
size 4000673532
|
model-00017.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:058ae9de2c4d3638026b0a274e79933d0f67f37ba753a467db2f1ef4e6269384
|
| 3 |
+
size 4000673540
|
model-00018.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dad34634f6e8c780c2c5c6603643ecce3dd50968966728a4d4f9375f48e18dc0
|
| 3 |
+
size 4002500972
|
model-00019.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46e354023e297123737a9a60369cb36b8c49e9a49da45d4d531d0df822069581
|
| 3 |
+
size 4000673532
|
model-00020.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e47b8639c1bd7d9026969503dcb40b5fc34bdac08e24e0baad68045f98143dca
|
| 3 |
+
size 4000694116
|
model-00021.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d6a4bfa8b925fe32821a314c47e46cd53434d7deb7c79d6707704c2a4338250
|
| 3 |
+
size 4002500972
|
model-00022.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40e33f5dc0137a0967a0061efccc21ffe4ef2c3102909ef883f087bc94407b93
|
| 3 |
+
size 4000673532
|
model-00023.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6609826188ca952cd08f218b90c1c46bb6c6a48572336f1d5df62de15267f0b7
|
| 3 |
+
size 4000673532
|
model-00024.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:904c17db932ee2843e2058304e983381e7c138b9bcf00ecd3863fb6fbc75cbfa
|
| 3 |
+
size 4002500972
|
model-00025.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5fffdafc1a157364f9892b120504b5652c7d1e8c02ed5a266aaa28314972a9a
|
| 3 |
+
size 4000694116
|
model-00026.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:937d753c6e249168a047ceb981b7e6244c7967e2c64a98b7ec3fa4c8a48d91f9
|
| 3 |
+
size 4000673532
|
model-00027.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd4db8a4b0fd5f7ede3e310388368e107db39e0ea296693eded66c269c3149c6
|
| 3 |
+
size 4002500972
|
model-00028.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8a337366712d9d5b0843b2838892732828a2c25e08c4b0313b9189da258cf4e
|
| 3 |
+
size 4000673532
|
model-00029.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bbd52bd43a5f212b332835cf3d671271f6a169a1a4a36140f8302a9446e6f354
|
| 3 |
+
size 4000673532
|
model-00030.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:843a08f2b90539212c8531b950605d832cd50cdfbedcf6aa1f8bd3e09bc59818
|
| 3 |
+
size 4002521556
|
model-00031.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0360d7d428b16bbc24f23265afa5cf0b21101dcdde047ddb9d1e90de4bd19e2d
|
| 3 |
+
size 4000673540
|
model-00032.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed7a01eb6e2a590edc4dec7db1ed6978cd51606b6eca9a8e53d139f463a3fe53
|
| 3 |
+
size 4000673548
|
model-00033.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d638968f16fd80bd0ddc2b7efc8ed3f5c1c220e8460fde8c9e0c5b7407a17056
|
| 3 |
+
size 4002500996
|
model-00034.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d467f5aad41047095d8d5d74821b60ac55fd9d48dcdb14b86c310c86a48298b5
|
| 3 |
+
size 4000673548
|
model-00035.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c78b38fe65d757106fc4591b4bdfa42ca1bbb6478e643e01479cdb472cd0a970
|
| 3 |
+
size 4000694140
|
model-00036.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d781031dfc9793332fc29d7071459acc61c764bf03dc7d4ba3d26b3325e54c08
|
| 3 |
+
size 4002500996
|
model-00037.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7cacea16996795e4a0e9d6862904c1a0f043c340cf2670d53b8af55032c6a0b
|
| 3 |
+
size 4000673548
|
model-00038.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ede27b36d85ac3b7d3d1617d36c2fc7f5b1a204946768a7eca516bba469477d
|
| 3 |
+
size 4000673548
|
model-00039.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:08fbcc4368a8cc87a258aa4b2269e7427a553be78f7b7f584de05e06d99c616c
|
| 3 |
+
size 4002501004
|
model-00040.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5dd99070d4389a046e4e7cd1ea16be766bd3d3f667c7850de3824da7bc9588ee
|
| 3 |
+
size 4017345244
|
model-00041.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ceaae7f19fb555d482b4c5c89cf75cb4892d461550335b415a6c3910e9801b06
|
| 3 |
+
size 4004733984
|
model-00042.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9769a8a99922240b6c85e32b0806de867c56027cbe21e9ee45c876903304e9b
|
| 3 |
+
size 4000673484
|