Course project repo for an Intro to ML class: research + hands-on implementation of CLaRa (Continuous Latent Reasoning) and small-scale experiments on Kaggle T4.
modeling_clara.py (with modifications for quantization and VRAM optimization) with a Kaggle-ready workflow.Open any notebook in the notebook/ folder on Kaggle. The notebooks handle cloning, deps, and environment patching.
Main notebooks:
notebook/clara-ml-final-evaluation-apple.ipynb — Apple-native eval on SQuAD + TriviaQA.notebook/clara-ft-squad.ipynb / notebook/clara-ft-triviaqa.ipynb — fine-tune on SQuAD or TriviaQA.notebook/clara-eval-ft-squad.ipynb / notebook/clara-eval-ft-triviaqa.ipynb — evaluate fine-tuned checkpoints.The notebooks expect model checkpoints to be attached as Kaggle datasets:
tokiggle/clara-7b-e2e-4q (Apple E2E pretrained checkpoint)tokiggle/clara-ft-squad and tokiggle/clara-ft-triviaqa (fine-tuned checkpoints uploaded from this project)models/ — reimplementation of CLaRa core and helpers.data/ — unified dataset loader.configs/ — training config defaults.scripts/ — Stage I/II training and Apple-native fine-tune/eval drivers.modeling_clara.py — patched Apple model code used by the Kaggle pipelines. The original lives inside the Apple checkpoint, which is not tracked in this repo's git.41 commits
30 commits
Jupyter Notebook
53.2%
Python
46.8%
Course project repo for an Intro to ML class: research + hands-on implementation of CLaRa (Continuous Latent Reasoning) and small-scale experiments on Kaggle T4.
modeling_clara.py (with modifications for quantization and VRAM optimization) with a Kaggle-ready workflow.Open any notebook in the notebook/ folder on Kaggle. The notebooks handle cloning, deps, and environment patching.
Main notebooks:
notebook/clara-ml-final-evaluation-apple.ipynb — Apple-native eval on SQuAD + TriviaQA.notebook/clara-ft-squad.ipynb / notebook/clara-ft-triviaqa.ipynb — fine-tune on SQuAD or TriviaQA.notebook/clara-eval-ft-squad.ipynb / notebook/clara-eval-ft-triviaqa.ipynb — evaluate fine-tuned checkpoints.The notebooks expect model checkpoints to be attached as Kaggle datasets:
tokiggle/clara-7b-e2e-4q (Apple E2E pretrained checkpoint)tokiggle/clara-ft-squad and tokiggle/clara-ft-triviaqa (fine-tuned checkpoints uploaded from this project)models/ — reimplementation of CLaRa core and helpers.data/ — unified dataset loader.configs/ — training config defaults.scripts/ — Stage I/II training and Apple-native fine-tune/eval drivers.modeling_clara.py — patched Apple model code used by the Kaggle pipelines. The original lives inside the Apple checkpoint, which is not tracked in this repo's git.41 commits
30 commits
Jupyter Notebook
53.2%
Python
46.8%