Solveit commited on
Commit ·
eb540a5
1
Parent(s): 25f3af2
update token name
Browse files
README.md
CHANGED
|
@@ -9,19 +9,27 @@ python_version: '3.13'
|
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
short_description: Choose your own adventure for AI Alignment Research
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
|
| 15 |
# Trolley Driver
|
| 16 |
A Choose Your Own Adventure Game powered by Gemma 4-31b-it
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
-
|
|
|
|
|
|
|
| 25 |
|
| 26 |
Model used (< 32b : Gemma4-31b-it (called via OpenRouter API))
|
| 27 |
|
|
|
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
short_description: Choose your own adventure for AI Alignment Research
|
| 12 |
+
tags:
|
| 13 |
+
- track:wood
|
| 14 |
---
|
| 15 |
|
| 16 |
|
| 17 |
# Trolley Driver
|
| 18 |
A Choose Your Own Adventure Game powered by Gemma 4-31b-it
|
| 19 |
|
| 20 |
+
Live Demo (HF Spaces): https://huggingface.co/spaces/mattpa/trolley-driver/
|
| 21 |
|
| 22 |
+
Video demo: [YOUTUBE LINK]
|
| 23 |
+
|
| 24 |
+
Social: [LINKEDIN POST]
|
| 25 |
+
|
| 26 |
+
Dataset: https://huggingface.co/datasets/mattpa/trolleygame/
|
| 27 |
|
| 28 |
+
Team Members: Matt Pagett (mattpa)
|
| 29 |
|
| 30 |
+
Prototype tool for AI Alignment Research
|
| 31 |
+
|
| 32 |
+
Submitted as an entry to the Hugging Face Build Small Hackathon, Track 2 Thousand Token Wood (something weird and delightful)
|
| 33 |
|
| 34 |
Model used (< 32b : Gemma4-31b-it (called via OpenRouter API))
|
| 35 |
|
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import threading
|
|
| 8 |
|
| 9 |
api_key = os.environ.get("OPENROUTER_API_KEY_FREE")
|
| 10 |
|
| 11 |
-
hf_api = HfApi(token=os.environ.get("
|
| 12 |
|
| 13 |
class LLMBackend:
|
| 14 |
def __init__(self, provider="openrouter", model=None, api_key=None):
|
|
|
|
| 8 |
|
| 9 |
api_key = os.environ.get("OPENROUTER_API_KEY_FREE")
|
| 10 |
|
| 11 |
+
hf_api = HfApi(token=os.environ.get("HF_WRITE_TOKEN"))
|
| 12 |
|
| 13 |
class LLMBackend:
|
| 14 |
def __init__(self, provider="openrouter", model=None, api_key=None):
|