Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 2.12 KB

README.md

File metadata and controls

47 lines (32 loc) · 2.12 KB

minhub

R-CMD-check

minhub is a collection of minimal implementations of deep learning models inspired by minGPT. Each model is designed to be self-contained in a single file with no external dependencies, making them easy to copy and integrate into your own projects.

The primary goal of minhub is to provide clean and readable code, prioritizing simplicity and understanding over speed optimization. These models are particularly suitable for educational purposes, experimentation, and as a starting point for more complex implementations.

Additionally, minhub supports loading weights from pre-trained models available in the Hugging Face model hub.

Models

minhub currently implements:

Installation

You can install the development version of minhub like so:

remotes::install_github("mlverse/minhub")

Note:

  • dev versions of torch, tok and hfhub are required
  • tok requires a Rust installation. See installation instructions in its repository.

Examples