Skip to content

abdullahselek/llm

Repository files navigation

LLM Code

Designing and building a Large Language Model from scratch specifically for code generation.

Requirements

  • Python 3.13
  • uv

Setting up development environment

After installing uv package and project manager, run the command below to create virtual environment and install all dependencies.

uv sync

Developer Tasks Automation

This project uses Nox for implementing and running dev automation tasks such as linting, formatting code and running tests etc. Current tasks are available in noxfile.py.

Task that runs the unit tests:

uv run nox -s run_tests

Training the model

The LLM uses an open source dataset from HuggingFace, for now training script only loads Python specific code from the dataset.

Model configs are available at src/llm/configs. To start a new training simply run

uv run train-llm

About

Designing and building a Large Language Model from scratch specifically for code generation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages