mlverse / minhub

Minimal implementation of Deep Learning models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Other


Languages

Language:R 100.0%