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
File size: 240 Bytes
ea61a00 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
"architectures": [
"CharGPT"
],
"model_type": "charlm",
"vocab_size": 65,
"block_size": 128,
"n_layer": 6,
"n_head": 4,
"n_embd": 128,
"tie_word_embeddings": false,
"n_params": 1216000,
"torch_dtype": "float32"
} |