Skip to content
View gapsong's full-sized avatar
😇
😇

Block or report gapsong

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
gapsong/README.md

Fullstack and ML Engineer · LLM Efficiency & Quantization

I work at the intersection of extreme model compression and production-grade fine-tuning.

What I actually do: I make large language models run on hardware that wasn't supposed to support them without destroying what makes them useful.

Shipped:

  • 🔧 Official QA-LoRA implementation in Hugging Face PEFT → PR #2571 · PR #2664
  • 📄 Master Thesis @ TU Berlin (supervised by Prof. Samek & Prof. Müller, Fraunhofer HHI): "Accelerating Quantization-Aware Training of 2-bit Compact LLMs" → Proposed SA-SVD: -63% training VRAM vs. standard LoRA, +150 perplexity points recovery on broken 2-bit models → Proposed DRA: error-based adapter initialization for parameter-efficient fine-tuning on resilient architectures
  • 🧪 SA-SVD reference implementation (open source, reproducible) → gapsong/sa-svd-qa-lora → Measured at 2-bit across three LLMs: better WikiText perplexity on every model tested (-15% to -48%) at identical training budget — and it makes Qwen2-1.5B trainable where standard random-init QA-LoRA diverges with inf gradients
  • 🧰 qpeft: quantization-aware training and PEFT for LLMs at 2/3/4 bits → gapsong/qpeft · EfficientQAT, QA-LoRA and PEQA as configs over one quantized substrate; the merge stays an integer model, tested to equal the trained one

Tools I build for myself (agent-assisted with Claude Code, used daily, open source):

  • 🎙️ mac-voice-dictation · push-to-talk dictation for macOS: hold a key, speak, release. Native Swift, Whisper on the Mac's own GPU, nothing leaves the machine.
  • ⚡ whisper-service · the on-device Whisper server behind it: MLX on Apple Silicon, Silero VAD, about 0.2 s per sentence.
  • 📊 claude-code-statusline · model, context, usage limits and git state in one portable bash statusline.

Stack: PyTorch · Hugging Face (PEFT, Transformers, TRL) · GPTQ · bitsandbytes · Slurm · CUDA · AWS

Pinned Loading

  1. sa-svd-qa-lora sa-svd-qa-lora Public

    Structure-aware SVD initialization for QA-LoRA fine-tuning of 2-bit LLMs. Measured on 3 models: lower WikiText perplexity on every model tested (-15% to -48%), and makes Qwen2-1.5B trainable where …

    Python

  2. huggingface/peft huggingface/peft Public

    🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.

    Python 21.8k 2.6k

  3. qpeft qpeft Public

    qpeft: quantization-aware training (QAT) and PEFT for LLMs in PyTorch. EfficientQAT, QA-LoRA and PEQA for Hugging Face models at 2/3/4 bits: train scales, zero-points or LoRA adapters, then merge i…

    Python

  4. mac-voice-dictation mac-voice-dictation Public

    Native macOS push-to-talk dictation: hold a key, speak, release - the text appears at your cursor. On-device Whisper via MLX on Apple Silicon, offline and private. Swift/AppKit, vibe coded with Cla…

    Swift