Sohaib Arif — AI Safety Research

Notes on AI safety for local & embedded models

Posts tagged “large-language-model”

Fine Tuning Code-Gen model on AMD GPU

Most fine-tuning tutorials assume an Nvidia GPU or a cloud service. This post fills two gaps left by the Hugging Face Smol course and the book Domain-Specific Small Language Models: running the fine-tuning on a consumer AMD GPU with ROCm, and automatically evaluating generated Manim code by restoring its layout and checking it with Python's ast module. It also gives a short history of why CUDA became the default for deep learning.

large-language-modellocal llm

Result Visualization for local llm tool use

Different visualizations to indicate weather local LLMs follow instructions or not and what the failure modes are when they don't.

large-language-modellocal llm

Updates to the LLM tool use project

Describes updates to the tool use project updates

large-language-modellocal llm

Experimental Setup and results for tool use verification project

Describes the experimental setup for Local LLM tool Use verification

large-language-modellocal llm