mlc-ai/xgrammar
Fast, Flexible and Portable Structured Generation
- Stars
- 2.0k
- Forks
- 244
- Open issues
- 51
- Last push
- 4d ago
About xgrammar
xgrammar is a free, open-source LLM chat app by mlc-ai, written mainly in Python. Fast, Flexible and Portable Structured Generation. It has 2.0k GitHub stars and 244 forks, and was last updated 4d ago. It's released under the Apache-2.0 license, a standard open-source license. According to the project, it works on macOS.
- License
- Apache-2.0
- Language
- Python
- Stars
- 1,972
- Last update
- 4d ago
- Runs on Mac
- Yes (as stated by the project)
- GPU
- Not stated
- Paid API key
- Not required
- Self-hostable
- Yes
Similar free tools
Hands-On-Large-Language-Models30k stars · Official code repo for the O'Reilly Book - "Hands-On Large Language Models"
Qwen22k stars · The official repo of Qwen (通义千问) chat & pretrained large language model proposed by Alibaba Cloud.
langextract39k stars · A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization.
FinGPT21k stars · FinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the trained model on HuggingFace.
MOSS12k stars · An open-source, tool-augmented conversational language model from Fudan University
gpt_academic72k stars · 为GPT/GLM等LLM大语言模型提供实用化交互接口,特别优化论文阅读/润色/写作体验,模块化设计,支持自定义快捷按钮&函数插件,支持Python和C++等项目剖析&自译解功能,PDF/LaTex论文翻译&总结功能,支持并行问询多种LLM模型,支持chatglm3等本地模型。接入通义千问, deepseekcoder, 讯飞星火, 文心一言, llama2, rwkv, claude2, moss
xgrammar FAQ
Is xgrammar free?
Yes. xgrammar is open source and free to use. It's released under the Apache-2.0 license, a standard open-source license.
Does xgrammar run on a Mac?
Yes. According to the project, xgrammar works on macOS.
Does xgrammar need a GPU?
The project doesn't state hardware needs. AI models generally run much faster with a GPU.
Is xgrammar still maintained?
Yes. It was last updated 4d ago and has 51 open issues on GitHub.
What are alternatives to xgrammar?
Similar free, open-source tools include Hands-On-Large-Language-Models, Qwen, langextract, FinGPT.