ONNX Model Zoo

mkly/TinyStories-1M-ONNX

By mkly · ↓ 8 · ♥ 2 · Updated 2023-08-07

What's in this repo

This page lists the files in mkly/TinyStories-1M-ONNX, including decoder_model.onnx, decoder_model_merged.onnx, decoder_model_merged_quantized.onnx and more.

  • 6 ONNX models (.onnx files)
  • 16 files, including 7 .json, 6 .onnx, 1 .md, 1 .txt
  • Last updated 2023-08-07

ONNX files

File Size Download
onnx/decoder_model.onnx — Download
onnx/decoder_model_merged.onnx — Download
onnx/decoder_model_merged_quantized.onnx — Download
onnx/decoder_model_quantized.onnx — Download
onnx/decoder_with_past_model.onnx — Download
onnx/decoder_with_past_model_quantized.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

ONNX format

Generated from roneneldan/TinyStories-1M

For use with Transformers.js

const pipe = await pipeline(
  "text-generation",
  "mkly/TinyStories-1M-ONNX",
);
const response = await pipe(
  "Some example text",
  {
    max_new_tokens: 500,
    temperature: 0.9,
  },
);
console.log(response[0].generated_text);

Model info

text-generation transformers.js
transformers.js onnx gpt_neo text-generation en license:unknown region:us
↓ 8 ♥ 2

Created: 2023-08-07

Updated: 2023-08-07

View on Hugging Face

Files (16)

.gitattributes
README.md
config.json
generation_config.json
merges.txt
onnx/decoder_model.onnx ONNX
onnx/decoder_model_merged.onnx ONNX
onnx/decoder_model_quantized.onnx ONNX
onnx/decoder_with_past_model.onnx ONNX
onnx/decoder_with_past_model_quantized.onnx ONNX
quantize_config.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.json

Related models