Text Generation
TensorRT
Safetensors
PyTorch
English
llama
code
developer-agent
blackwell
rtx-5070
slm
conversational
Instructions to use Vivid86/MiniTransformer-91M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use Vivid86/MiniTransformer-91M with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download inference/__init__.py from Vivid86/MiniTransformer-91M: direct link, hf CLI and curl.
- Browser
- Download file 220 Bytes
-
https://huggingface.co/Vivid86/MiniTransformer-91M/resolve/main/inference/__init__.py
- Command line
-
hf download hf://Vivid86/MiniTransformer-91M/inference/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Vivid86/MiniTransformer-91M/resolve/main/inference/__init__.py
220 Bytes
| """inference package — text generation and sampling.""" | |
| from inference.generate import generate, sample_logits | |
| from inference.sampler import Sampler | |
| __all__ = [ | |
| "generate", | |
| "sample_logits", | |
| "Sampler", | |
| ] | |