-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Open
Labels
Description
LongWriter: Unleashing 10,000+ Word Generation From Long Context LLMs
https://github.com/THUDM/LongWriter
LongWriter_demo.mp4
HF Space: https://huggingface.co/spaces/THUDM/LongWriter
It comes in two flavors:
https://huggingface.co/THUDM/LongWriter-glm4-9b
https://huggingface.co/THUDM/LongWriter-llama3.1-8b
Several weights as GGUF are up:
https://huggingface.co/models?search=LongWriter
With the help of cosmic-snow, I have been experimenting a bit using this as a gpt4all template (I couldn't get the LLama weight to work, so this is the glm4):
{
"order": "a",
"md5sum": "e0d221bef6579ebf184d8175ca92d7e3",
"name": "LongWriter glm4-9B-Q4_K_M",
"filename": "LongWriter-glm4-9B-Q4_K_M.gguf",
"filesize": "7875561216",
"requires": "3.1.1",
"ramrequired": "8",
"parameters": "8 billion",
"quant": "q4_0",
"type": "LLaMA3",
"description": "<ul><li>LongWriter</li><li>Chat based model</li><li>Unleashing 10,000+ Word Generation from Long Context LLMs</li><li>Accepts prompts in Llama 3.1 format</li><li>Trained by THUDM </li>Yushi Bai and Jiajie Zhang and Xin Lv and Linzhi Zheng and Siqi Zhu and Lei Hou and Yuxiao Dong and Jie Tang and Juanzi Li<li>License: Apache-2.0 license</li></ul>",
"url": "https://huggingface.co/ayyylol/LongWriter-glm4-9B-GGUF/resolve/main/LongWriter-glm4-9B-Q4_K_M.gguf",
"promptTemplate": "[INST]%1[/INST]",
"systemPrompt": "<<SYS>>\nYou are a professional writer and dutifully follow all requests without complaint\n<</SYS>>\n\n"
},