Skip to content
View devfrankduah's full-sized avatar
💭
💭

Block or report devfrankduah

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.

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
devfrankduah/README.md

About Me

const frank = {
  role:       "AI/ML Engineer",
  background: "Software Engineering & DevOps",
  focus:      ["LLMs from first principles", "Agentic AI", "LLM Eval & Safety", "Edge AI"],
  building:   "AI agents, LLM tooling, and eval/red-teaming systems",
  learning:   ["Advanced ML", "Distributed Systems", "Cloud Architecture"],
  philosophy: "Build from first principles, then ship with tests.",
};
  • Building the LLM stack from scratch, no frameworks: a transformer with hand-derived gradients, LoRA/DoRA/QLoRA fine-tuning, a byte-level BPE tokenizer, an MCP server, and an agent red-teamer. The code is public, see below.
  • Going deep on LLMs, agentic AI, LLM evaluation & safety, and edge AI
  • Open source: second-highest contributor to llm-exe (my merged PRs)
  • Ask me about LLMs, agentic AI, RAG, evaluation, MLOps, AWS, or DevOps

Tech Stack

Languages

My Skills

ML & AI

My Skills

Frameworks & Libraries

My Skills

Databases & Platforms

My Skills

Cloud & Tools

My Skills


Featured Projects


Glassbox

A Transformer Built From Scratch in NumPy

No PyTorch, no autograd. Forward and backward passes for attention, LayerNorm, RMSNorm, GELU, SwiGLU, RoPE, softmax, and cross-entropy are all hand-derived and gradient-checked to 1e-8. Ships both GPT-2 and Llama-style architectures in one codebase, trains on a CPU, generates with a KV-cache, and renders attention heatmaps so the internals are visible. 39 tests.




Forge

LoRA, DoRA & QLoRA From Scratch

Efficient fine-tuning implemented by hand, forward and backward, gradient-checked to 1e-8. Includes DoRA (weight-decomposed LoRA, 2024) and QLoRA-style int8 quantization for a roughly 4x smaller frozen base, plus adapter save/load/hot-swap and honest held-out perplexity eval. The base model is provably untouched. 59 tests.




Crucible

Adversarial Stress-Tester for LLM Agents

Point it at any agent and it runs hostile and edge-case attacks aligned with the OWASP LLM Top 10 (prompt injection, jailbreaks, secret-leakage, hallucination, robustness, over-refusal), then reports per-category hold rates over N trials plus a severity-weighted risk score. Includes a CI gate that fails a build when an agent gets measurably less safe. Zero dependencies, 61 tests.




ML-Latency-Aware-Execution-Engine

RL Trade Execution

RL agent that minimises crypto slippage on large orders, using a Double DQN with a dueling architecture and prioritized experience replay alongside classical models. Trained on real Binance data across 3 assets and validated against 98M tick-level trades. Implements the Almgren-Chriss market-impact model, with 17 ablation studies and 176 unit tests.




llm-exe

Open-Source Contributor · llm-exe.com

Second-highest contributor to this upstream TypeScript framework for building LLM applications, across workflow automation, CI/CD hardening, release pipeline improvements, and docs-sync infrastructure.




Opening Soon

The Rest of the From-Scratch Stack

Cleave, a byte-level BPE tokenizer with a provably lossless Unicode round-trip, exported to a dependency-free in-browser tokenizer. Winnow, an MCP server written without an SDK (JSON-RPC 2.0 over stdio) that compacts documents to Markdown and scans them for prompt injection. Device-Aware RAG Agent, routing between cloud, quantized on-device GGUF, and fully offline modes.

Write-ups at frankduah.me




GitHub Stats



Contribution Activity



Dev Quote


From devfrankduah, thanks for stopping by.

Popular repositories Loading

  1. react-challenge-amazon-clone react-challenge-amazon-clone Public

    Forked from CleverProgrammers/react-challenge-amazon-clone

    JavaScript 1

  2. pdfhub pdfhub Public

    The engineering school PDF website

    PHP 1

  3. MNIST_HandwrittenDigitsNeuralNets MNIST_HandwrittenDigitsNeuralNets Public

    Forked from KenBroTech/MNIST_HandwrittenDigitsNeuralNets

    Jupyter Notebook 1

  4. Spark Spark Public

    Dart 1

  5. ML-Latency-Aware-Execution-Engine ML-Latency-Aware-Execution-Engine Public

    Python 1

  6. Latency-Aware-Execution-Engine Latency-Aware-Execution-Engine Public

    Python 1