RepositoryJupyter NotebookUSUnited States
ContextualAI

ContextualAI/gritlm

Generative Representational Instruction Tuning

702stars
50forks
33issues
1views

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ủ đề: sgpt

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: sbert

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: grit

#1 Repository Của Tuần

🚀 GritLM: Mô hình đa năng vừa sinh văn bản vừa tạo embedding

GritLM kết hợp instruction-tuning sinh tạo và embedding trong một mô hình thông qua GRIT.

GritLM là kết quả nghiên cứu Generative Representational Instruction Tuning (GRIT) từ ContextualAI. Thay vì huấn luyện riêng biệt cho hai nhiệm vụ sinh tạo và embedding, GritLM dùng instruction để phân biệt giữa chúng, cho phép một mô hình thực hiện cả hai hiệu quả. Mô hình đạt state-of-the-art trên Massive Text Embedding Benchmark (MTEB) và vượt trội so với các mô hình open-source cùng cỡ trên nhiều tác vụ sinh tạo.

✨ Điểm nổi bật

  • GRIT (Generative Representational Instruction Tuning): Huấn luyện một mô hình vừng xử lý tác vụ sinh tạo vừng tạo embedding.
  • Hỗ trợ cả GritLM-7B và GritLM-8x7B: Phiên bản lớn hơn yêu cầu nhiều GPU nhưng hiệu suất cao hơn.
  • Tương thích với các mô hình khác: Hỗ trợ tải các mô hình như SGPT, Instructor thông qua tham số pooling_method.
  • Tối ưu cho RAG: Tích hợp trực tiếp embedding và sinh tạo trong một mô hình, tăng tốc đến 60%.
  • Caching hỗ dụp: Hỗ trợ lưu cache embedding để tăng tốc inference.
  • Đánh giá đa dạng: Hỗ trợ đánh giá cả embedding và sinh tạo trên nhiều benchmark.

💡 Vì sao đáng chú ý

GritLM khác biệt từ các mô hình truyền thống bằng cách thống nhất hai giai đoạn xử lý thường được tách rời: embedding (truy xuất thông tin) và sinh tạo (tạo văn bản). Nhờ GRIT, mô hình học cách phân biệt chúng qua instruction mà không mất hiệu năng. Điều này đặc biệt hữu ích cho các hệ thống RAG, nơi cần cả truy xuất và sinh tạo — GritLM có thể thay thế cặp mô hình truyền thống, giảm đáng kể chi phí triển khai.


#GRIT #LLM #MTEB #RAG #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryGo
ollama/ollama

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

184.9k
Oct 26, 2026
RepositoryPython
embeddings-benchmark/mteb

MTEB: State-of-the-art evaluation of embeddings across languages and modalities

3.5k
Oct 20, 2026
Modelsentence-similarity
hkunlp/instructor-xl

hkunlp/instructor-xl We introduce Instructor👨‍🏫, an instruction-finetuned text embedding model that can generate text embeddings tailored to any task (e.g., classification, retrieval, clustering, text evaluation, etc.) and domains (e.g., science,...

♥0
6.2k
Jan 21, 2023
Modelsentence-similarity
hkunlp/instructor-large

hkunlp/instructor-large We introduce Instructor👨‍🏫, an instruction-finetuned text embedding model that can generate text embeddings tailored to any task (e.g., classification, retrieval, clustering, text evaluation, etc.) and domains (e.g., scienc...

♥0
258.2k
Apr 21, 2023
RepositoryPython
open-webui/open-webui

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

156.8k
Oct 26, 2026
RepositoryTypeScript
firecrawl/firecrawl

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

195.6k
Oct 26, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

187.7k
Oct 24, 2026
RepositoryPython
Shubhamsaboo/awesome-llm-apps

100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.

143.0k
Oct 22, 2026
RepositoryJupyter Notebook
NirDiamant/RAG_Techniques

This repository showcases various advanced techniques for Retrieval-Augmented Generation (RAG) systems. Each technique has a detailed notebook tutorial.

30.0k
Oct 26, 2026