Skip to content

modulai/hackaton_2025_team_4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twenty questions - team 4

Setup

Prerequisites

  • uv package manager (brew install uv)

Usage

Run baseline QWEN model: uv run src/twenty_questions/qwen_player.py --url http://twenty-questions-alb-1736724246.eu-north-1.elb.amazonaws.com:8000/

Run Claude 3.5 Sonnet: uv run src/twenty_questions/qwen_player.py --url http://twenty-questions-alb-1736724246.eu-north-1.elb.amazonaws.com:8000/ --model claude

Generate dataset: uv run src/twenty_questions/dataset_generator.py

Note that each time you run the dataset generator, three "games" will be played against the same noun. The first game will be played by QWEN (bad generation of questions) and the following two games will be played by Claude 3.5 Sonnet (good generation of questions).

Each time you run it, rows will be appended to the "game_results.csv" file.

Finetuning with deepspeed

deepspeed --num_gpus 4 src/finetune/qwen_finetune.py

About

Team 4 solution to hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%