Skip to content

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Minimal implementation of Deep Learning models

Resources

Stars

36 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages