Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit a54c589

Browse files
committed
feat(models): Add models.json blocks for Granite Code 3b and 8b
Branch: GraniteCodeSupport Signed-off-by: Gabe Goodhart <[email protected]>
1 parent b809b69 commit a54c589

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

torchchat/model_config/models.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,5 +164,17 @@
164164
"https://github.com/karpathy/llama2.c/raw/master/tokenizer.model"
165165
],
166166
"checkpoint_file": "stories110M.pt"
167+
},
168+
"ibm-granite/granite-3b-code-instruct-128k": {
169+
"aliases": ["granite-code", "granite-code-3b"],
170+
"distribution_channel": "HuggingFaceSnapshot",
171+
"distribution_path": "ibm-granite/granite-3b-code-instruct-128k",
172+
"transformer_params_key": "3B"
173+
},
174+
"ibm-granite/granite-8b-code-instruct-128k": {
175+
"aliases": ["granite-code-8b"],
176+
"distribution_channel": "HuggingFaceSnapshot",
177+
"distribution_path": "ibm-granite/granite-8b-code-instruct-128k",
178+
"transformer_params_key": "8B"
167179
}
168180
}

0 commit comments

Comments
 (0)