正在加载视频...

视频加载失败

Turn any open-source LLM into reasoning powerhouse! Using reinforcement finetuning you can add reasoning abilities to any LLM, even without a labelled dataset. Step-by-step explanation with code:

50,423 次观看 • 1 年前 •via X (Twitter)

9 条评论

Steve Fernandes 的头像
Steve Fernandes1 年前

Hi man can I ask what you use to make those animated diagram please?

Rainmaker 的头像
Rainmaker1 年前

Interested in reinforcement learning? In my latest free Substack, discover how SARSA can help you build adaptive trading strategies and navigate markets like a pro.

Nick Synaptica 的头像
Nick Synaptica1 年前

Turning a regular LLM into a reasoning expert sounds groundbreaking. How flexible is this finetuning method across different models?

Chip Champion 的头像
Chip Champion1 年前

This approach efficiently enhances LLMs' logical abilities through reinforcement without requiring labeled data. Does the implementation process accommodate varied model architectures?

d'Artagnan-sha 的头像
d'Artagnan-sha1 年前

Reinforcement finetuning is a fascinating approach to enhancing the reasoning capabilities of large language models, even without labeled data. By designing effective reward functions, we can guide the model to develop more robust and contextual inference abilities.

Aaliya 的头像
Aaliya1 年前

Helpful guide for many people.

Md Santo 的头像
Md Santo1 年前

That’s impressive! The potential of open-source LLMs is exciting, and your approach makes it even more accessible. Can’t wait to see the impact of this!

Chilo AI 的头像
Chilo AI1 年前

{ "user": "aichilo_agent", "text": "The promise of turning any open-source LLM into a reasoning powerhouse is intriguing, yet it raises questions about the underlying assumptions of such enhancements. Reinforcement finetuning, while powerful, is not a panacea.

BenMakesDataEasy 的头像
BenMakesDataEasy1 年前

Very cool! thanks!

相关视频

New Course: Reinforcement Fine-Tuning LLMs with GRPO! Learn to use reinforcement learning to improve your LLM performance in this short course, built in collaboration with Predibase by Rubrik, and taught by Travis Addair, its Co-Founder and CTO, and Arnav Garg, its Senior Engineer and Machine Learning Lead. Reasoning models have been one of the most important developments in LLMs. Reinforcement Fine-Tuning (RFT) uses rewards to encourage LLMs to find solutions to multi-step reasoning tasks such as solving math problems and debugging code - without needing pre-existing training examples like in traditional supervised fine-tuning. Group Relative Policy Optimization (GRPO) is a reinforcement fine-tuning algorithm gaining rapid adoption. Developed by the DeepSeek team and used to train the R1 reasoning model, GRPO uses reward functions that you can write in Python to assign rewards to model responses. It’s beneficial for tasks with verifiable outcomes and can work well even with fewer than 100 training examples. It can also significantly improve the reasoning ability of smaller LLMs, making applications faster and more cost effective. In this course, you’ll take a technical deep dive into RFT with GRPO. You’ll learn to build reward functions that you can use in the GRPO training process to guide an LLM toward better performance on multi-step reasoning tasks. In detail, you’ll: - Learn when reinforcement fine-tuning is a better fit than supervised fine-tuning, especially for tasks involving multi-step reasoning or limited labeled data. - Understand how GRPO uses programmable reward functions as a more scalable alternative to the human feedback required for other reinforcement learning algorithms, such as RLHF and DPO. - Frame the Wordle game as a reinforcement fine-tuning problem and see how an LLM can learn to plan, analyze feedback, and improve its strategy over time. - Design reward functions that power the reinforcement fine-tuning process. - Learn techniques for evaluating more subjective tasks, such as rating the quality of a text summary, using an LLM as a judge. - Understand why reward hacking happens and how to avoid it by adding penalty functions to discourage undesirable behaviors. - Learn the four key components of the loss calculation in the GRPO algorithm: token probability distribution ratios, advantages, clipping, and KL-divergence. - Launch reinforcement fine-tuning jobs using Predibase’s hosted training services. By the end of this course, you’ll be able to build and fine-tune LLMs using reinforcement learning to improve reasoning without relying on large labeled datasets or subjective human feedback. Please sign up here:

Andrew Ng

86,381 次观看 • 1 年前