File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -270,6 +270,12 @@ model = from_pretrained_keras("${model.id}")
270
270
` ,
271
271
] ;
272
272
273
+ export const mamba_ssm = ( model : ModelData ) : string [ ] => [
274
+ `from mamba_ssm import MambaLMHeadModel
275
+
276
+ model = MambaLMHeadModel.from_pretrained("${ model . id } ")` ,
277
+ ] ;
278
+
273
279
export const mars5_tts = ( model : ModelData ) : string [ ] => [
274
280
`# Install from https://github.com/Camb-ai/MARS5-TTS
275
281
Original file line number Diff line number Diff line change @@ -298,6 +298,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
298
298
repoName : "mindspore" ,
299
299
repoUrl : "https://github.com/mindspore-ai/mindspore" ,
300
300
} ,
301
+ "mamba-ssm" : {
302
+ prettyLabel : "MambaSSM" ,
303
+ repoName : "MambaSSM" ,
304
+ repoUrl : "https://github.com/state-spaces/mamba" ,
305
+ filter : false ,
306
+ snippets : snippets . mamba_ssm ,
307
+ } ,
301
308
"mars5-tts" : {
302
309
prettyLabel : "MARS5-TTS" ,
303
310
repoName : "MARS5-TTS" ,
You can’t perform that action at this time.
0 commit comments