| FROM codegeex4_9b-all-q3_K_M | |
| TEMPLATE """[gMASK]<sop>{{ if .System }}<|system|> | |
| {{ .System }}{{ end }}{{ if .Prompt }}<|user|> | |
| {{ .Prompt }}{{ end }}<|assistant|> | |
| {{ .Response }}""" | |
| SYSTEM """You are a helpful AI assistant. The user you are helping speaks Traditional Chinese and comes from Taiwan.""" | |
| PARAMETER num_gpu -1 | |
| PARAMETER temperature 0.01 | |
| PARAMETER penalize_newline false | |
| PARAMETER repeat_penalty 1 | |
| PARAMETER stop <|system|> | |
| PARAMETER stop <|user|> | |
| PARAMETER stop <|assistant|> | |
| LICENSE """The glm-4-9b License | |
| 1. 定義 | |
| 「許可方」是指分發其軟件的 glm-4-9b 模型團隊。 | |
| 「軟件」是指根據本許可提供的 glm-4-9b 模型參數。 | |
| 2. 許可授予 | |
| 根據本許可的條款和條件,許可方特此授予您非排他性、全球性、不可轉讓、不可再許可、可撤銷、免版稅的版權許可。 | |
| 本許可允許您免費使用本倉庫中的所有開源模型進行學術研究,對於希望將模型用於商業目的的用戶,需在[這裡](https://open.bigmodel.cn/mla/form)完成登記。經過登記的用戶可以免費使用本模型進行商業活動,但必須遵守本許可的所有條款和條件。 | |
| 上述版權聲明和本許可聲明應包含在本軟件的所有副本或重要部分中。 | |
| 如果您分發或提供 THUDM / 智譜AI 關於 glm-4 開源模型的材料(或其任何衍生作品),或使用其中任何材料(包括 glm-4 系列的所有開源模型)的產品或服務,您應: | |
| (A) 隨任何此類 THUDM / 智譜AI 材料提供本協議的副本; | |
| (B) 在相關網站、用戶界面、博客文章、關於頁面或產品文檔上突出顯示 「Built with glm-4」。 | |
| 如果您使用 THUDM / 智譜AI的 glm-4 開源模型的材料來創建、訓練、微調或以其他方式改進已分發或可用的 AI 模型,您還應在任何此類 AI 模型名稱的開頭添加 「glm-4」。 | |
| 3. 限制 | |
| 您不得出於任何軍事或非法目的使用、複製、修改、合併、發佈、分發、複製或創建本軟件的全部或部分衍生作品。 | |
| 您不得利用本軟件從事任何危害國家安全和國家統一,危害社會公共利益及公序良俗,侵犯他人商業秘密、知識產權、名譽權、肖像權、財產權等權益的行為。 | |
| 您在使用中應遵循使用地所適用的法律法規政策、道德規範等要求。 | |
| 4. 免責聲明 | |
| 本軟件「按原樣」提供,不提供任何明示或暗示的保證,包括但不限於對適銷性、特定用途的適用性和非侵權性的保證。 | |
| 在任何情況下,作者或版權持有人均不對任何索賠、損害或其他責任負責,無論是在合同訴訟、侵權行為還是其他方面,由軟件或軟件的使用或其他交易引起、由軟件引起或與之相關 | |
| 軟件。 | |
| 5. 責任限制 | |
| 除適用法律禁止的範圍外,在任何情況下且根據任何法律理論,無論是基於侵權行為、疏忽、合同、責任或其他原因,任何許可方均不對您承擔任何直接、間接、特殊、偶然、示範性、 | |
| 或間接損害,或任何其他商業損失,即使許可人已被告知此類損害的可能性。 | |
| 6. 爭議解決 | |
| 本許可受中華人民共和國法律管轄並按其解釋。 因本許可引起的或與本許可有關的任何爭議應提交北京市海澱區人民法院。 | |
| 請注意,許可證可能會更新到更全面的版本。 有關許可和版權的任何問題,請通過 license@zhipuai.cn 與我們聯繫。 | |
| 1. Definitions | |
| “Licensor” means the glm-4-9b Model Team that distributes its Software. | |
| “Software” means the glm-4-9b model parameters made available under this license. | |
| 2. License | |
| Under the terms and conditions of this license, the Licensor hereby grants you a non-exclusive, worldwide, non-transferable, non-sublicensable, revocable, royalty-free copyright license. | |
| This license allows you to use all open source models in this repository for free for academic research. For users who wish to use the models for commercial purposes, please do so [here](https://open.bigmodel.cn/mla/form) | |
| Complete registration. Registered users are free to use this model for commercial activities, but must comply with all terms and conditions of this license. | |
| The copyright notice and this license notice shall be included in all copies or substantial portions of the Software. | |
| If you distribute or provide THUDM / Zhipu AI materials on the glm-4 open source model (or any derivative works thereof), or products or services that use any materials therein (including all open source models of the glm-4 series), you should: | |
| (A) Provide a copy of this Agreement with any such THUDM/Zhipu AI Materials; | |
| (B) Prominently display "Built with glm-4" on the relevant website, user interface, blog post, related page or product documentation. | |
| If you use materials from THUDM/Zhipu AI's glm-4 model to create, train, operate, or otherwise improve assigned or available AI models, you should also add "glm-4" to the beginning of any such AI model name. | |
| 3. Restrictions | |
| You are not allowed to use, copy, modify, merge, publish, distribute, copy or create all or part of the derivative works of this software for any military or illegal purposes. | |
| You are not allowed to use this software to engage in any behavior that endangers national security and unity, endangers social public interests and public order, infringes on the rights and interests of others such as trade secrets, intellectual property rights, reputation rights, portrait rights, and property rights. | |
| You should comply with the applicable laws, regulations, policies, ethical standards, and other requirements in the place of use during use. | |
| 4. Disclaimer | |
| THE SOFTWARE 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 AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | |
| COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | |
| OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 5. Limitation of Liability | |
| EXCEPT TO THE EXTENT PROHIBITED BY APPLICABLE LAW, IN NO EVENT AND UNDER NO LEGAL THEORY, WHETHER BASED IN TORT, | |
| NEGLIGENCE, CONTRACT, LIABILITY, OR OTHERWISE WILL ANY LICENSOR BE LIABLE TO YOU FOR ANY DIRECT, INDIRECT, SPECIAL, | |
| INCIDENTAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, OR ANY OTHER COMMERCIAL LOSSES, EVEN IF THE LICENSOR HAS BEEN ADVISED | |
| OF THE POSSIBILITY OF SUCH DAMAGES. | |
| 6. Dispute Resolution | |
| This license shall be governed and construed in accordance with the laws of People’s Republic of China. Any dispute | |
| arising from or in connection with this License shall be submitted to Haidian District People's Court in Beijing. | |
| Note that the license is subject to update to a more comprehensive version. For any questions related to the license and | |
| copyright, please contact us at license@zhipuai.cn. | |
| """ |