Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Formula/microgpt.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class Microgpt < Formula
desc "Minimal GPT trainer and chat agent with a from-scratch autograd engine"
desc "Minimal GPT trainer and chat agent with BPE tokenization and Metal acceleration"
homepage "https://github.com/muchq/MoonBase/tree/main/domains/ai/apps/microgpt_cli"
license "MIT"

Expand All @@ -19,8 +19,8 @@ class Microgpt < Formula
end

resource "chat-model" do
url "https://github.com/muchq/MoonBase/releases/download/microgpt-v0.3.1/chat-model.tar.xz"
sha256 "e6f9255e17bd1e39fe9be805dcd0bd91cfc3f6d0ae6c24eabf692201d3acb943"
url "https://github.com/muchq/MoonBase/releases/download/microgpt-v0.6.0/chat-model.tar.xz"
sha256 "34c7a86dd163c6d6c5529655afc8739e3db3795dfa42db827254918643ae95f3"
end

def install
Expand All @@ -34,7 +34,8 @@ def install
model_dest.mkpath
resource("chat-model").stage do
cp "meta.json", model_dest
cp "weights.json", model_dest
cp "tokenizer.json", model_dest
cp "weights.safetensors", model_dest
end
end

Expand Down