Views
No views yet
bert/ — LoRA fine-tuning of BERT-base for sentiment classification (Rotten Tomatoes)qwen/ — QLoRA fine-tuning of Qwen2.5-7B-Instruct for instruction following (Alpaca)check_gpu.py — GPU diagnostics scriptmain.py — Entry point.python-version)curl -LsSf https://astral.sh/uv/install.sh | shpip install uvuv syncpyproject.toml and uv.lock.1# LoRA fine-tune BERT-base for sentiment classification
2uv run python bert/train_lora.py
3
4# Run inference with the trained BERT adapter
5uv run python bert/inference.py
6
7# QLoRA fine-tune Qwen2.5-7B-Instruct
8uv run python qwen/train_lora.py
9
10# Chat with the trained Qwen adapter
11uv run python qwen/chat_qlora.py
12
13# GPU diagnostics
14uv run python check_gpu.pyuv run jupyter labqwen/lora_explained.ipynb or bert/lora_explained.ipynb in the browser.