{"schemaVersion":"1.0","name":"Yufei Ma","headline":"AI Engineer at the U.S. Department of the Treasury","summary":"AI Engineer at the U.S. Department of the Treasury.","facts":[{"label":"Role","value":"AI Engineer · U.S. Treasury"},{"label":"Focus","value":"Applied AI / ML systems"},{"label":"Education","value":"B.S. Computer Engineering"},{"label":"Based in","value":"San Diego, CA"}],"projects":[{"index":"01","title":"tiktok-dlp","subtitle":"Self-hosted TikTok downloader and private archive with Discord monitoring, resumable creator imports, and a mobile-first video feed.","meta":"Node.js / Next.js / SQLite / yt-dlp / Docker / Cloudflare","href":"https://github.com/nqrwhal/tiktok-dlp","points":["Built a bounded, deduplicated download pipeline for Discord commands, DMs, creator monitoring, photo posts, and tokenized large-file delivery.","Designed full-profile imports with per-video checkpoints, restart recovery, cancellation, retry, duration limits, and restorable trash backed by SQLite and filesystem storage."],"featured":true},{"index":"02","title":"Postmaster","subtitle":"End-to-end tracking platform that unifies USPS, UPS, and FedEx behind one API and a power-user web dashboard.","meta":"TypeScript / Cloudflare Workers / Pages / KV / OAuth / Turnstile","href":"https://github.com/nqrwhal/postmaster","points":["Designed and shipped a typed REST API on Cloudflare Workers that normalizes three carriers' tracking responses behind a single endpoint with consistent status, ETA, and event schema.","Engineered the full request pipeline: OAuth client-credential auth per carrier, key-value caching with status-aware TTLs, per-IP rate limiting, and structured error handling."]},{"index":"03","title":"Transformer-Based Music Generation","subtitle":"From-scratch PyTorch transformer that produces coherent multi-track symbolic music without melody prompts.","meta":"PyTorch / CUDA / POP909 / Hugging Face / BPE","href":"https://github.com/nqrwhal/Transformer-Based-Music-Generation-Model","audioSrc":"https://raw.githubusercontent.com/nqrwhal/Transformer-Based-Music-Generation-Model/main/symbolic_unconditioned.mp3","audioLabel":"Generated output sample","points":["Trained an unconditional symbolic music transformer on the POP909 dataset, applying segmented tokenization to capture phrase-level musical structure across multiple instrument tracks.","Built a CUDA-accelerated inference loop with configurable temperature and top-k sampling, surfacing the trade-off between conservative continuations and more exploratory outputs."]},{"index":"04","title":"Kendo Training Analysis Server","subtitle":"Dual-sensor IMU pipeline that grades kendo technique on form, force, and exertion in real time.","meta":"Python / Flask / SQLite / NumPy / WearOS / Raspberry Pi","href":"https://github.com/hongyuejin/UCSD-CSE-118-Team-1","points":["Led the backend: a Flask service on Raspberry Pi that ingests time-series IMU and heart-rate data from a Galaxy Watch and a paired shinai sensor, persists sessions to SQLite, and serves a dashboard for review.","Designed strike-detection and form-scoring algorithms in NumPy — peak detection on accelerometer magnitude with 200ms refractory windowing, plus straightness and consistency scores derived from trajectory variance and waveform correlation."]}],"experience":[{"company":"U.S. Department of the Treasury","role":"AI Engineer","location":"United States","range":"Present","summary":"AI Engineer at the U.S. Department of the Treasury.","points":[]}],"capabilities":[{"label":"Languages","items":["Python","TypeScript","JavaScript","SQL","C++"]},{"label":"Application","items":["React","Next.js","Node.js","FastAPI","Flask","Playwright"]},{"label":"Data + ML","items":["PyTorch","CUDA","Hugging Face","Pandas","NumPy"]},{"label":"Systems","items":["Cloudflare Workers","AWS","GCP","Docker","GitHub Actions","PostgreSQL","SQLite","Redis"]}],"contact":[{"label":"Email","href":"mailto:mayufei2004@gmail.com"},{"label":"LinkedIn","href":"https://linkedin.com/in/yufei-ma"},{"label":"GitHub","href":"https://github.com/nqrwhal"}],"canonicalUrl":"https://mayufei.com"}