huihui-ai commited on
Commit
60ff2f1
·
verified ·
1 Parent(s): bc9c4f4

Upload 63 files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. LICENSE-CODE +21 -0
  2. LICENSE-MODEL +91 -0
  3. Modelfile +99 -0
  4. README.md +111 -3
  5. coding_problems.py +201 -0
  6. config.json +61 -0
  7. configuration_deepseek.py +210 -0
  8. generation_config.json +6 -0
  9. model-00001-of-00086.safetensors +3 -0
  10. model-00002-of-00086.safetensors +3 -0
  11. model-00003-of-00086.safetensors +3 -0
  12. model-00004-of-00086.safetensors +3 -0
  13. model-00005-of-00086.safetensors +3 -0
  14. model-00006-of-00086.safetensors +3 -0
  15. model-00007-of-00086.safetensors +3 -0
  16. model-00008-of-00086.safetensors +3 -0
  17. model-00009-of-00086.safetensors +3 -0
  18. model-00010-of-00086.safetensors +3 -0
  19. model-00011-of-00086.safetensors +3 -0
  20. model-00012-of-00086.safetensors +3 -0
  21. model-00013-of-00086.safetensors +3 -0
  22. model-00014-of-00086.safetensors +3 -0
  23. model-00015-of-00086.safetensors +3 -0
  24. model-00016-of-00086.safetensors +3 -0
  25. model-00017-of-00086.safetensors +3 -0
  26. model-00018-of-00086.safetensors +3 -0
  27. model-00019-of-00086.safetensors +3 -0
  28. model-00020-of-00086.safetensors +3 -0
  29. model-00021-of-00086.safetensors +3 -0
  30. model-00022-of-00086.safetensors +3 -0
  31. model-00023-of-00086.safetensors +3 -0
  32. model-00024-of-00086.safetensors +3 -0
  33. model-00025-of-00086.safetensors +3 -0
  34. model-00026-of-00086.safetensors +3 -0
  35. model-00027-of-00086.safetensors +3 -0
  36. model-00028-of-00086.safetensors +3 -0
  37. model-00029-of-00086.safetensors +3 -0
  38. model-00030-of-00086.safetensors +3 -0
  39. model-00031-of-00086.safetensors +3 -0
  40. model-00032-of-00086.safetensors +3 -0
  41. model-00033-of-00086.safetensors +3 -0
  42. model-00034-of-00086.safetensors +3 -0
  43. model-00035-of-00086.safetensors +3 -0
  44. model-00036-of-00086.safetensors +3 -0
  45. model-00037-of-00086.safetensors +3 -0
  46. model-00038-of-00086.safetensors +3 -0
  47. model-00039-of-00086.safetensors +3 -0
  48. model-00040-of-00086.safetensors +3 -0
  49. model-00041-of-00086.safetensors +3 -0
  50. model-00042-of-00086.safetensors +3 -0
LICENSE-CODE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2023 DeepSeek
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
LICENSE-MODEL ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ DEEPSEEK LICENSE AGREEMENT
2
+
3
+ Version 1.0, 23 October 2023
4
+
5
+ Copyright (c) 2023 DeepSeek
6
+
7
+ Section I: PREAMBLE
8
+
9
+ Large generative models are being widely adopted and used, and have the potential to transform the way individuals conceive and benefit from AI or ML technologies.
10
+
11
+ Notwithstanding the current and potential benefits that these artifacts can bring to society at large, there are also concerns about potential misuses of them, either due to their technical limitations or ethical considerations.
12
+
13
+ In short, this license strives for both the open and responsible downstream use of the accompanying model. When it comes to the open character, we took inspiration from open source permissive licenses regarding the grant of IP rights. Referring to the downstream responsible use, we added use-based restrictions not permitting the use of the model in very specific scenarios, in order for the licensor to be able to enforce the license in case potential misuses of the Model may occur. At the same time, we strive to promote open and responsible research on generative models for content generation.
14
+
15
+ Even though downstream derivative versions of the model could be released under different licensing terms, the latter will always have to include - at minimum - the same use-based restrictions as the ones in the original license (this license). We believe in the intersection between open and responsible AI development; thus, this agreement aims to strike a balance between both in order to enable responsible open-science in the field of AI.
16
+
17
+ This License governs the use of the model (and its derivatives) and is informed by the model card associated with the model.
18
+
19
+ NOW THEREFORE, You and DeepSeek agree as follows:
20
+
21
+ 1. Definitions
22
+ "License" means the terms and conditions for use, reproduction, and Distribution as defined in this document.
23
+ "Data" means a collection of information and/or content extracted from the dataset used with the Model, including to train, pretrain, or otherwise evaluate the Model. The Data is not licensed under this License.
24
+ "Output" means the results of operating a Model as embodied in informational content resulting therefrom.
25
+ "Model" means any accompanying machine-learning based assemblies (including checkpoints), consisting of learnt weights, parameters (including optimizer states), corresponding to the model architecture as embodied in the Complementary Material, that have been trained or tuned, in whole or in part on the Data, using the Complementary Material.
26
+ "Derivatives of the Model" means all modifications to the Model, works based on the Model, or any other model which is created or initialized by transfer of patterns of the weights, parameters, activations or output of the Model, to the other model, in order to cause the other model to perform similarly to the Model, including - but not limited to - distillation methods entailing the use of intermediate data representations or methods based on the generation of synthetic data by the Model for training the other model.
27
+ "Complementary Material" means the accompanying source code and scripts used to define, run, load, benchmark or evaluate the Model, and used to prepare data for training or evaluation, if any. This includes any accompanying documentation, tutorials, examples, etc, if any.
28
+ "Distribution" means any transmission, reproduction, publication or other sharing of the Model or Derivatives of the Model to a third party, including providing the Model as a hosted service made available by electronic or other remote means - e.g. API-based or web access.
29
+ "DeepSeek" (or "we") means Beijing DeepSeek Artificial Intelligence Fundamental Technology Research Co., Ltd., Hangzhou DeepSeek Artificial Intelligence Fundamental Technology Research Co., Ltd. and/or any of their affiliates.
30
+ "You" (or "Your") means an individual or Legal Entity exercising permissions granted by this License and/or making use of the Model for whichever purpose and in any field of use, including usage of the Model in an end-use application - e.g. chatbot, translator, etc.
31
+ "Third Parties" means individuals or legal entities that are not under common control with DeepSeek or You.
32
+
33
+ Section II: INTELLECTUAL PROPERTY RIGHTS
34
+
35
+ Both copyright and patent grants apply to the Model, Derivatives of the Model and Complementary Material. The Model and Derivatives of the Model are subject to additional terms as described in Section III.
36
+
37
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, DeepSeek hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare, publicly display, publicly perform, sublicense, and distribute the Complementary Material, the Model, and Derivatives of the Model.
38
+
39
+ 3. Grant of Patent License. Subject to the terms and conditions of this License and where and as applicable, DeepSeek hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this paragraph) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Model and the Complementary Material, where such license applies only to those patent claims licensable by DeepSeek that are necessarily infringed by its contribution(s). If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Model and/or Complementary Material constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for the Model and/or works shall terminate as of the date such litigation is asserted or filed.
40
+
41
+
42
+ Section III: CONDITIONS OF USAGE, DISTRIBUTION AND REDISTRIBUTION
43
+
44
+ 4. Distribution and Redistribution. You may host for Third Party remote access purposes (e.g. software-as-a-service), reproduce and distribute copies of the Model or Derivatives of the Model thereof in any medium, with or without modifications, provided that You meet the following conditions:
45
+ a. Use-based restrictions as referenced in paragraph 5 MUST be included as an enforceable provision by You in any type of legal agreement (e.g. a license) governing the use and/or distribution of the Model or Derivatives of the Model, and You shall give notice to subsequent users You Distribute to, that the Model or Derivatives of the Model are subject to paragraph 5. This provision does not apply to the use of Complementary Material.
46
+ b. You must give any Third Party recipients of the Model or Derivatives of the Model a copy of this License;
47
+ c. You must cause any modified files to carry prominent notices stating that You changed the files;
48
+ d. You must retain all copyright, patent, trademark, and attribution notices excluding those notices that do not pertain to any part of the Model, Derivatives of the Model.
49
+ e. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions - respecting paragraph 4.a. – for use, reproduction, or Distribution of Your modifications, or for any such Derivatives of the Model as a whole, provided Your use, reproduction, and Distribution of the Model otherwise complies with the conditions stated in this License.
50
+
51
+ 5. Use-based restrictions. The restrictions set forth in Attachment A are considered Use-based restrictions. Therefore You cannot use the Model and the Derivatives of the Model for the specified restricted uses. You may use the Model subject to this License, including only for lawful purposes and in accordance with the License. Use may include creating any content with, finetuning, updating, running, training, evaluating and/or reparametrizing the Model. You shall require all of Your users who use the Model or a Derivative of the Model to comply with the terms of this paragraph (paragraph 5).
52
+
53
+ 6. The Output You Generate. Except as set forth herein, DeepSeek claims no rights in the Output You generate using the Model. You are accountable for the Output you generate and its subsequent uses. No use of the output can contravene any provision as stated in the License.
54
+
55
+ Section IV: OTHER PROVISIONS
56
+
57
+ 7. Updates and Runtime Restrictions. To the maximum extent permitted by law, DeepSeek reserves the right to restrict (remotely or otherwise) usage of the Model in violation of this License.
58
+
59
+ 8. Trademarks and related. Nothing in this License permits You to make use of DeepSeek’ trademarks, trade names, logos or to otherwise suggest endorsement or misrepresent the relationship between the parties; and any rights not expressly granted herein are reserved by DeepSeek.
60
+
61
+ 9. Personal information, IP rights and related. This Model may contain personal information and works with IP rights. You commit to complying with applicable laws and regulations in the handling of personal information and the use of such works. Please note that DeepSeek's license granted to you to use the Model does not imply that you have obtained a legitimate basis for processing the related information or works. As an independent personal information processor and IP rights user, you need to ensure full compliance with relevant legal and regulatory requirements when handling personal information and works with IP rights that may be contained in the Model, and are willing to assume solely any risks and consequences that may arise from that.
62
+
63
+ 10. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, DeepSeek provides the Model and the Complementary Material on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Model, Derivatives of the Model, and the Complementary Material and assume any risks associated with Your exercise of permissions under this License.
64
+
65
+ 11. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall DeepSeek be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Model and the Complementary Material (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if DeepSeek has been advised of the possibility of such damages.
66
+
67
+ 12. Accepting Warranty or Additional Liability. While redistributing the Model, Derivatives of the Model and the Complementary Material thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of DeepSeek, and only if You agree to indemnify, defend, and hold DeepSeek harmless for any liability incurred by, or claims asserted against, DeepSeek by reason of your accepting any such warranty or additional liability.
68
+
69
+ 13. If any provision of this License is held to be invalid, illegal or unenforceable, the remaining provisions shall be unaffected thereby and remain valid as if such provision had not been set forth herein.
70
+
71
+ 14. Governing Law and Jurisdiction. This agreement will be governed and construed under PRC laws 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 located in the domicile of Hangzhou DeepSeek Artificial Intelligence Fundamental Technology Research Co., Ltd. shall have exclusive jurisdiction of any dispute arising out of this agreement.
72
+
73
+ END OF TERMS AND CONDITIONS
74
+
75
+ Attachment A
76
+
77
+ Use Restrictions
78
+
79
+ You agree not to use the Model or Derivatives of the Model:
80
+
81
+ - In any way that violates any applicable national or international law or regulation or infringes upon the lawful rights and interests of any third party;
82
+ - For military use in any way;
83
+ - For the purpose of exploiting, harming or attempting to exploit or harm minors in any way;
84
+ - To generate or disseminate verifiably false information and/or content with the purpose of harming others;
85
+ - To generate or disseminate inappropriate content subject to applicable regulatory requirements;
86
+ - To generate or disseminate personal identifiable information without due authorization or for unreasonable use;
87
+ - To defame, disparage or otherwise harass others;
88
+ - For fully automated decision making that adversely impacts an individual’s legal rights or otherwise creates or modifies a binding, enforceable obligation;
89
+ - For any use intended to or which has the effect of discriminating against or harming individuals or groups based on online or offline social behavior or known or predicted personal or personality characteristics;
90
+ - To exploit any of the vulnerabilities of a specific group of persons based on their age, social, physical or mental characteristics, in order to materially distort the behavior of a person pertaining to that group in a manner that causes or is likely to cause that person or another person physical or psychological harm;
91
+ - For any use intended to or which has the effect of discriminating against individuals or groups based on legally protected characteristics or categories.
Modelfile ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM huihui-ai/DeepSeek-V3-Pruned-Coder-411B/ggml-model-Q4_K_M.gguf
2
+ TEMPLATE """{{- range $i, $_ := .Messages }}
3
+ {{- if eq .Role "user" }}<|User|>
4
+ {{- else if eq .Role "assistant" }}<|Assistant|>
5
+ {{- end }}{{ .Content }}
6
+ {{- if eq (len (slice $.Messages $i)) 1 }}
7
+ {{- if eq .Role "user" }}<|Assistant|>
8
+ {{- end }}
9
+ {{- else if eq .Role "assistant" }}<|end▁of▁sentence|><|begin▁of▁sentence|>
10
+ {{- end }}
11
+ {{- end }}"""
12
+ PARAMETER stop <|begin▁of▁sentence|>
13
+ PARAMETER stop <|end▁of▁sentence|>
14
+ PARAMETER stop <|User|>
15
+ PARAMETER stop <|Assistant|>
16
+ PARAMETER num_gpu 1
17
+ LICENSE """DEEPSEEK LICENSE AGREEMENT
18
+
19
+ Version 1.0, 23 October 2023
20
+
21
+ Copyright (c) 2023 DeepSeek
22
+
23
+ Section I: PREAMBLE
24
+
25
+ Large generative models are being widely adopted and used, and have the potential to transform the way individuals conceive and benefit from AI or ML technologies.
26
+
27
+ Notwithstanding the current and potential benefits that these artifacts can bring to society at large, there are also concerns about potential misuses of them, either due to their technical limitations or ethical considerations.
28
+
29
+ In short, this license strives for both the open and responsible downstream use of the accompanying model. When it comes to the open character, we took inspiration from open source permissive licenses regarding the grant of IP rights. Referring to the downstream responsible use, we added use-based restrictions not permitting the use of the model in very specific scenarios, in order for the licensor to be able to enforce the license in case potential misuses of the Model may occur. At the same time, we strive to promote open and responsible research on generative models for content generation.
30
+
31
+ Even though downstream derivative versions of the model could be released under different licensing terms, the latter will always have to include - at minimum - the same use-based restrictions as the ones in the original license (this license). We believe in the intersection between open and responsible AI development; thus, this agreement aims to strike a balance between both in order to enable responsible open-science in the field of AI.
32
+
33
+ This License governs the use of the model (and its derivatives) and is informed by the model card associated with the model.
34
+
35
+ NOW THEREFORE, You and DeepSeek agree as follows:
36
+
37
+ 1. Definitions
38
+ "License" means the terms and conditions for use, reproduction, and Distribution as defined in this document.
39
+ "Data" means a collection of information and/or content extracted from the dataset used with the Model, including to train, pretrain, or otherwise evaluate the Model. The Data is not licensed under this License.
40
+ "Output" means the results of operating a Model as embodied in informational content resulting therefrom.
41
+ "Model" means any accompanying machine-learning based assemblies (including checkpoints), consisting of learnt weights, parameters (including optimizer states), corresponding to the model architecture as embodied in the Complementary Material, that have been trained or tuned, in whole or in part on the Data, using the Complementary Material.
42
+ "Derivatives of the Model" means all modifications to the Model, works based on the Model, or any other model which is created or initialized by transfer of patterns of the weights, parameters, activations or output of the Model, to the other model, in order to cause the other model to perform similarly to the Model, including - but not limited to - distillation methods entailing the use of intermediate data representations or methods based on the generation of synthetic data by the Model for training the other model.
43
+ "Complementary Material" means the accompanying source code and scripts used to define, run, load, benchmark or evaluate the Model, and used to prepare data for training or evaluation, if any. This includes any accompanying documentation, tutorials, examples, etc, if any.
44
+ "Distribution" means any transmission, reproduction, publication or other sharing of the Model or Derivatives of the Model to a third party, including providing the Model as a hosted service made available by electronic or other remote means - e.g. API-based or web access.
45
+ "DeepSeek" (or "we") means Beijing DeepSeek Artificial Intelligence Fundamental Technology Research Co., Ltd., Hangzhou DeepSeek Artificial Intelligence Fundamental Technology Research Co., Ltd. and/or any of their affiliates.
46
+ "You" (or "Your") means an individual or Legal Entity exercising permissions granted by this License and/or making use of the Model for whichever purpose and in any field of use, including usage of the Model in an end-use application - e.g. chatbot, translator, etc.
47
+ "Third Parties" means individuals or legal entities that are not under common control with DeepSeek or You.
48
+
49
+ Section II: INTELLECTUAL PROPERTY RIGHTS
50
+
51
+ Both copyright and patent grants apply to the Model, Derivatives of the Model and Complementary Material. The Model and Derivatives of the Model are subject to additional terms as described in Section III.
52
+
53
+ 2. Grant of Copyright License. Subject to the terms and conditions of this License, DeepSeek hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare, publicly display, publicly perform, sublicense, and distribute the Complementary Material, the Model, and Derivatives of the Model.
54
+
55
+ 3. Grant of Patent License. Subject to the terms and conditions of this License and where and as applicable, DeepSeek hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this paragraph) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Model and the Complementary Material, where such license applies only to those patent claims licensable by DeepSeek that are necessarily infringed by its contribution(s). If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Model and/or Complementary Material constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for the Model and/or works shall terminate as of the date such litigation is asserted or filed.
56
+
57
+
58
+ Section III: CONDITIONS OF USAGE, DISTRIBUTION AND REDISTRIBUTION
59
+
60
+ 4. Distribution and Redistribution. You may host for Third Party remote access purposes (e.g. software-as-a-service), reproduce and distribute copies of the Model or Derivatives of the Model thereof in any medium, with or without modifications, provided that You meet the following conditions:
61
+ a. Use-based restrictions as referenced in paragraph 5 MUST be included as an enforceable provision by You in any type of legal agreement (e.g. a license) governing the use and/or distribution of the Model or Derivatives of the Model, and You shall give notice to subsequent users You Distribute to, that the Model or Derivatives of the Model are subject to paragraph 5. This provision does not apply to the use of Complementary Material.
62
+ b. You must give any Third Party recipients of the Model or Derivatives of the Model a copy of this License;
63
+ c. You must cause any modified files to carry prominent notices stating that You changed the files;
64
+ d. You must retain all copyright, patent, trademark, and attribution notices excluding those notices that do not pertain to any part of the Model, Derivatives of the Model.
65
+ e. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions - respecting paragraph 4.a. – for use, reproduction, or Distribution of Your modifications, or for any such Derivatives of the Model as a whole, provided Your use, reproduction, and Distribution of the Model otherwise complies with the conditions stated in this License.
66
+
67
+ 5. Use-based restrictions. The restrictions set forth in Attachment A are considered Use-based restrictions. Therefore You cannot use the Model and the Derivatives of the Model for the specified restricted uses. You may use the Model subject to this License, including only for lawful purposes and in accordance with the License. Use may include creating any content with, finetuning, updating, running, training, evaluating and/or reparametrizing the Model. You shall require all of Your users who use the Model or a Derivative of the Model to comply with the terms of this paragraph (paragraph 5).
68
+
69
+ 6. The Output You Generate. Except as set forth herein, DeepSeek claims no rights in the Output You generate using the Model. You are accountable for the Output you generate and its subsequent uses. No use of the output can contravene any provision as stated in the License.
70
+
71
+ Section IV: OTHER PROVISIONS
72
+
73
+ 7. Updates and Runtime Restrictions. To the maximum extent permitted by law, DeepSeek reserves the right to restrict (remotely or otherwise) usage of the Model in violation of this License.
74
+
75
+ 8. Trademarks and related. Nothing in this License permits You to make use of DeepSeek’ trademarks, trade names, logos or to otherwise suggest endorsement or misrepresent the relationship between the parties; and any rights not expressly granted herein are reserved by DeepSeek.
76
+
77
+ 9. Personal information, IP rights and related. This Model may contain personal information and works with IP rights. You commit to complying with applicable laws and regulations in the handling of personal information and the use of such works. Please note that DeepSeek's license granted to you to use the Model does not imply that you have obtained a legitimate basis for processing the related information or works. As an independent personal information processor and IP rights user, you need to ensure full compliance with relevant legal and regulatory requirements when handling personal information and works with IP rights that may be contained in the Model, and are willing to assume solely any risks and consequences that may arise from that.
78
+ 10. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, DeepSeek provides the Model and the Complementary Material on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Model, Derivatives of the Model, and the Complementary Material and assume any risks associated with Your exercise of permissions under this License.
79
+ 11. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall DeepSeek be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Model and the Complementary Material (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if DeepSeek has been advised of the possibility of such damages.
80
+ 12. Accepting Warranty or Additional Liability. While redistributing the Model, Derivatives of the Model and the Complementary Material thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of DeepSeek, and only if You agree to indemnify, defend, and hold DeepSeek harmless for any liability incurred by, or claims asserted against, DeepSeek by reason of your accepting any such warranty or additional liability.
81
+ 13. If any provision of this License is held to be invalid, illegal or unenforceable, the remaining provisions shall be unaffected thereby and remain valid as if such provision had not been set forth herein.
82
+ 14. Governing Law and Jurisdiction. This agreement will be governed and construed under PRC laws 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 located in the domicile of Hangzhou DeepSeek Artificial Intelligence Fundamental Technology Research Co., Ltd. shall have exclusive jurisdiction of any dispute arising out of this agreement.
83
+ END OF TERMS AND CONDITIONS
84
+ Attachment A
85
+ Use Restrictions
86
+ You agree not to use the Model or Derivatives of the Model:
87
+ - In any way that violates any applicable national or international law or regulation or infringes upon the lawful rights and interests of any third party;
88
+ - For military use in any way;
89
+ - For the purpose of exploiting, harming or attempting to exploit or harm minors in any way;
90
+ - To generate or disseminate verifiably false information and/or content with the purpose of harming others;
91
+ - To generate or disseminate inappropriate content subject to applicable regulatory requirements;
92
+ - To generate or disseminate personal identifiable information without due authorization or for unreasonable use;
93
+ - To defame, disparage or otherwise harass others;
94
+ - For fully automated decision making that adversely impacts an individual’s legal rights or otherwise creates or modifies a binding, enforceable obligation;
95
+ - For any use intended to or which has the effect of discriminating against or harming individuals or groups based on online or offline social behavior or known or predicted personal or personality characteristics;
96
+ - To exploit any of the vulnerabilities of a specific group of persons based on their age, social, physical or mental characteristics, in order to materially distort the behavior of a person pertaining to that group in a manner that causes or is likely to cause that person or another person physical or psychological harm;
97
+ - For any use intended to or which has the effect of discriminating against individuals or groups based on legally protected characteristics or categories.
98
+ """
99
+
README.md CHANGED
@@ -1,3 +1,111 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model:
4
+ - deepseek-ai/DeepSeek-V3
5
+ tags:
6
+ - deepseek_v3
7
+ - bf16
8
+ - Safetensors
9
+ - custom_code
10
+ - Pruned
11
+ ---
12
+
13
+ # huihui-ai/DeepSeek-V3-Pruned-Coder-411B
14
+
15
+
16
+
17
+
18
+ This is a pruned version of the [deepseek-ai/DeepSeek-V3](https://huggingface.co/deepseek-ai/DeepSeek-V3),
19
+ reduced from 256 experts to 160 experts. The pruned model is mainly used for [code](https://huggingface.co/huihui-ai/DeepSeek-V3-Pruned-Coder-411B/blob/main/coding_problems.py) generation.
20
+
21
+
22
+ This is a test validation to see if we can prune the model according to professional requirements and still maintain acceptable performance. The model size has been reduced by about half, and no distortion has occurred.
23
+
24
+ This allows the model to be pruned according to one's needs.
25
+
26
+ This pruned model has a total parameter is equivalent to 441B.
27
+
28
+
29
+ This is a test validation to see if we can prune the model according to professional requirements and still maintain acceptable performance. The model size has been reduced by about half, and no distortion has occurred.
30
+
31
+
32
+ ## Use with transformers
33
+
34
+ ```
35
+ from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
36
+ import torch
37
+
38
+ # Load the model and tokenizer
39
+ NEW_MODEL_ID = "huihui-ai/DeepSeek-V3-Pruned-Coder-411B"
40
+ quant_config_4 = BitsAndBytesConfig(
41
+ load_in_4bit=True,
42
+ bnb_4bit_compute_dtype=torch.bfloat16,
43
+ bnb_4bit_use_double_quant=True,
44
+ llm_int8_enable_fp32_cpu_offload=True,
45
+ )
46
+
47
+ model = AutoModelForCausalLM.from_pretrained(
48
+ NEW_MODEL_ID,
49
+ device_map="auto",
50
+ trust_remote_code=True,
51
+ quantization_config=quant_config_4,
52
+ torch_dtype=torch.bfloat16
53
+ )
54
+ tokenizer = AutoTokenizer.from_pretrained(NEW_MODEL_ID, trust_remote_code=True)
55
+ if tokenizer.pad_token is None:
56
+ tokenizer.pad_token = tokenizer.eos_token
57
+
58
+ tokenizer.pad_token_id = tokenizer.eos_token_id
59
+
60
+ # Initialize conversation context
61
+ initial_messages = [
62
+ {"role": "system", "content": "You are a helpful assistant provided by Moonshot-AI."}
63
+ ]
64
+ messages = initial_messages.copy() # Copy the initial conversation context
65
+
66
+ # Enter conversation loop
67
+ while True:
68
+ # Get user input
69
+ user_input = input("User: ").strip() # Strip leading and trailing spaces
70
+
71
+ # If the user types '/exit', end the conversation
72
+ if user_input.lower() == "/exit":
73
+ print("Exiting chat.")
74
+ break
75
+
76
+ # If the user types '/clean', reset the conversation context
77
+ if user_input.lower() == "/clear":
78
+ messages = initial_messages.copy() # Reset conversation context
79
+ print("Chat history cleared. Starting a new conversation.")
80
+ continue
81
+
82
+ # If input is empty, prompt the user and continue
83
+ if not user_input:
84
+ print("Input cannot be empty. Please enter something.")
85
+ continue
86
+
87
+ # Add user input to the conversation
88
+ messages.append({"role": "user", "content": user_input})
89
+
90
+ tokenized_message = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt", return_dict=True)
91
+ response_token_ids = model.generate(tokenized_message['input_ids'].to("cuda:0"), use_cache=False, pad_token_id=tokenizer.pad_token_id, max_new_tokens=8192)
92
+ generated_tokens =response_token_ids[:, len(tokenized_message['input_ids'][0]):]
93
+ response = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)[0]
94
+
95
+ # Add the model's response to the conversation
96
+ messages.append({"role": "assistant", "content": response})
97
+
98
+ # Print the model's response
99
+ print(f"Response: {response}")
100
+ ```
101
+
102
+ ### Donation
103
+
104
+ If you like it, please click 'like' and follow us for more updates.
105
+ You can follow [x.com/support_huihui](https://x.com/support_huihui) to get the latest model information from huihui.ai.
106
+
107
+ ##### Your donation helps us continue our further development and improvement, a cup of coffee can do it.
108
+ - bitcoin:
109
+ ```
110
+ bc1qqnkhuchxw0zqjh2ku3lu4hq45hc6gy84uk70ge
111
+ ```
coding_problems.py ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ coding_problems = {
2
+ "Python": "In Python, write a function to reverse a string, for example, turning input 'hello' into 'olleh'.",
3
+ "Java": "In Java, implement a simple calculator class that supports addition, subtraction, multiplication, and division.",
4
+ "C++": "In C++, implement an efficient sorting algorithm (e.g., quicksort or mergesort) to sort an array of integers.",
5
+ "JavaScript": "In JavaScript, create a simple web page interaction with a button that, when clicked, displays the current time.",
6
+ "C#": "In C#, implement a simple Windows Forms application featuring a text box and a button that displays the text box content when clicked.",
7
+ "Ruby": "In Ruby, implement a simple web server using Ruby on Rails that returns 'Hello, World!'",
8
+ "PHP": "In PHP, create a dynamic web page that displays the current date and time.",
9
+ "Swift": "In Swift, implement a simple iOS app interface with a label and a button that updates the label to 'Clicked!' when pressed.",
10
+ "Go": "In Go, implement a concurrent program using goroutines to calculate the square and cube of two numbers simultaneously.",
11
+ "R": "In R, read data from a CSV file, calculate the average, and plot a bar chart.",
12
+ "SQL": "In SQL, write a query to retrieve the total number of orders for each user from 'users' and 'orders' tables.",
13
+ "Kotlin": "In Kotlin, implement a simple Android app feature with an input field and a button that displays the input content when clicked.",
14
+ "Scala": "In Scala, implement a functional programming example with a function that takes a list of integers and returns their sum.",
15
+ "Perl": "In Perl, implement a text processing script to extract all email addresses from a text file.",
16
+ "Haskell": "In Haskell, implement a pure functional program to calculate the nth Fibonacci number.",
17
+ "Lua": "In Lua, implement a game script to control a character's simple movements (e.g., up, down, left, right).",
18
+ "MATLAB": "In MATLAB, implement matrix multiplication and visualize the result.",
19
+ "Objective-C": "In Objective-C, implement a simple iOS app feature with a button that shows an alert with 'Welcome!' when clicked.",
20
+ "Rust": "In Rust, implement a safe concurrent program to calculate the sum of all elements in an array using multiple threads.",
21
+ "TypeScript": "In TypeScript, implement a type-safe function that takes an array of numbers and returns the maximum value.",
22
+ "Bash": "In Bash, write a shell script to backup a specified directory to a compressed file.",
23
+ "PowerShell": "In PowerShell, implement a system management script to list all running processes.",
24
+ "Dart": "In Dart, implement a simple Flutter app interface with a counter button.",
25
+ "Groovy": "In Groovy, implement a simple script to read and print the content of a JSON file.",
26
+ "F#": "In F#, implement a functional programming example with a function to calculate the product of all elements in an integer list.",
27
+ "Erlang": "In Erlang, implement a simple distributed chat server that supports multiple client connections.",
28
+ "COBOL": "In COBOL, implement a business calculation program to compute an employee's total salary (base salary + bonus).",
29
+ "Fortran": "In Fortran, implement a scientific computing program to calculate a definite integral (e.g., using the rectangle method).",
30
+ "Ada": "In Ada, implement an embedded system program to simulate controlling an LED light (on/off).",
31
+ "Prolog": "In Prolog, implement a logic reasoning program to solve a simple puzzle, such as 'Who is the murderer?'",
32
+ "Lisp": "In Lisp, implement a symbolic computation program to evaluate a simple mathematical expression, e.g., '(add 2 3)'.",
33
+ "Scheme": "In Scheme, implement a recursive function to calculate the factorial of n.",
34
+ "Smalltalk": "In Smalltalk, implement an object-oriented program to simulate bank account deposits and withdrawals.",
35
+ "VHDL": "In VHDL, design a simple digital circuit, such as an adder.",
36
+ "Verilog": "In Verilog, implement a hardware module for a simple sequential logic circuit, like a counter.",
37
+ "Assembly": "In Assembly, write a low-level program to compute the sum of two numbers.",
38
+ "Clojure": "In Clojure, implement a concurrent program using concurrency primitives to compute the sum of squares of an array.",
39
+ "Elixir": "In Elixir, implement a simple distributed counter.",
40
+ "Julia": "In Julia, implement a high-performance computing program for matrix multiplication and measure execution time.",
41
+ "Crystal": "In Crystal, implement a web application that returns a JSON response.",
42
+ "Nim": "In Nim, implement a command-line tool that accepts arguments and prints the content of a file.",
43
+ "D": "In D, implement a system-level program to list all files in a directory.",
44
+ "Pascal": "In Pascal, implement a teaching program demonstrating if-else and loop structures.",
45
+ "Forth": "In Forth, implement a stack-based addition calculator.",
46
+ "APL": "In APL, implement an array processing program to sort an array and calculate its average.",
47
+ "J": "In J, implement a data analysis program to compute the standard deviation of a dataset.",
48
+ "K": "In K, implement a high-performance data processing program to compute the sum of a large array.",
49
+ "Q": "In Q, implement a database query to retrieve data from a time-series database for a specific period.",
50
+ "Tcl": "In Tcl, implement a script to automate file renaming.",
51
+ "Awk": "In Awk, implement a text processing script to extract the second field from each line of a log file.",
52
+ "Sed": "In Sed, implement a text replacement script to replace 'cat' with 'dog' in a text file.",
53
+ "Grep": "In Grep, implement a pattern matching script to find lines containing 'error' in a file.",
54
+ "Makefile": "In Makefile, write a build script to compile a C program and generate an executable file.",
55
+ "CMake": "In CMake, implement a cross-platform build system configuration.",
56
+ "Dockerfile": "In Dockerfile, write a container configuration file to build a Docker image with a Python environment.",
57
+ "YAML": "In YAML, implement a configuration file for a web application, specifying port and database connection.",
58
+ "JSON": "In JSON, implement a data exchange format to represent a user's personal information.",
59
+ "XML": "In XML, implement a markup language document to describe a book's title and author.",
60
+ "HTML": "In HTML, implement a simple web page with a title and a paragraph.",
61
+ "CSS": "In CSS, implement a style sheet to add background color and font styles to an HTML page.",
62
+ "Sass": "In Sass, implement a CSS preprocessor script to generate nested style sheets.",
63
+ "Less": "In Less, implement a CSS preprocessor script using variables to define colors and generate CSS.",
64
+ "PostScript": "In PostScript, implement a print script to generate a circle graphic.",
65
+ "TeX": "In TeX, implement a typesetting document that includes mathematical formulas.",
66
+ "ABAP": "In ABAP, implement a report program to retrieve and display customer data from an SAP database.",
67
+ "ActionScript": "In ActionScript, create an interactive animation where a ball moves across the screen when a button is clicked.",
68
+ "ALGOL": "In ALGOL, implement a procedure to calculate the greatest common divisor (GCD) of two numbers.",
69
+ "Ballerina": "In Ballerina, implement a simple REST API service that returns a greeting message.",
70
+ "Basic": "In Basic, write a program to calculate and display the area of a rectangle based on user input.",
71
+ "BCPL": "In BCPL, implement a simple memory allocation function for dynamic arrays.",
72
+ "Chapel": "In Chapel, implement a parallel program to compute the dot product of two large vectors.",
73
+ "ColdFusion": "In ColdFusion, create a dynamic webpage that displays a list of products from a database.",
74
+ "Datalog": "In Datalog, write a query to determine family relationships (e.g., 'Who is the grandparent?') from a set of facts.",
75
+ "Elm": "In Elm, implement a simple counter web app with increment and decrement buttons.",
76
+ "Hack": "In Hack, implement a type-safe function to validate and process a user registration form.",
77
+ "Icon": "In Icon, write a program to generate all permutations of a given string.",
78
+ "Io": "In Io, implement a prototype-based object system to simulate a simple car with start and stop methods.",
79
+ "J#": "In J#, implement a console application to sort a list of names alphabetically.",
80
+ "LabVIEW": "In LabVIEW, create a virtual instrument to measure and display the voltage from a simulated sensor.",
81
+ "Ladder Logic": "In Ladder Logic, design a PLC program to control a traffic light sequence.",
82
+ "LiveScript": "In LiveScript, implement a functional pipeline to process and filter an array of numbers.",
83
+ "Logo": "In Logo, write a script to draw a square using turtle graphics.",
84
+ "Mercury": "In Mercury, implement a type-safe program to solve a Sudoku puzzle.",
85
+ "Modula-2": "In Modula-2, implement a module to manage a simple inventory system.",
86
+ "OCaml": "In OCaml, implement a function to balance a binary search tree.",
87
+ "PL/I": "In PL/I, write a program to calculate monthly loan payments based on principal and interest rate.",
88
+ "Processing": "In Processing, create a visual sketch where circles follow the mouse cursor.",
89
+ "Puppet": "In Puppet, write a manifest to configure a web server with specific ports and packages.",
90
+ "Racket": "In Racket, implement a simple interpreter for a custom arithmetic language.",
91
+ "REXX": "In REXX, write a script to parse and reformat a log file into a report.",
92
+ "SAS": "In SAS, implement a data analysis program to compute summary statistics from a dataset.",
93
+ "Scratch": "In Scratch, create a simple game where a sprite moves to avoid obstacles.",
94
+ "Solidity": "In Solidity, implement a smart contract for a voting system on the Ethereum blockchain.",
95
+ "SPARK": "In SPARK, implement a verified program to control an elevator��s floor selection safely.",
96
+ "Squirrel": "In Squirrel, write a script to manage a simple game character��s health and inventory.",
97
+ "Stan": "In Stan, implement a Bayesian model to fit a linear regression to sample data.",
98
+ "Vala": "In Vala, implement a GTK application with a window and a button that changes color when clicked.",
99
+ "VBA": "In VBA, automate an Excel task to sum a column and highlight cells above a threshold.",
100
+ "Zig": "In Zig, implement a memory-safe program to reverse an array without using extra space.",
101
+ "Apex": "In Apex, implement a Salesforce trigger to automatically update a contact��s status when an opportunity is closed.",
102
+ "B": "In B, write a low-level function to swap two integer values without using a temporary variable.",
103
+ "Brainfuck": "In Brainfuck, implement a program to print 'Hello, World!' using its minimalistic syntax.",
104
+ "Ceylon": "In Ceylon, implement a type-safe class hierarchy for a library system with books and borrowers.",
105
+ "CFML": "In CFML, create a dynamic page to display a user��s profile fetched from a database.",
106
+ "Chisel": "In Chisel, design a hardware module for a simple 4-bit counter.",
107
+ "Clarion": "In Clarion, implement a database application to manage customer orders and invoices.",
108
+ "Clean": "In Clean, implement a purely functional program to compute the greatest common divisor (GCD) of two numbers.",
109
+ "Clipper": "In Clipper, write a program to manage a simple inventory database with add and delete functions.",
110
+ "Common Lisp": "In Common Lisp, implement a symbolic differentiation function for basic algebraic expressions.",
111
+ "Dafny": "In Dafny, implement a verified program to sort an array with provable correctness.",
112
+ "Delphi": "In Delphi, create a desktop application with a form to calculate and display a factorial.",
113
+ "Eiffel": "In Eiffel, implement a class with design-by-contract to manage a stack with push and pop operations.",
114
+ "Elm": "In Elm, build a simple web app with a text input that displays the character count in real-time.",
115
+ "Factor": "In Factor, implement a stack-based program to calculate the sum of numbers from 1 to n.",
116
+ "Falcon": "In Falcon, write a script to process and format a CSV file into a readable report.",
117
+ "Frink": "In Frink, implement a unit conversion program to convert between miles and kilometers.",
118
+ "GAMS": "In GAMS, model an optimization problem to minimize the cost of a production process.",
119
+ "GAP": "In GAP, implement a group theory computation to find the order of a permutation group.",
120
+ "Genie": "In Genie, create a simple GTK application with a button that toggles a label��s text.",
121
+ "Haxe": "In Haxe, implement a cross-platform program to draw a animated bouncing ball.",
122
+ "Hy": "In Hy, write a Lisp-style program to filter even numbers from a list.",
123
+ "Idris": "In Idris, implement a dependently-typed function to append two lists with length preservation.",
124
+ "Inform": "In Inform, create a simple text adventure game where the player navigates a room.",
125
+ "JCL": "In JCL, write a job control script to execute a COBOL program on a mainframe.",
126
+ "Jython": "In Jython, implement a Python script to interact with a Java library and print system properties.",
127
+ "KRL": "In KRL, design a rule-based system to send a notification when a sensor value exceeds a threshold.",
128
+ "LFE": "In LFE, implement a Lisp-based concurrent program to calculate factorials using actors.",
129
+ "MQL4": "In MQL4, write a trading script for MetaTrader to calculate moving averages of stock prices.",
130
+ "Nemerle": "In Nemerle, implement a macro-based program to generate boilerplate code for a class.",
131
+ "Oberon": "In Oberon, write a modular program to simulate a simple file system.",
132
+ "Opa": "In Opa, implement a full-stack web app with a chat interface running on both client and server.",
133
+ "OpenCL": "In OpenCL, write a parallel program to perform matrix addition on a GPU.",
134
+ "Oz": "In Oz, implement a multi-paradigm program to solve a constraint satisfaction problem like Sudoku.",
135
+ "Pike": "In Pike, create a simple network server that echoes back client messages.",
136
+ "Pony": "In Pony, implement an actor-based program to simulate a bank with concurrent transactions.",
137
+ "Pure": "In Pure, write a term-rewriting program to simplify algebraic expressions.",
138
+ "Q#": "In Q#, implement a quantum algorithm to generate a random bit using superposition.",
139
+ "Red": "In Red, create a lightweight GUI app with a button that changes the window��s title.",
140
+ "Ring": "In Ring, implement a simple game loop to move a character across the screen.",
141
+ "RPG": "In RPG, write a business program to calculate employee payroll with tax deductions.",
142
+ "S-Lang": "In S-Lang, implement a script to process astronomical data and compute averages.",
143
+ "Simula": "In Simula, simulate a queueing system for customers in a bank.",
144
+ "Standard ML": "In Standard ML, implement a functional program to reverse a list using pattern matching.",
145
+ "SuperCollider": "In SuperCollider, create a synthesizer script to generate a sine wave sound.",
146
+ "Turing": "In Turing, write an educational program to draw a spiral using turtle graphics.",
147
+ "UnrealScript": "In UnrealScript, implement a simple game mechanic to spawn an enemy in Unreal Engine.",
148
+ "Wolfram Language": "In Wolfram Language, create a visualization of a 3D mathematical function.",
149
+ "X10": "In X10, implement a distributed program to compute the sum of an array across multiple nodes.",
150
+ "ZPL": "In ZPL, write a parallel program to perform a stencil computation on a 2D grid.",
151
+ "A#": "In A#, implement a simple audio processing script to generate a square wave tone.",
152
+ "ABC": "In ABC, write a program to calculate and display the first 10 numbers of the Fibonacci sequence.",
153
+ "Accent": "In Accent, implement a reactive system to update a counter based on incoming events.",
154
+ "Agora": "In Agora, create an object-oriented program to simulate a simple online auction.",
155
+ "Alef": "In Alef, implement a concurrent program to manage multiple threads printing numbers.",
156
+ "Alice": "In Alice, design a 3D animation where a character walks across a scene.",
157
+ "Amiga E": "In Amiga E, write a program to draw a colorful pattern on an Amiga-style display.",
158
+ "AngelScript": "In AngelScript, implement a game scripting function to handle player movement in a 2D game.",
159
+ "APL2": "In APL2, write an array-based program to compute the transpose of a matrix.",
160
+ "Arc": "In Arc, implement a minimal web server that serves a custom HTML page.",
161
+ "AspectJ": "In AspectJ, add logging functionality to an existing Java class using aspects.",
162
+ "Ateji PX": "In Ateji PX, implement a parallel program to compute the sum of a large array.",
163
+ "AutoHotkey": "In AutoHotkey, create a script to automate repetitive keyboard and mouse actions.",
164
+ "Befunge": "In Befunge, write a 2D program to print the numbers from 1 to 10.",
165
+ "BLISS": "In BLISS, implement a low-level routine to optimize bit manipulation in a system program.",
166
+ "Boo": "In Boo, create a simple scripting program to process and sort a list of strings.",
167
+ "C--": "In C--, implement an intermediate language function to multiply two integers.",
168
+ "Caml": "In Caml, write a functional program to compute the depth of a binary tree.",
169
+ "Charity": "In Charity, implement a purely functional program to process a stream of integers.",
170
+ "ChucK": "In ChucK, create a real-time audio program to play a repeating drum pattern.",
171
+ "Cilk": "In Cilk, implement a parallel program to compute the factorial of a number using spawn and sync.",
172
+ "COMAL": "In COMAL, write an educational program to teach loops by printing a multiplication table.",
173
+ "Curl": "In Curl, implement a rich internet application with a clickable button that changes text.",
174
+ "DASL": "In DASL, design a dataflow program to filter and transform a stream of sensor data.",
175
+ "DIBOL": "In DIBOL, write a business application to calculate total sales from a list of transactions.",
176
+ "E": "In E, implement a secure distributed system to exchange encrypted messages between two nodes.",
177
+ "Ease": "In Ease, create a visual programming script to animate a bouncing ball.",
178
+ "Euphoria": "In Euphoria, write a simple interpreter for a custom command language.",
179
+ "Fantom": "In Fantom, implement a cross-platform program to read and display a configuration file.",
180
+ "Ferite": "In Ferite, create a lightweight script to simulate a dice-rolling game.",
181
+ "FL": "In FL, implement a functional logic program to solve a simple puzzle like Towers of Hanoi.",
182
+ "Focal": "In Focal, write a scientific calculator program to compute trigonometric functions.",
183
+ "GameMaker Language": "In GameMaker Language, implement a simple platformer mechanic for jumping.",
184
+ "GML": "In GML, design a graph manipulation program to find the shortest path between nodes.",
185
+ "Hope": "In Hope, implement a lazy functional program to generate an infinite list of primes.",
186
+ "ICI": "In ICI, write a script to process and reformat a text file into a table.",
187
+ "INTERCAL": "In INTERCAL, create a humorous program to compute '2 + 2' with unnecessary complexity.",
188
+ "Joy": "In Joy, implement a stack-based program to reverse a sequence of numbers.",
189
+ "Kodu": "In Kodu, design a simple game where a character collects objects in a 3D world.",
190
+ "Leda": "In Leda, write a multi-paradigm program combining imperative and functional styles to sort a list.",
191
+ "Limbo": "In Limbo, implement a concurrent program for a distributed system running on Inferno OS.",
192
+ "Miranda": "In Miranda, create a lazy functional program to compute the sum of squares up to n.",
193
+ "MUMPS": "In MUMPS, implement a database application to store and retrieve patient records.",
194
+ "Nial": "In Nial, write an array-oriented program to compute the average of nested arrays.",
195
+ "Obliq": "In Obliq, implement a distributed GUI application with a button that updates remotely.",
196
+ "OmniMark": "In OmniMark, create a text-processing script to convert XML to HTML.",
197
+ "Opal": "In Opal, implement a functional program to manipulate algebraic data types like lists.",
198
+ "PILOT": "In PILOT, write an educational script to quiz users on basic math problems.",
199
+ "Self": "In Self, implement a prototype-based object system to model a simple car with behaviors.",
200
+ "TOM": "In TOM, create a pattern-matching program to transform a string based on rules."
201
+ }
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DeepseekV3ForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "configuration_deepseek.DeepseekV3Config",
9
+ "AutoModel": "modeling_deepseek.DeepseekV3Model",
10
+ "AutoModelForCausalLM": "modeling_deepseek.DeepseekV3ForCausalLM"
11
+ },
12
+ "aux_loss_alpha": 0.001,
13
+ "bos_token_id": 0,
14
+ "eos_token_id": 1,
15
+ "ep_size": 1,
16
+ "first_k_dense_replace": 3,
17
+ "hidden_act": "silu",
18
+ "hidden_size": 7168,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 18432,
21
+ "kv_lora_rank": 512,
22
+ "max_position_embeddings": 163840,
23
+ "model_type": "deepseek_v3",
24
+ "moe_intermediate_size": 2048,
25
+ "moe_layer_freq": 1,
26
+ "n_group": 8,
27
+ "n_routed_experts": 160,
28
+ "n_shared_experts": 1,
29
+ "norm_topk_prob": true,
30
+ "num_attention_heads": 128,
31
+ "num_experts_per_tok": 6,
32
+ "num_hidden_layers": 61,
33
+ "num_key_value_heads": 128,
34
+ "num_nextn_predict_layers": 1,
35
+ "pretraining_tp": 1,
36
+ "q_lora_rank": 1536,
37
+ "qk_nope_head_dim": 128,
38
+ "qk_rope_head_dim": 64,
39
+ "rms_norm_eps": 1e-06,
40
+ "rope_scaling": {
41
+ "beta_fast": 32,
42
+ "beta_slow": 1,
43
+ "factor": 40,
44
+ "mscale": 1.0,
45
+ "mscale_all_dim": 1.0,
46
+ "original_max_position_embeddings": 4096,
47
+ "type": "yarn"
48
+ },
49
+ "rope_theta": 10000,
50
+ "routed_scaling_factor": 2.5,
51
+ "scoring_func": "sigmoid",
52
+ "seq_aux": true,
53
+ "tie_word_embeddings": false,
54
+ "topk_group": 4,
55
+ "topk_method": "noaux_tc",
56
+ "torch_dtype": "bfloat16",
57
+ "transformers_version": "4.33.1",
58
+ "use_cache": true,
59
+ "v_head_dim": 128,
60
+ "vocab_size": 129280
61
+ }
configuration_deepseek.py ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from transformers.configuration_utils import PretrainedConfig
2
+ from transformers.utils import logging
3
+
4
+ logger = logging.get_logger(__name__)
5
+
6
+ DEEPSEEK_PRETRAINED_CONFIG_ARCHIVE_MAP = {}
7
+ class DeepseekV3Config(PretrainedConfig):
8
+ r"""
9
+ This is the configuration class to store the configuration of a [`DeepseekV3Model`]. It is used to instantiate an DeepSeek
10
+ model according to the specified arguments, defining the model architecture. Instantiating a configuration with the
11
+ defaults will yield a similar configuration to that of the DeepSeek-V3.
12
+
13
+ Configuration objects inherit from [`PretrainedConfig`] and can be used to control the model outputs. Read the
14
+ documentation from [`PretrainedConfig`] for more information.
15
+
16
+
17
+ Args:
18
+ vocab_size (`int`, *optional*, defaults to 129280):
19
+ Vocabulary size of the Deep model. Defines the number of different tokens that can be represented by the
20
+ `inputs_ids` passed when calling [`DeepseekV3Model`]
21
+ hidden_size (`int`, *optional*, defaults to 4096):
22
+ Dimension of the hidden representations.
23
+ intermediate_size (`int`, *optional*, defaults to 11008):
24
+ Dimension of the MLP representations.
25
+ moe_intermediate_size (`int`, *optional*, defaults to 1407):
26
+ Dimension of the MoE representations.
27
+ num_hidden_layers (`int`, *optional*, defaults to 32):
28
+ Number of hidden layers in the Transformer decoder.
29
+ num_nextn_predict_layers (`int`, *optional*, defaults to 1):
30
+ Number of nextn predict layers in the DeepSeekV3 Model.
31
+ num_attention_heads (`int`, *optional*, defaults to 32):
32
+ Number of attention heads for each attention layer in the Transformer decoder.
33
+ n_shared_experts (`int`, *optional*, defaults to None):
34
+ Number of shared experts, None means dense model.
35
+ n_routed_experts (`int`, *optional*, defaults to None):
36
+ Number of routed experts, None means dense model.
37
+ routed_scaling_factor (`float`, *optional*, defaults to 1.0):
38
+ Scaling factor or routed experts.
39
+ topk_method (`str`, *optional*, defaults to `gready`):
40
+ Topk method used in routed gate.
41
+ n_group (`int`, *optional*, defaults to None):
42
+ Number of groups for routed experts.
43
+ topk_group (`int`, *optional*, defaults to None):
44
+ Number of selected groups for each token(for each token, ensuring the selected experts is only within `topk_group` groups).
45
+ num_experts_per_tok (`int`, *optional*, defaults to None):
46
+ Number of selected experts, None means dense model.
47
+ moe_layer_freq (`int`, *optional*, defaults to 1):
48
+ The frequency of the MoE layer: one expert layer for every `moe_layer_freq - 1` dense layers.
49
+ first_k_dense_replace (`int`, *optional*, defaults to 0):
50
+ Number of dense layers in shallow layers(embed->dense->dense->...->dense->moe->moe...->lm_head).
51
+ \--k dense layers--/
52
+ norm_topk_prob (`bool`, *optional*, defaults to False):
53
+ Whether to normalize the weights of the routed experts.
54
+ scoring_func (`str`, *optional*, defaults to 'softmax'):
55
+ Method of computing expert weights.
56
+ aux_loss_alpha (`float`, *optional*, defaults to 0.001):
57
+ Auxiliary loss weight coefficient.
58
+ seq_aux = (`bool`, *optional*, defaults to True):
59
+ Whether to compute the auxiliary loss for each individual sample.
60
+ num_key_value_heads (`int`, *optional*):
61
+ This is the number of key_value heads that should be used to implement Grouped Query Attention. If
62
+ `num_key_value_heads=num_attention_heads`, the model will use Multi Head Attention (MHA), if
63
+ `num_key_value_heads=1 the model will use Multi Query Attention (MQA) otherwise GQA is used. When
64
+ converting a multi-head checkpoint to a GQA checkpoint, each group key and value head should be constructed
65
+ by meanpooling all the original heads within that group. For more details checkout [this
66
+ paper](https://arxiv.org/pdf/2305.13245.pdf). If it is not specified, will default to
67
+ `num_attention_heads`.
68
+ hidden_act (`str` or `function`, *optional*, defaults to `"silu"`):
69
+ The non-linear activation function (function or string) in the decoder.
70
+ max_position_embeddings (`int`, *optional*, defaults to 2048):
71
+ The maximum sequence length that this model might ever be used with.
72
+ initializer_range (`float`, *optional*, defaults to 0.02):
73
+ The standard deviation of the truncated_normal_initializer for initializing all weight matrices.
74
+ rms_norm_eps (`float`, *optional*, defaults to 1e-06):
75
+ The epsilon used by the rms normalization layers.
76
+ use_cache (`bool`, *optional*, defaults to `True`):
77
+ Whether or not the model should return the last key/values attentions (not used by all models). Only
78
+ relevant if `config.is_decoder=True`.
79
+ pad_token_id (`int`, *optional*):
80
+ Padding token id.
81
+ bos_token_id (`int`, *optional*, defaults to 1):
82
+ Beginning of stream token id.
83
+ eos_token_id (`int`, *optional*, defaults to 2):
84
+ End of stream token id.
85
+ pretraining_tp (`int`, *optional*, defaults to 1):
86
+ Experimental feature. Tensor parallelism rank used during pretraining. Please refer to [this
87
+ document](https://huggingface.co/docs/transformers/parallelism) to understand more about it. This value is
88
+ necessary to ensure exact reproducibility of the pretraining results. Please refer to [this
89
+ issue](https://github.com/pytorch/pytorch/issues/76232).
90
+ tie_word_embeddings (`bool`, *optional*, defaults to `False`):
91
+ Whether to tie weight embeddings
92
+ rope_theta (`float`, *optional*, defaults to 10000.0):
93
+ The base period of the RoPE embeddings.
94
+ rope_scaling (`Dict`, *optional*):
95
+ Dictionary containing the scaling configuration for the RoPE embeddings. Currently supports two scaling
96
+ strategies: linear and dynamic. Their scaling factor must be a float greater than 1. The expected format is
97
+ `{"type": strategy name, "factor": scaling factor}`. When using this flag, don't update
98
+ `max_position_embeddings` to the expected new maximum.
99
+ attention_bias (`bool`, defaults to `False`, *optional*, defaults to `False`):
100
+ Whether to use a bias in the query, key, value and output projection layers during self-attention.
101
+ attention_dropout (`float`, *optional*, defaults to 0.0):
102
+ The dropout ratio for the attention probabilities.
103
+
104
+ ```python
105
+ >>> from transformers import DeepseekV3Model, DeepseekV3Config
106
+
107
+ >>> # Initializing a Deepseek-V3 style configuration
108
+ >>> configuration = DeepseekV3Config()
109
+
110
+ >>> # Accessing the model configuration
111
+ >>> configuration = model.config
112
+ ```"""
113
+
114
+ model_type = "deepseek_v3"
115
+ keys_to_ignore_at_inference = ["past_key_values"]
116
+
117
+ def __init__(
118
+ self,
119
+ vocab_size=129280,
120
+ hidden_size=7168,
121
+ intermediate_size=18432,
122
+ moe_intermediate_size = 2048,
123
+ num_hidden_layers=61,
124
+ num_nextn_predict_layers=1,
125
+ num_attention_heads=128,
126
+ num_key_value_heads=128,
127
+ n_shared_experts = 1,
128
+ n_routed_experts = 256,
129
+ ep_size = 1,
130
+ routed_scaling_factor = 2.5,
131
+ kv_lora_rank = 512,
132
+ q_lora_rank = 1536,
133
+ qk_rope_head_dim = 64,
134
+ v_head_dim = 128,
135
+ qk_nope_head_dim = 128,
136
+ topk_method = 'noaux_tc',
137
+ n_group = 8,
138
+ topk_group = 4,
139
+ num_experts_per_tok = 8,
140
+ moe_layer_freq = 1,
141
+ first_k_dense_replace = 3,
142
+ norm_topk_prob = True,
143
+ scoring_func = 'sigmoid',
144
+ aux_loss_alpha = 0.001,
145
+ seq_aux = True,
146
+ hidden_act="silu",
147
+ max_position_embeddings=4096,
148
+ initializer_range=0.02,
149
+ rms_norm_eps=1e-6,
150
+ use_cache=True,
151
+ pad_token_id=None,
152
+ bos_token_id=0,
153
+ eos_token_id=1,
154
+ pretraining_tp=1,
155
+ tie_word_embeddings=False,
156
+ rope_theta=10000.0,
157
+ rope_scaling=None,
158
+ attention_bias=False,
159
+ attention_dropout=0.0,
160
+ **kwargs,
161
+ ):
162
+ self.vocab_size = vocab_size
163
+ self.max_position_embeddings = max_position_embeddings
164
+ self.hidden_size = hidden_size
165
+ self.intermediate_size = intermediate_size
166
+ self.moe_intermediate_size = moe_intermediate_size
167
+ self.num_hidden_layers = num_hidden_layers
168
+ self.num_nextn_predict_layers = num_nextn_predict_layers
169
+ self.num_attention_heads = num_attention_heads
170
+ self.n_shared_experts = n_shared_experts
171
+ self.n_routed_experts = n_routed_experts
172
+ self.ep_size = ep_size
173
+ self.routed_scaling_factor = routed_scaling_factor
174
+ self.kv_lora_rank = kv_lora_rank
175
+ self.q_lora_rank = q_lora_rank
176
+ self.qk_rope_head_dim = qk_rope_head_dim
177
+ self.v_head_dim = v_head_dim
178
+ self.qk_nope_head_dim = qk_nope_head_dim
179
+ self.topk_method = topk_method
180
+ self.n_group = n_group
181
+ self.topk_group = topk_group
182
+ self.num_experts_per_tok = num_experts_per_tok
183
+ self.moe_layer_freq = moe_layer_freq
184
+ self.first_k_dense_replace = first_k_dense_replace
185
+ self.norm_topk_prob = norm_topk_prob
186
+ self.scoring_func = scoring_func
187
+ self.aux_loss_alpha = aux_loss_alpha
188
+ self.seq_aux = seq_aux
189
+ # for backward compatibility
190
+ if num_key_value_heads is None:
191
+ num_key_value_heads = num_attention_heads
192
+
193
+ self.num_key_value_heads = num_key_value_heads
194
+ self.hidden_act = hidden_act
195
+ self.initializer_range = initializer_range
196
+ self.rms_norm_eps = rms_norm_eps
197
+ self.pretraining_tp = pretraining_tp
198
+ self.use_cache = use_cache
199
+ self.rope_theta = rope_theta
200
+ self.rope_scaling = rope_scaling
201
+ self.attention_bias = attention_bias
202
+ self.attention_dropout = attention_dropout
203
+
204
+ super().__init__(
205
+ pad_token_id=pad_token_id,
206
+ bos_token_id=bos_token_id,
207
+ eos_token_id=eos_token_id,
208
+ tie_word_embeddings=tie_word_embeddings,
209
+ **kwargs,
210
+ )
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "transformers_version": "4.50.0.dev0"
6
+ }
model-00001-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e041cb254564563d6248ee946f7ab1c8f02660927ac5d75a4a878ab49b1a5a18
3
+ size 9985714880
model-00002-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b690654b1d4ba1906e45e3ccc6db99f03d6c5de37416c9c1ad34d1b41aea243
3
+ size 9948112048
model-00003-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8baa47cc313e1b525ec3e5b30eff9e45cb6a4591be3c4308bf4012b20a756421
3
+ size 9982354816
model-00004-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1e39668da2c352ba289e28943e23b7c3ad3cea29586e1f996fd08521428478a
3
+ size 9977341304
model-00005-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2729ddc1c95659739d7cedbcc48cc6657437af9c7576230ddaf5c82c0756413
3
+ size 9977341352
model-00006-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55e9d282aceaa85bfa50dbccd77e9d1b5bfcab0f872af1fd8f653675566e012a
3
+ size 9982485792
model-00007-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca0fa3c4e611e8f157710f1bb7382aeecc2fa5fa879a40f5fb0b2ca19397d7b9
3
+ size 9977341280
model-00008-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2533b461bebd9d834fef2ed89239fa9f41dcb38565c7afd9af6c8d05f6626993
3
+ size 9977341336
model-00009-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15fec6599754122d3aede4a86b78a42d71f8707469b54cb2094e45c2df50306d
3
+ size 9982485840
model-00010-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84abcf73b3ef4b0f6779fb2d6022d88522f7eb723aa030c3f2c121a533348b13
3
+ size 9977341248
model-00011-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7806f2327e5fd4b7a269f1315826ccb797c450a5b20f2e4e1c2cbc84601670d5
3
+ size 9977341424
model-00012-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41c0c47ac746f6257199ad833e00eff5fd286dd9701392f5d3f2092ef6d75d68
3
+ size 9982486208
model-00013-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2cb1632b8f39769f2f51b1438ad6c366242b0900dfbee4b8ee7dc1597106770
3
+ size 9977341560
model-00014-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3c917d09822402b0ae63ea600e9261bd35491ce31e5722f2a0fbd656b7fe2a4
3
+ size 9977341672
model-00015-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8e90fdecdae85b78bf9a911ba3bd760443c42d960c6029d7e9c8c3395865edd
3
+ size 9982486232
model-00016-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecd60de81cbb5dfde0a03f9e92c12620a2da735457ccbc9aea66484c3777f4a7
3
+ size 9977341536
model-00017-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22eec9334cc3e71526c643bfd019f9eb73b38bca0cef47b485579ae9a81950d2
3
+ size 9977341672
model-00018-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:877b880142a6465e62872289b902302be9c44e543ed2f32b9da27225c5cc0234
3
+ size 9982486264
model-00019-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:614c1ce1fc59db612e8b3e3e8ca4a4c264a29ba6171426a6b63610bfc42a0fab
3
+ size 9977341512
model-00020-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79f17fed86bddefca8820644defb81fc536304216405806232dd8ba9eab1c774
3
+ size 9977341664
model-00021-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1195d7eb7308913c0ee02dc5cf2c04c1423c60fda203215771b9fbd4215622db
3
+ size 9977341704
model-00022-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f164cd1dfeb31e6c5b469b1c1ac6eadee1a5e28fa4afc306d428b268982ef56
3
+ size 9982486104
model-00023-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:450b64c904703ce1e81ead00997251324bdd501ce38f9a4c5dc70cae5af729c7
3
+ size 9977341632
model-00024-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d4cf01018acd8e3f925517e8c7a01e5be771569aea2896a46f955e125090b92
3
+ size 9977341672
model-00025-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:505f613a4944bb9711dd25572cc682b767cdd55304fafd379e84fbe8522120b8
3
+ size 9982486160
model-00026-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad70ba2ff0b1b9e8103763a73ff7cfe6b5eddc86c1f296256a3fd378e6b9f012
3
+ size 9977341608
model-00027-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f621aba8a9911eb9451f7b518b7b4b74d03382452c806cef6920cc98efb1daf1
3
+ size 9977341672
model-00028-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25218818f779db9b3477f7e8ec61b6c3d4e56ec3cacbe49a12516a408ecfd693
3
+ size 9982486192
model-00029-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67f0bb6e1b98646016ac5ad7dfc38b2da150d784f2cb04c245f0e2f31f555854
3
+ size 9977341576
model-00030-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:284e1ed6329a067d7ff2f5ec5a9e8972150a7159fde416487d03a1ac202809bf
3
+ size 9977341672
model-00031-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dea2c2a8483af36872d150cbd62da2685855580ea823080b4786dce3cdc7acc
3
+ size 9982486216
model-00032-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d0fef5bf4fccc1da6cbd65e6048a6e8e200923206083992a8ca5aa2fcc3df8b
3
+ size 9977341552
model-00033-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a8cde21fb1e3aff4ca7d5c6a28630c6f558e089097161dceed2d14de0ceb6fa
3
+ size 9977341672
model-00034-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:545bbb4f1e659bb39d13e52267ccbc915d7239f8d4c85c4265804fb8f6260e5e
3
+ size 9982486248
model-00035-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3b09e01f274ad054396cab3ffad412288215a2c11812ba443c635d3bf6ae9b1
3
+ size 9977341520
model-00036-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0035a10e80756cafeb21c9f702f1dc8d8617611c9c330c2a9626bdad443ee3d0
3
+ size 9977341672
model-00037-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27e07bd067aaeb625e9875212e71e4ebef4b1af27194402d78c3aa2a1de0d7fc
3
+ size 9984780584
model-00038-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bcb2e66f1fe116a024a7be9434f5290ebf922791696c79ccb106c883047ace9
3
+ size 9975047200
model-00039-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5264524ee99d1c8e18b4d7be2d426bfe63d6b9a230034f728703a4798a3a1975
3
+ size 9977341648
model-00040-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66e47797857c5bc6fec97c937aef45e7846a29e354f25977272098c6af5c8e75
3
+ size 9977341688
model-00041-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb4e6816c4087d6706903601bc4fa27462fded394bd652ad79d28a4ed93572b8
3
+ size 9982486128
model-00042-of-00086.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6a04d8a88884d34ebca8dc49aa9472565c4349eb6fc417e4d489e4693f7ccdc
3
+ size 9977341624