Quay lại Trending
Modelimage-text-to-text
prism-ml

prism-ml/Ternary-Bonsai-2-2B-gguf

Prism ML Website  |  Demo & Examples  |  Discord Bonsai 2 Ternary 2B: GGUF A 2B-class vision-language model with ternary transformer weights, for llama.cpp (CUDA, Metal, CPU). ~0.52 GB language model (PQ20), down from ~3.8 GB...

63thích
2.1Mtải xuống
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: base_model:Qwen/Qwen3.5-2B

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: base_model:quantized:Qwen/Qwen3.5-2B

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: base_model:quantized:Qwen/Qwen3.5-2B

#1 Repository của tháng

🚀 Bonsai 2 Ternary 2B: GGUF — Mô hình ngôn ngữ hình ảnh 2B với trọng số ba trị

Mô hình ngôn ngữ hình ảnh 2B chỉ 0.52 GB nhờ nén trọng số ba trị (ternary) và gói đóng GGUF tùc thì trên llama.cpp.

Bonsai 2 Ternary 2B: GGUF là một mô hình ngôn ngữ hình ảnh (vision-language) cỡ 2 tỷ tham số, sử dụng trọng số ba trị (ternary: {-1, 0, +1}) thay vì FP16 truyền thống. Dự án do Prism ML phát triển, tích hợp kernel tùy chỉnh trong nhánh PrismML-Eng/llama.cpp, hỗ trợ chạy trên CUDA, Metal và CPU thông qua định dạng GGUF. Kế thừa kiến trúc Qwen3.5-2B với 262K-token ngữ cảnh, mô hình giảm kích thước từ ~3.8GB xuống ~0.52GB mà không mất quá nhiều chất lượng.

✨ Điểm nổi bật

  • Trọng số ba trị (ternary): Toàn bộ trọng số nhúng, attention, MLP và LM head đều được lưu dưới dạng ba trị {-1, 0, +1} với tỉ lệ FP16 nhóm.
  • Ba định dạng GGUF tùy chọn: PTQ1_0 (0.43 GB), PQ2_0 (0.52 GB) và Q2_0 (0.55 GB), mỗi định dạng tối ưu tốc độ kernel khác nhau.
  • Hỗ trợ đầu vào hình ảnh: Thông qua mmproj riêng (Q8_0 hoặc BF16), chỉ tải khi có ảnh đầu vào.
  • Ngữ cảnh dài 262K token: Kế thừa từ nền tảng Qwen3.5-2B với hybrid attention (18 lớp attention tuyến tính + 6 lớp full attention).
  • Kernel tùy chỉnh: Chạy trực tiếp trên llama.cpp nhờ PrismML fork, hỗ trợ CUDA, Metal và CPU.
  • Tối ưu bộ nhớ: Chỉ 0.52 GB cho bản ghi PQ2_0 so với ~3.8 GB ở FP16.

💡 Vì sao đáng chú ý

Không chỉ là mô hình nhỏ hơn, Bonsai 2 Ternary 2B mang đến cách tiếp cận hoàn toàn mới với việc biểu diễn trọng số ba trị trong các mô hình ngôn ngữ lớn. Nhờ kernel tùy chỉnh và gói đóng GGUF hiệu quả, mô hình có thể chạy trên thiết bị đầu cuối (on-device) mà vẫn duy trì hiệu suất cao. Đây là lựa chọn lý tưởng cho các ứng dụng cần xử lý đa phương tiện (hình ảnh + văn bản) trên môi trường có giới hạn tài nguyên như máy tính cá nhân, điện thoại thông minh hoặc thiết bị IoT.


#TernaryAI #GGUF #llama.cpp #VisionLanguage #PrismML #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

Modelimage-text-to-text
huihui-ai/Huihui-Qwen3.8-27B-abliterated-GGUF

huihui-ai/Huihui-Qwen3.8-27B-abliterated-GGUF This is an uncensored version of Qwen/Qwen3.8-27B(https://huggingface.co/Qwen/Qwen3.8-27B) created with abliteration (see remove-refusals-with-transformers(https://github.com/Sumandora/remove-refusals-wi...

♥0
4.7M
Nov 15, 2026
Modeltext-generation
prism-ml/Ternary-Bonsai-2-27B-gguf

Prism ML Website  |  Whitepaper  |  Demo & Examples  |  Discord Bonsai 2 27B — GGUF Full 27B-class reasoning in ternary transformer weights, for llama.cpp (CUDA, Metal, CPU) \~9.3x smaller than FP16 (ideal) | 98.2%...

♥0
1.2M
Nov 4, 2026
Modeltext-generation
prism-ml/Ternary-Bonsai-27B-gguf

Prism ML Website  |  Whitepaper  |  Demo & Examples  |  Discord Ternary Bonsai 27B — GGUF Full 27B-class reasoning in ternary transformer weights, for llama.cpp (CUDA, Metal, CPU) \~9.4x smaller than FP16 (ideal) |...

♥0
26.9k
Aug 31, 2026
Modeltext-generation
prism-ml/Ternary-Bonsai-2.5-27B-GGUF

Prism ML Website  |  Whitepaper  |  Demo & Examples  |  Discord Ternary Bonsai 2.5 27B — GGUF A 27B ternary model built for agents, for llama.cpp (CUDA, Metal, CPU) \~9× smaller than FP16 | FP16-level agentic tool c...

♥0
881.1k
Nov 24, 2026
Modelimage-text-to-text
autotrust/JEV-27B-VL

autotrust/JEV-27B-VL JEV-27B that can see: the same System 1 decisions and System 2, now on images autotrust/JEV-27B-VL is autotrust/JEV-27B(https://huggingface.co/autotrust/JEV-27B) with vision. | | what it does | output | |---|---|---| | System 1...

♥0
63.7k
Oct 14, 2026
Modelimage-text-to-text
HauhauCS/Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive

Qwen3.6-35B-A3B-Uncensored-HauhauCS-Aggressive Join the Discord(https://discord.gg/SZ5vacTXYf) for updates, roadmaps, projects, or just to chat. Qwen3.6-35B-A3B uncensored by HauhauCS. 0/465 Refusals. HuggingFace's "Hardware Compatibility" widget do...

♥0
1.4M
Apr 17, 2026
Modelimage-text-to-text
prism-ml/Ternary-Bonsai-2-9B-gguf

Prism ML Website  |  Demo & Examples  |  Discord Bonsai 2 Ternary 9B: GGUF A 9B-class vision-language model with ternary transformer weights, for llama.cpp (CUDA, Metal, CPU). ~2.42 GB language model (PQ20), down from ~17.9 G...

♥0
2.2M
Nov 4, 2026
Modelimage-text-to-text
Qwen/Qwen3.8-27B

Qwen3.8-27B !Note This repository contains model weights and configuration files for the post-trained model in the Hugging Face Transformers format. These artifacts are compatible with Hugging Face Transformers, vLLM, SGLang, TokenSpeed, etc. !Tip F...

♥0
4.8M
Nov 7, 2026
Modelimage-text-to-text
empero-ai/Qwythos-9B-Claude-Mythos-5-1M-GGUF

🚨 v2 released — please redownload the GGUFs The v2 GGUFs replace the original normal filenames and add explicit -MTP- variants. If you downloaded this repo before v2, please redownload your GGUF. Fixes in v2: - tokenizer metadata normalized for Qwe...

♥0
138.3k
Jul 14, 2026