Transformers
Safetensors
English
charlm
tiny
tiny-lm
small-language-model
sub-1m
char-level
from-scratch
nanoGPT
TinyStories
Instructions to use Compactbot/char-gpt-1.2m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Compactbot/char-gpt-1.2m with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import CharGPT model = CharGPT.from_pretrained("Compactbot/char-gpt-1.2m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from Compactbot/char-gpt-1.2m: direct link, hf CLI and curl.
- Browser
- Download file 4.87 MB
-
https://huggingface.co/Compactbot/char-gpt-1.2m/resolve/main/model.safetensors
- Command line
-
hf download hf://Compactbot/char-gpt-1.2m/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/Compactbot/char-gpt-1.2m/resolve/main/model.safetensors
4.87 MB
- Xet hash:
- f6aab93f457fd6d7be7cf6add73a3a936ab887039499e3595bc19bd6c7dd9fbe
- Size of remote file:
- 4.87 MB
- SHA256:
- dff71b94f92008cc4293807a3f79b35b9ff681f2fe978fcf49cc0339d5aab309
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.