Skip to content

OPML-Labs/mlgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Oct 23, 2023
6b6d693 · Oct 23, 2023

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLGO

MLGO is tensor library for machine learning in pure Golang that can run on MIPS.

The machine learning part of this project refers to the legendary ggml.cpp framework.

Build

pip install -r requirements.txt

MNIST

  1. Train the AI model. See examples/mnist/trainning/mnist.ipynb
  2. Convert the AI model into GGML using examples/mnist/convert-h5-to-ggml.py
  3. Build the AI inference engine for MIPS cd examples/mnist_mips && ./build ``

LLAMA

Support LLaMA 1 and LLaMA 2 (7B and 13B). Please refer to examples/llama/README.md and download the model first.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages