onnx-community/gpt2-medium-ONNX
By onnx-community · ↓ 5 · ♥ 1 · Updated 2025-07-03
What's in this repo
This page lists the files in onnx-community/gpt2-medium-ONNX, including model.onnx, model_bnb4.onnx, model_fp16.onnx and more.
- 8 ONNX models (.onnx files)
- 18 files, including 8 .onnx, 7 .json, 1 .md, 1 .txt
- Last updated 2025-07-03
ONNX files
| File | Size | Download |
|---|---|---|
| onnx/model.onnx | — | Download |
| onnx/model_bnb4.onnx | — | Download |
| onnx/model_fp16.onnx | — | Download |
| onnx/model_int8.onnx | — | Download |
| onnx/model_q4.onnx | — | Download |
| onnx/model_q4f16.onnx | — | Download |
| onnx/model_quantized.onnx | — | Download |
| onnx/model_uint8.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
gpt2-medium (ONNX)
This is an ONNX version of openai-community/gpt2-medium. It was automatically converted and uploaded using this space.
Model info
text-generation
transformers.js
transformers.js
onnx
gpt2
text-generation
base_model:openai-community/gpt2-medium
base_model:quantized:openai-community/gpt2-medium
region:us
↓ 5
♥ 1
Created: 2025-07-03
Updated: 2025-07-03
View on Hugging FaceFiles (18)
.gitattributes
README.md
config.json
generation_config.json
merges.txt
onnx/model.onnx
ONNX
onnx/model_bnb4.onnx
ONNX
onnx/model_fp16.onnx
ONNX
onnx/model_int8.onnx
ONNX
onnx/model_q4.onnx
ONNX
onnx/model_q4f16.onnx
ONNX
onnx/model_quantized.onnx
ONNX
onnx/model_uint8.onnx
ONNX
quantize_config.json
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.json