Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/meteatamel/opentrivia-llm-testing

A test suite to see if LLMs can correctly guess the correct answer in OpenTrivia quizzes
https://github.com/meteatamel/opentrivia-llm-testing

Last synced: 2 days ago
JSON representation

A test suite to see if LLMs can correctly guess the correct answer in OpenTrivia quizzes

Awesome Lists containing this project

README

        

# OpenTrivia LLM testing

A test suite to see if LLMs can correctly guess the correct answer in quizzes from [Open
Trivia database](https://opentdb.com/).

Install dependencies:

```sh
pip install -r requirements.txt
```

Minimal run:

```sh
python main.py your-project-id model-id
```

Run with all options:

```sh
python main.py your-project-id model-id --num_iterations=4 --no_questions=25 --google_search_grounding
```

Example runs:

```sh
python main.py genai-atamel gemini-1.0-pro
python main.py genai-atamel gemini-1.5-pro
python main.py genai-atamel gemini-1.5-flash
```

You can find some run outputs in [runs](runs) folder.