somosnlp-hackathon-2026/cultural-preferences
4
Hackathon 2026 — Cultural Preferences
Gradio Space used during the hackathon to let participants:
- Read the annotation guidelines.
- Write prompts that probe cultural preferences.
- Validate prompts written by other participants.
Datasets
The Space reads from and writes to two private Hugging Face datasets:
mariagrandury/hackathon_participants— registered participants (read-only).mariagrandury/cultural_preferences— prompts and validations (read/write).
Access requires the HF_TOKEN Space secret with read/write permissions on both private repos.
Local development
pip install -r requirements.txt
export HF_TOKEN=hf_... # token with access to the private datasets
python seed_datasets.py # one-shot: create the dummy datasets
python app.pyDeploying to Hugging Face Spaces
The Space lives at somosnlp-hackathon-2026/cultural-preferences (private, Gradio SDK). Datasets stay under mariagrandury/.
- Create the Space under the
somosnlp-hackathon-2026org (Gradio SDK, private). Skip the README template so the first push isn't blocked. - Add
HF_TOKENas a Space secret with read+write on the two datasets above. - Use
./deploy_to_space.shto mirror only the runtime files (app.py,data.py,requirements.txt,README.md,guidelines/,images/) into a local clone of the Space repo, thengit pushfrom that clone. See the script header for details.
