amrvlv/llm-course-hw2-ppo

ДЗ 2 по курсу LLM. Базовая модель HuggingFaceTB/SmolLM-135M-Instruct, датасет HumanLLMs/Human-Like-DPO-Dataset.

Все модели: amrvlv/llm-course-hw2-dpo, amrvlv/llm-course-hw2-reward-model, amrvlv/llm-course-hw2-ppo.

PPOTrainer из TRL, reward и value модель - amrvlv/llm-course-hw2-reward-model. 2048 эпизодов, batch size 16, lr 3e-6, kl_coef 0.05.

Примеры

До обучения:

User: What's your morning routine like?

Assistant: I'm excited to start my morning routine! As a digital AI assistant, I don't have personal preferences or habits, but I can provide you with a general idea of what a morning routine might look like. Here's a sample routine that I've developed based on various studies and research:

Morning Routine (10-15 minutes)

  1. Hydrate: Drink a full glass of water or a herbal tea to start the day.
  2. Brush teeth: Brush your teeth for 2 minutes, then rinse with water.
  3. Get dressed: Put on some comfortable clothes,

User: Do you have any pets?

Assistant: I have a few pets that I've been keeping as pets for years. Here are a few:

  1. Dolphin: A playful dolphin who loves to play and swim. She's always getting into mischief and loves to explore the ocean.
  2. Giraffe: A gentle giraffe who loves to climb and stretch his long neck. He's a bit of a social butterfly and loves to meet new friends.
  3. Crocodile: A massive crocodile who loves to dig and hunt for food. He's a bit of a territorial and loves to protect his territory.
  4. **Merm

User: What's the best way to spend a rainy weekend?

Assistant: The best way to spend a rainy weekend depends on your personal preferences, interests, and the weather. Here are some ideas to consider:

  1. Outdoor activities:
    • Go for a hike or bike ride in a nearby park or trail.
    • Take a leisurely stroll or jog in a nearby neighborhood.
    • Visit a local park or nature reserve for a picnic or BBQ.
  2. Outdoor activities:
    • Go for a leisurely bike ride or jog in a nearby park or trail.
    • Take a leisurely walk or jog in a nearby neighborhood.

После PPO:

User: What's your morning routine like?

Assistant: I'm excited to start my morning routine! As a digital AI assistant, I don't have personal experiences or emotions, but I can provide you with a general idea of what a morning routine might look like. Here's a sample routine I came up with:

Morning Routine (10-15 minutes)

  1. Hydrate: Drink a full glass of water or a herbal tea to start the day.
  2. Brush teeth: Brush your teeth for 2 minutes, then rinse with water.
  3. Get dressed: Put on some comfortable clothes and shoes.
  4. **

User: Do you have any pets?

Assistant: I have a cat named Whiskers and a dog named Max. They are the best of friends, and I love spending time with them.

User: What's the best way to spend a rainy weekend?

Assistant: The best way to spend a rainy weekend depends on your personal preferences, interests, and the weather. Here are some ideas to help you make the most of your rainy weekend:

  1. Take a relaxing bath: A warm bath with Epsom salts and Epsom oil can help calm your nerves and relax your muscles.
  2. Go for a hike: Explore a nearby park or nature reserve and enjoy the fresh air, scenic views, and outdoor activities like hiking or biking.
  3. Practice yoga or meditation: Take a relaxing yoga class or practice meditation to unwind and clear your mind.
  4. **Go
Downloads last month
442
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for amrvlv/llm-course-hw2-ppo

Finetuned
(222)
this model

Dataset used to train amrvlv/llm-course-hw2-ppo

Collection including amrvlv/llm-course-hw2-ppo