stanfordnlp / pyreft
ReFT: Representation Finetuning for Language Models
☆1,159Updated 2 weeks ago
Related projects ⓘ
Alternatives and complementary repositories for pyreft
- Distilabel is a framework for synthetic data and AI feedback for engineers who need fast, reliable and scalable pipelines based on verifi…☆1,634Updated this week
- Lighteval is your all-in-one toolkit for evaluating LLMs across multiple backends☆811Updated this week
- A library with extensible implementations of DPO, KTO, PPO, ORPO, and other human-aware loss functions (HALOs).☆744Updated this week
- Freeing data processing from scripting madness by providing a set of platform-agnostic customizable pipeline processing blocks.☆2,045Updated this week
- ☆451Updated 3 weeks ago
- Evaluate your LLM's response with Prometheus and GPT4 💯☆797Updated 2 months ago
- Implementation of the training framework proposed in Self-Rewarding Language Model, from MetaAI☆1,336Updated 7 months ago
- Official repository for ORPO☆421Updated 5 months ago
- Code for 'LLM2Vec: Large Language Models Are Secretly Powerful Text Encoders'☆1,296Updated last month
- Minimalistic large language model 3D-parallelism training☆1,260Updated this week
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.☆647Updated last month
- TextGrad: Automatic ''Differentiation'' via Text -- using large language models to backpropagate textual gradients.☆1,824Updated 2 weeks ago
- Generative Representational Instruction Tuning☆567Updated this week
- The official implementation of Self-Play Fine-Tuning (SPIN)☆1,045Updated 6 months ago
- A lightweight, low-dependency, unified API to use all common reranking and cross-encoder models.☆1,095Updated last week
- A library for advanced large language model reasoning☆1,442Updated last week
- Official implementation of "Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling"☆803Updated 3 months ago
- Fast lexical search implementing BM25 in Python using Numpy, Numba and Scipy☆899Updated last week
- YaRN: Efficient Context Window Extension of Large Language Models☆1,353Updated 7 months ago
- ☆935Updated 2 weeks ago
- [ICML'24 Spotlight] LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuning☆613Updated 5 months ago
- Codebase for Merging Language Models (ICML 2024)☆774Updated 6 months ago
- DataDreamer: Prompt. Generate Synthetic Data. Train & Align Models. 🤖💤☆845Updated 3 months ago
- A family of open-sourced Mixture-of-Experts (MoE) Large Language Models☆1,391Updated 8 months ago
- Chat Templates for 🤗 HuggingFace Large Language Models☆537Updated 3 weeks ago
- ☆1,271Updated this week
- Doing simple retrieval from LLM models at various context lengths to measure accuracy☆1,565Updated 3 months ago
- Best practices for distilling large language models.☆397Updated 9 months ago
- Code for Quiet-STaR☆651Updated 3 months ago