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:
# Load model directly from transformers import CharGPT model = CharGPT.from_pretrained("Compactbot/char-gpt-1.2m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add sample generation.
#4
by Compactbot - opened
- sample.txt +17 -0
sample.txt
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
A grianter of though liftsery was and more
|
| 3 |
+
that devest my reties read to weer, and is a chall.
|
| 4 |
+
|
| 5 |
+
ISABELLA:
|
| 6 |
+
And mader:
|
| 7 |
+
I he blike the to the now and good.
|
| 8 |
+
|
| 9 |
+
TORCUTESTIO:
|
| 10 |
+
You as vrisked; was blag make weend, and burd,
|
| 11 |
+
And as chend and this as sclatt,
|
| 12 |
+
Theret he some to simn nobed courdown.
|
| 13 |
+
|
| 14 |
+
HENRY ORWIONH:
|
| 15 |
+
Marress leach us lords theirs;
|
| 16 |
+
I go card to sees of slight the succh my fraiin
|
| 17 |
+
To some to brothoun
|