Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mlxgpt

a small gpt-2 implementation in apple's mlx. the script loads gpt-2 weights through hugging face transformers, maps them into the mlx model, and runs cached text generation with temperature and top-k sampling.

run

uv run model.py

About

learning apple's mlx with a gpt, the gpt!

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages