docs: enhance README with demo GIF

main
thinhlpg 4 weeks ago
parent 89e07bc02d
commit ad18169d77

@ -12,6 +12,10 @@ ReZero trains a small language model to develop effective search behaviors inste
## Quick Demo 🚀 ## Quick Demo 🚀
<div align="center">
<img src="assets/demo.gif" alt="ReZero Demo" width="1000px">
</div>
Run the interactive web interface to see ReZero in action: Run the interactive web interface to see ReZero in action:
```bash ```bash
@ -22,12 +26,24 @@ This will launch a Gradio interface where you can interact with the model and te
## Setup 🛠️ ## Setup 🛠️
Clone and install:
```bash ```bash
# Clone the repository
git clone https://github.com/menloresearch/ReZero git clone https://github.com/menloresearch/ReZero
cd ReZero cd ReZero
# Create virtual environment
python -m venv .venv
# Activate the environment
source .venv/bin/activate
# Install dependencies
pip install --upgrade pip
pip install -e . pip install -e .
# Set up environment variables (required for websearch demo)
cp .env.example .env
# Edit .env and add your Tavily API key if you want to use the websearch demo
``` ```
## Data and Training 🧠 ## Data and Training 🧠
@ -38,6 +54,12 @@ All necessary training data is included in the `data/` folder. To train:
python train_grpo.py python train_grpo.py
``` ```
If you want to regenerate the data, please run:
```bash
python scripts/generate_data.py
```
## Models 🤖 ## Models 🤖
You can find our models on Hugging Face 🤗! We're committed to open-source and easy access for the research community. You can find our models on Hugging Face 🤗! We're committed to open-source and easy access for the research community.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

Loading…
Cancel
Save