Models

The organizers have pre-downloaded the models to both clusters.


Where the models are

Each cluster has one shared, read-only model cache. env/yens.sh and env/marlowe.sh point HF_HUB_CACHE at it and set HF_HUB_OFFLINE=1, so setup and jobs read from the cache and never download.

Cluster Shared cache (HF_HUB_CACHE)
Yens /scratch/shared/marlowe_hackathon/hf/hub
Marlowe /scratch/m000106/gsb_hackathon/hf_cache/hub

What is in the cache

Model Size Used by
Kev-4B 160 MB (adapter) Beginner
Qwen3.5-4B-Base 9.3 GB (full weights) Beginner
Intermediate
Advanced
Kev-27B 51 GB (full weights) Advanced
Qwen3.8-27B Yens: 23 MB (tokenizer only)
Marlowe: 56 GB (full weights)
Advanced
Qwen3-235B-A22B-Instruct-2507-FP8 Marlowe only: 237 GB (full weights, FP8) Advanced

An adapter is a small set of changes that runs on top of a base model: Kev-4B runs on Qwen3.5-4B-Base. Kev-27B reads its tokenizer from Qwen3.8-27B, which is all the Yens need of that model. Each model is pinned to one revision, a fixed version on Hugging Face, so everyone uses the same weights; the download commands below list them.

Download the models before the class

Organizers run scripts/download_models.sh once on each cluster before participants arrive, and again if a model is deleted. It downloads every model into the cache of the cluster it runs on. Run it from your clone of this repository, as the organizer who owns the cache: on the Yens from an interactive node, on Marlowe from the login node.

bash scripts/download_models.sh
bash scripts/download_models.sh

It works out the cluster from the node’s name, then:

Step What it does
source env/yens.sh or env/marlowe.sh sets the cache path for that cluster
pip install --target ... huggingface_hub==1.32.0 gets the hf command, at the version Kev uses, in a temporary folder deleted at the end. It does not install Kev
hf download ... downloads each model at its pinned revision; a model already in the cache is checked and skipped
Qwen3.8-27B tokenizer and config only on the Yens (--exclude "*.safetensors"), full weights on Marlowe
Qwen3-235B, vLLM container Marlowe only: the 235B for A4, and the vLLM 0.31.0 container in /scratch/m000106/gsb_hackathon/containers/ (apptainer pull, if it is missing)
chmod -R g-w Yens only: makes the cache read only for everyone but its owner. Marlowe’s cache stays writable by the project group (marlowe-m000106)
check looks for every model again with downloads off (HF_HUB_OFFLINE=1)

It ends with one model ok line per model. When everything is already downloaded it takes a few seconds; Kev-27B took 89 seconds to download on the Yens. No Hugging Face token is needed: all the models are public.

Check the cache

setup_kev.sh checks every model without downloading anything:

source env/yens.sh
bash scripts/setup_kev.sh

It ends with one model ok line per model, tokenizer ok, and Kev ready. A missing model stops it with model missing from ... and the model’s name.

Adding a model

When a task needs a new model, add it to the MODELS list in scripts/download_models.sh and to the model check in scripts/setup_kev.sh, and add a row to the table on this page.


Page last modified: Oct 30, 2026.

Your details

Set your SUNet ID once and the commands on every page fill it in. Stored in this browser only.

Built with Just the Docs.