Anya von Diessl signature
← Back to Projects

Project

GPT-2 Fine-Tuning

PyTorch Hugging Face Transformers NLP Fine-Tuning
PROJECTS.md — Portfolio (Workspace)
PORTFOLIO (WORKSPA…
MABOUT.md MEXPERIENCE.md MPROJECTS.md×
Portfolio src PROJECTS.md
1
# Projects
2
3
Selected engineering and machine-learning projects.
4
5
## Autonomous Agent Reliability & Assurance Platform
6
Adversarial evaluation framework scoring autonomous agent reliability across reasoning, tool use, and recovery.
8
9
## GPT-2 Fine-Tuning
10
Domain-adapted a pretrained GPT-2 model using PyTorch and Hugging Face Transformers.
12
13
## LLM Agent with Tool Use, Memory, and Retrieval
14
A ReAct-based agent with persistent memory and retrieval-augmented generation, built on DSPy.
⎇ main* ↓0 ↑3 ◯ 0 ⚠ 2 ⓘ 1 Ln 5, Col 1 Spaces: 2 UTF-8 LF {} Markdown ✓ oxc Token Count: 1,204 ✓ Prettier 🔔

Tools & technologies

PyTorch Hugging Face NLP Fine-Tuning PyTorch Hugging Face NLP Fine-Tuning

Teaching a general-purpose model to speak one domain fluently.

An end-to-end fine-tuning pipeline that adapts a pretrained GPT-2 model to a specialized domain, from corpus curation and tokenization through mixed-precision training and evaluation.

End-to-end Training pipeline
Mixed-precision Optimization method
Perplexity-based Evaluation

Adapted a pretrained GPT-2 large language model to generate high-quality text for a specialized domain by training it on custom datasets. Developed an end-to-end pipeline for domain adaptation using PyTorch and the Hugging Face Transformers framework. Curated and preprocessed custom training corpora, implementing tokenization, dataset construction, and sequence optimization to enable efficient large-scale language model training. Fine-tuned the transformer architecture using supervised learning, mixed-precision optimization, and validation-based checkpointing to improve domain-specific text generation. Evaluated model performance through perplexity analysis and qualitative generation benchmarks, leveraging modern NLP techniques to enhance coherence, contextual understanding, and generation quality.