Full code for “How to Fine-Tune LLMs in 2024 with Hugging Face”, but with Dagster, Modal and Llama3! blog post.
make docker_build
make docker_run
Make sure you have .env file with next variables:
HF_TOKEN=hf_
HF_TOKEN_WRITE=hf_
MODAL_TOKEN_ID=ak-
MODAL_TOKEN_SECRET=as-