These are five projects where I worked on the model side of AI: messy data, training stability, decoding, evaluation and inference. I have kept the good runs, the bad runs and the notebook evidence for both.
Each project below opens with the result, then the engineering choice that mattered, then the source that lets you check it.
The first problem was not the GAN. It was getting 60 irregular JSONL shards into one clean training set without silently corrupting images.
I recovered 58,852 usable images from base64 records containing 16 bit grayscale, RGBA, rotation metadata, inversion flags and alpha masks. I wrote one decode path that handled all of it before training started.
The model used a compact residual generator and a spectral normalized critic. I chose Wasserstein training with gradient penalty, a 3 to 1 critic update ratio and an EMA copy of the generator because stability was the main risk, not model size.
I also implemented the FID path around Inception features and checkpointed on that quality signal. The best recorded notebook FID came at epoch 45, not the last epoch. That is exactly why I did not treat the final checkpoint as automatically best.
Low resource speech made the decoder just as important as the acoustic model. This project is also the clearest example here of why I keep failed runs visible.
I built a CTC speech pipeline around Wav2Vec2 and multilingual XLSR, with Uyghur text normalization, a custom character vocabulary, dynamic padding and 16 kHz audio preprocessing.
The main modeling direction moved from the English pretrained Wav2Vec2 base model toward multilingual XLSR. I also added a KenLM based beam search experiment instead of relying only on greedy CTC decoding.
The saved fast trial is ugly: 10 percent of the data, one epoch, CER 0.9762 and a NaN average training loss. I left it there because it is real. It shows the debugging path instead of only the final story.
The public notebook directly records the weak debug CER. The leaderboard CER shown above is the submitted result from the competition record, not a number I relabel as notebook validation.
A small EDSR model was enough. Most of the gain came from the loss, the training schedule and how inference was handled.
I used a compact EDSR style network with 8 residual blocks, 32 feature channels and PixelShuffle. At roughly 0.30M parameters it was deliberately small for the amount of paired data available.
The more interesting part was the objective. I combined luminance reconstruction, RGB reconstruction, structural similarity and edge consistency instead of optimizing plain RGB error alone.
Training was staged. The main run reached roughly 38.31 dB, fine tuning pushed Y PSNR to 38.665 dB, and the strongest validation ensemble reached 38.7034 dB. Inference used overlap aware tiling and test time augmentation.
This one taught me how easy it is to build a model that trains normally while the targets are quietly wrong.
The model used a U Net with a pretrained EfficientNet B0 encoder for dense single channel depth prediction. Training used 6,686 image and depth pairs with ImageNet initialization and low light aware augmentation.
The important bug risk was in the targets. Some depth maps were 8 bit and some were 16 bit. I checked the mask range and normalized against the correct maximum instead of assuming one format.
Validation RMSE fell from 0.0974 to 0.0730 over ten epochs while training loss also fell smoothly. That clean curve is useful evidence because it shows the model improving without the instability seen in the ASR debug run.
This one did not finish. I still keep it in the portfolio because the setup and the failure are both useful evidence of how I think now.
The task covered low resource text across multiple scripts. I loaded Gemma 3 1B Instruct with 8 bit quantization and LoRA, then framed classification as conditional text generation with macro F1 as the intended metric.
Before training, I checked tokenization on the actual scripts. One short 12 word sample expanded to roughly 150 tokens. That was a useful warning that the tokenizer was inefficient on underrepresented writing systems and that runtime assumptions based on English text would be wrong.
The mistake was time planning. I built the full pipeline first and left too little margin for the actual tuning and inference run. The saved notebook therefore has the modeling setup, preprocessing, metric and inference code, but no completed fine tuning result.
The repository does not claim a validation score or leaderboard result because the saved tuning run never completed. I would rather show an unfinished experiment accurately than turn it into fake proof.
KIA shows how I integrate AI inside a product. These projects show the other side: preprocessing, training, decoding, metric design, inference and failure analysis. I want both on the record because an AI system is only as good as the parts you can inspect when something goes wrong.
If you want to inspect the work directly, the repos and notebooks are public. If you want the full system and product side, KIA is the better next page.