ONNX Model Zoo

ULFBERTO/OxideLLM_TK_SSM_V1_ONNX

By ULFBERTO · ↓ 0 · ♥ 0 · Updated 2026-01-06

What's in this repo

This page lists the files in ULFBERTO/OxideLLM_TK_SSM_V1_ONNX, including ssm_model.onnx.

  • 1 ONNX models (.onnx files)
  • 5 files, including 2 .json, 1 .md, 1 .onnx
  • Last updated 2026-01-06

ONNX files

File Size Download
ssm_model.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README


license: mit language:

  • es
  • en tags:
  • ssm
  • state-space-model
  • mamba-like
  • text-generation
  • onnx
  • onnxruntime
  • browser
  • experimental

OxideLLM_TK_SSM_V1_ONNX

🦀 Transformer Killer - Versión ONNX para navegador

⚠️ Versión ONNX

Esta es la versión ONNX del modelo SSM, convertida para ejecutarse en navegadores web usando ONNX Runtime Web. La versión original en PyTorch está disponible en OxideLLM_TK_SSM_V1.

Nota: Actualmente no hay soporte nativo para PyTorch en navegadores, por lo que se requiere esta conversión a ONNX para uso web.

Descripción

Modelo experimental basado en State Space Models (SSM) inspirado en Mamba, que reemplaza el mecanismo de atención de los Transformers con un escaneo secuencial selectivo de complejidad O(n) lineal.

Especificaciones

Aspecto Valor
Arquitectura SSM Selectivo (Mamba-like)
Parámetros ~770K
Formato ONNX
Tamaño ~4 MB
Complejidad O(n) lineal
Tokenizer Nivel de carácter

Uso en Navegador (JavaScript)

import * as ort from 'onnxruntime-web';

// Cargar modelo
const session = await ort.InferenceSession.create('ssm_model.onnx');

// Cargar tokenizer
const tokenizer = await fetch('tokenizer.json').then(r => r.json());

// Codificar texto
const text = "Hola ";
const inputIds = text.split('').map(c => tokenizer.char2idx[c] || 0);

// Inferencia
const tensor = new ort.Tensor('int64', BigInt64Array.from(inputIds.map(BigInt)), [1, inputIds.length]);
const outputs = await session.run({ input_ids: tensor });
const logits = outputs.logits.data;

// Decodificar siguiente token...

Archivos

  • ssm_model.onnx - Modelo ONNX (~4 MB)
  • tokenizer.json - Vocabulario y configuración

Limitaciones

⚠️ Experimental:

  • Modelo pequeño (~770K params) para propósitos educativos
  • La conversión ONNX puede tener diferencias menores vs PyTorch
  • Algunas operaciones del SSM pueden no estar optimizadas en ONNX

Links

Licencia

MIT License

Model info

onnx ssm state-space-model mamba-like text-generation onnxruntime browser experimental es en license:mit region:us
↓ 0 ♥ 0

Created: 2026-01-05

Updated: 2026-01-06

View on Hugging Face

Files (5)

.gitattributes
README.md
ssm_model.onnx ONNX
ssm_weights.json
tokenizer.json

Related models