KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
atari-gpt
★ 12
Open GitHub ↗
atari-gpt
Download README (.md)
Explore Similar Repositories
cookiebox
:
A type safe cookie management crate for the Actix Web framework.
boxfish
:
Universal proxy toolchain
Ymnets.net-
:
Ymnets.net框架文件上传漏洞
lichess-live-win-probability-tutorial
:
No description available.
cfnatA
:
cfnat的安卓系统一键启动包,需要手机有root权限,无惧杀后台,并且多任务界面不会有显示后台
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
atari-gpt
?
Download (.md)
# Atari-GPT This is the official codebase for [Atari-GPT](https://arxiv.org/pdf/2408.15950), a new benchmark for Large Language Models (LLMs) on Atari games. To see more results see our project [webpage](https://dev1nw.github.io/atari-gpt/). ## Set up In order to run the code you need to have an API key for the respective model. To reproduce results from the paper you will need all 3 API keys.     For Google you can get an API key [here](https://ai.google.dev). Once you have this API key put it in a file called GOOGLE_API_KEY.txt.     For Anthropic you can get an API key [here](https://www.anthropic.com/api). Once you have this API key put it in a file called ANTHROPIC_API_KEY.txt.     For OpenAI you can get an API key [here](https://openai.com/api/). Once you have this API key put it in a file called OPENAI_API_KEY.txt. ## Installation To run the code you will need to have Anaconda and run the following commands: <br>    `conda env create --file=environment.yaml` <br>    `conda activate atari_gpt` <br>    `python full_evaluation.py` ## Usage The evaluation script supports several command-line arguments for specific models and environments but defaults to all models and environments: ```bash python full_evaluation.py --provider openai --model_name gpt-4o --games PongDeterministic-v4 BreakoutDeterministic-v4 ``` ### Command-line Arguments - `--provider`: Specify which model provider to use (default: all models) - Available models: `all`, `rand`, `openai`, `gemini`, `claude` - Example: `--models openai claude` - `--model_name`: Specify which model to run (default: None) - Available models: Any model available from the provider, if no model name is provided defaults to GPT-4.1-mini. - Example: `--provider openai --model_name gpt-4.1` or `--provider gemini --model_name gemini-2.5-flash-preview-04-17` - `--games`: Specify which games to evaluate (default: all games) - Example: `--games PongDeterministic-v4 BreakoutDeterministic-v4` - `--output_dir`: Specify the directory to save experiment results (default: ./experiments) - Example: `--output_dir ./my_results` ### Analysis Command-line Arguments - `--input_dir`: Directory containing experiment results (default: ./experiments) - `--output_dir`: Directory to save analysis results (default: ./analysis) - `--models`: Models to include in analysis (default: all models) - `--games`: Games to include in analysis (default: all games) The script generates: 1. Reward curves for each game 2. A bar chart comparing final rewards across games and models 3. A JSON file with summary statistics Example: ```bash python analyze_results.py --models openai gemini --games Pong Breakout ``` ## Citing Atari-GPT ``` @misc{waytowich2024atarigptbenchmarkingmultimodallarge, title={Atari-GPT: Benchmarking Multimodal Large Language Models as Low-Level Policies in Atari Games}, author={Nicholas R. Waytowich and Devin White and MD Sunbeam and Vinicius G. Goecks}, year={2024}, eprint={2408.15950}, archivePrefix={arXiv}, primaryClass={cs.AI}, url={https://arxiv.org/abs/2408.15950}, } ```