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}")
270270` ,
271271] ;
272272
273+ export const mamba_ssm = ( model : ModelData ) : string [ ] => [
274+ `from mamba_ssm import MambaLMHeadModel
275+
276+ model = MambaLMHeadModel.from_pretrained("${ model . id } ")` ,
277+ ] ;
278+
273279export const mars5_tts = ( model : ModelData ) : string [ ] => [
274280 `# Install from https://github.com/Camb-ai/MARS5-TTS
275281
Original file line number Diff line number Diff line change @@ -298,6 +298,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
298298 repoName : "mindspore" ,
299299 repoUrl : "https://github.com/mindspore-ai/mindspore" ,
300300 } ,
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+ } ,
301308 "mars5-tts" : {
302309 prettyLabel : "MARS5-TTS" ,
303310 repoName : "MARS5-TTS" ,
You can’t perform that action at this time.
0 commit comments