paper-with-me

홈 › Papers

Generative Representational Instruction Tuning

2024-02-15 · Niklas Muennighoff, Hongjin Su, Liang Wang, Nan Yang, Furu Wei, Tao Yu, Amanpreet Singh, Douwe Kiela

All text-based language problems can be reduced to either generation or embedding. Current models only perform well at one or the other. We introduce generative representational instruction tuning (GRIT) whereby a large language model is trained to handle both generative and embedding tasks by distinguishing between them through instructions. Compared to other open models, our resulting GritLM 7B sets a new state of the art on the Massive Text Embedding Benchmark (MTEB) and outperforms all models up to its size on a range of generative tasks. By scaling up further, GritLM 8x7B outperforms all open generative language models that we tried while still being among the best embedding models. Notably, we find that GRIT matches training on only generative or embedding data, thus we can unify both at no performance loss. Among other benefits, the unification via GRIT speeds up Retrieval-Augmented Generation (RAG) by > 60% for long documents, by no longer requiring separate retrieval and generation models. Models, code, etc. are freely available at https://github.com/ContextualAI/gritlm.

📄 PDF Abstract BibTeX arXiv:2402.09906

Code (2)

contextualai/gritlm 공식 구현 jax
muennighoff/sgpt jax

Tasks

Language ModelingLanguage ModellingLarge Language ModelRAGRetrievalRetrieval-augmented Generation

Similar Papers 제목 키워드 기반

LuxInstruct: A Cross-Lingual Instruction Tuning Dataset For Luxembourgish

2025-10-08 · Fred Philippy, Laura Bernardy, Siwen Guo, Jacques Klein 외 arxiv

Instruction tuning has become a key technique for enhancing the performance of large language models, enabling them to better follow human prompts. However, low-resource languages such as Luxembourgish face severe limita…

Machine Translation

InstructMoLE: Instruction-Guided Mixture of Low-rank Experts for Multi-Conditional Image Generation

2025-12-25 · Jinqi Xiao, Qing Yan, Liming Jiang, Zichuan Liu 외 arxiv

Parameter-Efficient Fine-Tuning of Diffusion Transformers (DiTs) for diverse, multi-conditional tasks often suffers from task interference when using monolithic adapters like LoRA. The Mixture of Low-rank Experts (MoLE) …

parameter-efficient fine-tuningConditional Image Generation

Instruction-tuning Aligns LLMs to the Human Brain

2023-12-01 · Khai Loong Aw, Syrielle Montariol, Badr AlKhamissi, Martin Schrimpf 외

Instruction-tuning is a widely adopted finetuning method that enables large language models (LLMs) to generate output that more closely resembles human responses. However, no studies have shown that instruction-tuning ac…

Natural Language QueriesWorld Knowledge

CAFe: Unifying Representation and Generation with Contrastive-Autoregressive Finetuning

2025-03-25 · Hao Yu, Zhuokai Zhao, Shen Yan, Lukasz Korycki 외

The rapid advancement of large vision-language models (LVLMs) has driven significant progress in multimodal tasks, enabling models to interpret, reason, and generate outputs across both visual and textual domains. While …

HallucinationLanguage ModelingLanguage ModellingObject Hallucination+2

Cat, Rat, Meow: On the Alignment of Language Model and Human Term-Similarity Judgments

2025-04-10 · Lorenz Linhardt, Tom Neuhäuser, Lenka Tětková, Oliver Eberle

Small and mid-sized generative language models have gained increasing attention. Their size and availability make them amenable to being analyzed at a behavioral as well as a representational level, allowing investigatio…

Language ModelingLanguage ModellingTriplet