Recent submissions

Comment · 7 months ago
Comment · 1 year ago
LLMs improve when they can practice and reason in interactive environments.

Recent work (DeepSeek-R1, GRPO) shows RL can teach models to prefer better outputs by giving rewards.

But most RL environments for LLMs are fragmented or closed. That makes it hard for the community to experiment or reproduce results.

Environments Hub is a new open platform by Prime Intellect where anyone can share RL environments for training or evaluating LLMs. Think of them as software packages: data, harness and scoring rules.

Agents today incorporate models and tools (from APIs to a terminal), so environments need to capture that complexity.

I wrote a hands-on walkthrough covering:

  - RL + LLM basics

  - Navigating the Environments Hub

  - Evaluating models and agents

  - GRPO-style training of a tiny model on an alphabetical sort task
If you want to experiment with RL for LLMs or just see how open environments can accelerate learning, this walkthrough is a practical starting point.
Comment · 1 year ago
Comment · 1 year ago
Comment · 3 years ago
I recently conducted some experiments with Llama2 and Haystack (https://github.com/deepset-ai/haystack), the NLP/LLM framework.

The notebook can be helpful for those trying to load Llama2 on Colab.

1) Installed Transformers from the main branch (and other libraries)

2) Loaded Llama-2-13b-chat-hf on Colab using 4-bit quantizazion, thanks to the material shared by Younes Belkada

3) Disabled Tensor Parallelism, which caused some issues

4) Installed a minimal version of Haystack

5) Found a hacky way to load the model in Haystack's PromptNode

6) Had a fun chat session with the model, discussing everything from David Guetta to Don Matteo (an Italian TV series)!

Comment · 3 years ago
In my experience, Argilla is a good open source platform for datacentric NLP. And these features are a great addition... Have you tried it?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton