Run this model with HF Jobs
Run itlrc/gpt2-small on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/itlrc/gpt2-small. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/itlrc/gpt2-small on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/itlrc/gpt2-small. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/itlrc/gpt2-small. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use itlrc/gpt2-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use itlrc/gpt2-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="itlrc/gpt2-small", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("itlrc/gpt2-small", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use itlrc/gpt2-small with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "itlrc/gpt2-small" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "itlrc/gpt2-small", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/itlrc/gpt2-small
- SGLang
How to use itlrc/gpt2-small with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "itlrc/gpt2-small" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "itlrc/gpt2-small", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "itlrc/gpt2-small" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "itlrc/gpt2-small", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use itlrc/gpt2-small with Docker Model Runner:
docker model run hf.co/itlrc/gpt2-small
Upload folder using huggingface_hub
Browse filesFiles changed (12)
- .gitattributes+1-34
- README.mdAdded+92
- config.jsonAdded+25
- configuration_nanogpt.pyAdded+33
- conversion_report.jsonAdded+23
- generation_config.jsonAdded+9
- model.safetensorsAdded+3
- modeling_nanogpt.pyAdded+147
- requirements.txtAdded+4
- training_curves.pngAdded
- training_history.jsonAdded+260
- validation_report.jsonAdded+12
1234567891011121314151617181920212223242526272829303132333435*.7z filter=lfs diff=lfs merge=lfs -text*.arrow filter=lfs diff=lfs merge=lfs -text*.bin filter=lfs diff=lfs merge=lfs -text*.bz2 filter=lfs diff=lfs merge=lfs -text*.ckpt filter=lfs diff=lfs merge=lfs -text*.ftz filter=lfs diff=lfs merge=lfs -text*.gz filter=lfs diff=lfs merge=lfs -text*.h5 filter=lfs diff=lfs merge=lfs -text*.joblib filter=lfs diff=lfs merge=lfs -text*.lfs.* filter=lfs diff=lfs merge=lfs -text*.mlmodel filter=lfs diff=lfs merge=lfs -text*.model filter=lfs diff=lfs merge=lfs -text*.msgpack filter=lfs diff=lfs merge=lfs -text*.npy filter=lfs diff=lfs merge=lfs -text*.npz filter=lfs diff=lfs merge=lfs -text*.onnx filter=lfs diff=lfs merge=lfs -text*.ot filter=lfs diff=lfs merge=lfs -text*.parquet filter=lfs diff=lfs merge=lfs -text*.pb filter=lfs diff=lfs merge=lfs -text*.pickle filter=lfs diff=lfs merge=lfs -text*.pkl filter=lfs diff=lfs merge=lfs -text*.pt filter=lfs diff=lfs merge=lfs -text*.pth filter=lfs diff=lfs merge=lfs -text*.rar filter=lfs diff=lfs merge=lfs -text*.safetensors filter=lfs diff=lfs merge=lfs -textsaved_model/**/* filter=lfs diff=lfs merge=lfs -text*.tar.* filter=lfs diff=lfs merge=lfs -text*.tar filter=lfs diff=lfs merge=lfs -text*.tflite filter=lfs diff=lfs merge=lfs -text*.tgz filter=lfs diff=lfs merge=lfs -text*.wasm filter=lfs diff=lfs merge=lfs -text*.xz filter=lfs diff=lfs merge=lfs -text*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text12*.safetensors filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192---library_name: transformerspipeline_tag: text-generationtags: - gpt2 - nanogpt - causal-lm - text-generation - from-scratchdatasets: - HuggingFaceFW/fineweb-edulanguage: - en---
# GPT-2 Small (124M) treinado do zero
Modelo causal de linguagem com arquitetura equivalente ao GPT-2 Small, treinado do zero sobre o `sample-10BT` do FineWeb-Edu. O treinamento usou o tokenizer GPT-2 e processou aproximadamente 5,51 bilhões de tokens.
## Resultados
| Métrica | Resultado ||---|---:|| Parâmetros | 124.439.808 || Steps | 10.500 || Épocas lógicas completas | 42 || Train loss | 3,3080 || Validation loss | 3,2915 || Validation perplexity | 26,88 || HellaSwag | 27,68% em 10.042 exemplos |

## Arquitetura
- 12 blocos Transformer;- 12 cabeças de atenção;- embedding de 768 dimensões;- contexto máximo de 1.024 tokens;- vocabulário de 50.257 tokens;- pesos compartilhados entre embedding e cabeça de linguagem;- 124.439.808 parâmetros em FP32.
## Uso com Transformers
Este repositório inclui código de arquitetura personalizado. Por isso, o carregamento requer `trust_remote_code=True`.
```pythonimport torchfrom transformers import AutoModelForCausalLM, AutoTokenizer
repo_id = "itlrc/gpt2-small"
tokenizer = AutoTokenizer.from_pretrained("gpt2")model = AutoModelForCausalLM.from_pretrained( repo_id, trust_remote_code=True, torch_dtype=torch.float32,)
inputs = tokenizer("Hi! I'm a", return_tensors="pt")with torch.inference_mode(): output = model.generate( **inputs, max_new_tokens=64, do_sample=True, temperature=0.8, top_k=50, )
print(tokenizer.decode(output[0], skip_special_tokens=True))```
Substitua `SEU_USUARIO/meu-gpt2-small` pelo identificador deste repositório no Hub.
## Treinamento
- Dataset: `HuggingFaceFW/fineweb-edu`, configuração `sample-10BT`;- batch efetivo de 524.288 tokens por step;- 250 steps por época lógica;- AdamW com betas `(0.9, 0.95)` e weight decay `0.1`;- gradient clipping em `1.0`;- warmup e cosine decay;- validação em um conjunto fixo de documentos reservados.
## Limitações
O modelo é um experimento educacional e não recebeu instruction tuning, RLHF ou outro alinhamento por preferências. Pode produzir informações falsas, repetições, vieses ou conteúdo inadequado. O resultado do HellaSwag está próximo da linha de base aleatória de 25%; o modelo não deve ser tratado como competitivo ou pronto para produção.
## Licença
Uma licença ainda não foi definida. Verifique os termos aplicáveis antes de reutilizar ou redistribuir os pesos.12345678910111213141516171819202122232425{ "architectures": [ "NanoGPTForCausalLM" ], "auto_map": { "AutoConfig": "configuration_nanogpt.NanoGPTConfig", "AutoModelForCausalLM": "modeling_nanogpt.NanoGPTForCausalLM" }, "model_type": "nanogpt", "block_size": 1024, "max_position_embeddings": 1024, "vocab_size": 50257, "n_layer": 12, "num_hidden_layers": 12, "n_head": 12, "num_attention_heads": 12, "n_embd": 768, "hidden_size": 768, "bos_token_id": 50256, "eos_token_id": 50256, "tie_word_embeddings": true, "torch_dtype": "float32", "use_cache": false}
123456789101112131415161718192021222324252627282930313233from transformers import PretrainedConfig
class NanoGPTConfig(PretrainedConfig): model_type = "nanogpt"
def __init__( self, block_size=1024, vocab_size=50257, n_layer=12, n_head=12, n_embd=768, **kwargs, ): kwargs.setdefault("bos_token_id", 50256) kwargs.setdefault("eos_token_id", 50256) kwargs.setdefault("tie_word_embeddings", True) kwargs.setdefault("is_decoder", True) kwargs.setdefault("is_encoder_decoder", False) kwargs.setdefault("use_cache", False) super().__init__(**kwargs)
self.block_size = block_size self.max_position_embeddings = block_size self.vocab_size = vocab_size self.n_layer = n_layer self.num_hidden_layers = n_layer self.n_head = n_head self.num_attention_heads = n_head self.n_embd = n_embd self.hidden_size = n_embd
1234567891011121314151617181920212223{
"source": "meu-gpt2-small.pt",
"output": "model.safetensors",
"tensor_count": 148,
"alias_count": 1,
"aliases": {
"transformer.wte.weight": "lm_head.weight"
},
"parameter_count": 124439808,
"data_bytes": 497759232,
"file_bytes": 497774232,
"sha256": "868d94679a6e0c46664ade35462570c49e35f1a220a6b3e048afdda7aa81eb75",
"config": {
"block_size": 1024,
"vocab_size": 50257,
"n_layer": 12,
"n_head": 12,
"n_embd": 768
},
"global_step": 10500,
"epoch_zero_based": 41,
"history_entries": 42
}123456789{ "bos_token_id": 50256, "eos_token_id": 50256, "do_sample": true, "temperature": 0.8, "top_k": 50, "max_new_tokens": 64}
123version https://git-lfs.github.com/spec/v1oid sha256:868d94679a6e0c46664ade35462570c49e35f1a220a6b3e048afdda7aa81eb75size 497774232123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147from __future__ import annotations
import torchimport torch.nn as nnimport torch.nn.functional as Ffrom transformers import PreTrainedModelfrom transformers.generation.utils import GenerationMixinfrom transformers.modeling_outputs import CausalLMOutput
from .configuration_nanogpt import NanoGPTConfig
class MLP(nn.Module): def __init__(self, config: NanoGPTConfig): super().__init__() self.l1 = nn.Linear(config.n_embd, 4 * config.n_embd) self.gelu = nn.GELU(approximate="tanh") self.l2 = nn.Linear(4 * config.n_embd, config.n_embd)
def forward(self, x: torch.Tensor) -> torch.Tensor: return self.l2(self.gelu(self.l1(x)))
class CausalSelfAttention(nn.Module): def __init__(self, config: NanoGPTConfig): super().__init__() if config.n_embd % config.n_head != 0: raise ValueError("n_embd must be divisible by n_head") self.c_attn = nn.Linear(config.n_embd, 3 * config.n_embd) self.c_proj = nn.Linear(config.n_embd, config.n_embd) self.c_proj.NANOGPT_SCALE_INIT = 1 self.n_head = config.n_head self.n_embd = config.n_embd
def forward(self, x: torch.Tensor) -> torch.Tensor: batch, sequence, channels = x.shape q, k, v = self.c_attn(x).split(self.n_embd, dim=2) head_size = channels // self.n_head q = q.view(batch, sequence, self.n_head, head_size).transpose(1, 2) k = k.view(batch, sequence, self.n_head, head_size).transpose(1, 2) v = v.view(batch, sequence, self.n_head, head_size).transpose(1, 2) y = F.scaled_dot_product_attention(q, k, v, is_causal=True) y = y.transpose(1, 2).contiguous().view(batch, sequence, channels) return self.c_proj(y)
class Block(nn.Module): def __init__(self, config: NanoGPTConfig): super().__init__() self.ln1 = nn.LayerNorm(config.n_embd) self.attn = CausalSelfAttention(config) self.mlp = MLP(config) self.ln2 = nn.LayerNorm(config.n_embd)
def forward(self, x: torch.Tensor) -> torch.Tensor: x = x + self.attn(self.ln1(x)) return x + self.mlp(self.ln2(x))
class NanoGPTForCausalLM(PreTrainedModel, GenerationMixin): config_class = NanoGPTConfig base_model_prefix = "transformer" main_input_name = "input_ids" _tied_weights_keys = {"lm_head.weight": "transformer.wte.weight"}
def __init__(self, config: NanoGPTConfig): super().__init__(config) self.transformer = nn.ModuleDict( { "wte": nn.Embedding(config.vocab_size, config.n_embd), "wpe": nn.Embedding(config.block_size, config.n_embd), "h": nn.ModuleList(Block(config) for _ in range(config.n_layer)), "ln_f": nn.LayerNorm(config.n_embd), } ) self.lm_head = nn.Linear(config.n_embd, config.vocab_size, bias=False) self.post_init() # Replica exatamente o compartilhamento de pesos do treinamento. self.transformer.wte.weight = self.lm_head.weight
def _init_weights(self, module: nn.Module) -> None: if isinstance(module, nn.Linear): std = 0.02 if hasattr(module, "NANOGPT_SCALE_INIT"): std = (2 * self.config.n_layer) ** -0.5 nn.init.normal_(module.weight, mean=0.0, std=std) if module.bias is not None: nn.init.zeros_(module.bias) elif isinstance(module, nn.Embedding): nn.init.normal_(module.weight, mean=0.0, std=0.02)
def get_input_embeddings(self): return self.transformer.wte
def set_input_embeddings(self, value): self.transformer.wte = value
def get_output_embeddings(self): return self.lm_head
def set_output_embeddings(self, value): self.lm_head = value
def prepare_inputs_for_generation(self, input_ids, **kwargs): input_ids = input_ids[:, -self.config.block_size :] return {"input_ids": input_ids, "use_cache": False}
def forward( self, input_ids: torch.LongTensor | None = None, attention_mask: torch.Tensor | None = None, labels: torch.LongTensor | None = None, return_dict: bool | None = None, **kwargs, ): del kwargs if input_ids is None: raise ValueError("input_ids is required") if attention_mask is not None and not bool(torch.all(attention_mask)): raise NotImplementedError("Padded attention masks are not supported")
batch, sequence = input_ids.shape if sequence > self.config.block_size: raise ValueError( f"Sequence length {sequence} exceeds block_size={self.config.block_size}" )
positions = torch.arange(sequence, dtype=torch.long, device=input_ids.device) hidden = self.transformer.wte(input_ids) + self.transformer.wpe(positions) for block in self.transformer.h: hidden = block(hidden) logits = self.lm_head(self.transformer.ln_f(hidden))
loss = None if labels is not None: shift_logits = logits[:, :-1, :].contiguous() shift_labels = labels[:, 1:].contiguous() loss = F.cross_entropy( shift_logits.view(-1, shift_logits.size(-1)), shift_labels.view(-1), ignore_index=-100, )
return_dict = return_dict if return_dict is not None else self.config.use_return_dict if not return_dict: return ((loss, logits) if loss is not None else (logits,)) return CausalLMOutput(loss=loss, logits=logits)1234torch>=2.1transformers>=4.40safetensors>=0.4
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260{
"checkpoint": "meu-gpt2-small.pt",
"global_step": 10500,
"saved_epoch_zero_based": 41,
"completed_epochs": 42,
"history": [
{
"epoch": 1,
"train_loss": 6.762493263244629,
"val_loss": 5.917539596557617,
"val_perplexity": 371.49655710248066
},
{
"epoch": 2,
"train_loss": 5.541384765625,
"val_loss": 5.26967716217041,
"val_perplexity": 194.35320774837945
},
{
"epoch": 3,
"train_loss": 5.0224020977020265,
"val_loss": 4.827438831329346,
"val_perplexity": 124.89068458071026
},
{
"epoch": 4,
"train_loss": 4.62007432937622,
"val_loss": 4.445925235748291,
"val_perplexity": 85.27874428945191
},
{
"epoch": 5,
"train_loss": 4.331969959259033,
"val_loss": 4.247232437133789,
"val_perplexity": 69.91165944609251
},
{
"epoch": 6,
"train_loss": 4.151007141113281,
"val_loss": 4.098186016082764,
"val_perplexity": 60.23093050209194
},
{
"epoch": 7,
"train_loss": 4.024706149101258,
"val_loss": 3.992929220199585,
"val_perplexity": 54.21346016815578
},
{
"epoch": 8,
"train_loss": 3.9312990884780885,
"val_loss": 3.911719560623169,
"val_perplexity": 49.98483006148707
},
{
"epoch": 9,
"train_loss": 3.8611789560317993,
"val_loss": 3.843583345413208,
"val_perplexity": 46.69249034434607
},
{
"epoch": 10,
"train_loss": 3.795152172088623,
"val_loss": 3.7917754650115967,
"val_perplexity": 44.33504576170735
},
{
"epoch": 11,
"train_loss": 3.7374049215316774,
"val_loss": 3.7421348094940186,
"val_perplexity": 42.18795735131386
},
{
"epoch": 12,
"train_loss": 3.697301244735718,
"val_loss": 3.701508045196533,
"val_perplexity": 40.50834673888484
},
{
"epoch": 13,
"train_loss": 3.6457112846374513,
"val_loss": 3.6743838787078857,
"val_perplexity": 39.424359185690506
},
{
"epoch": 14,
"train_loss": 3.6090366344451903,
"val_loss": 3.631840467453003,
"val_perplexity": 37.78228974062738
},
{
"epoch": 15,
"train_loss": 3.5832368659973146,
"val_loss": 3.6116409301757812,
"val_perplexity": 37.026761321954275
},
{
"epoch": 16,
"train_loss": 3.556627835273743,
"val_loss": 3.5829408168792725,
"val_perplexity": 35.97919363811672
},
{
"epoch": 17,
"train_loss": 3.5311556301116944,
"val_loss": 3.5568578243255615,
"val_perplexity": 35.05288160856405
},
{
"epoch": 18,
"train_loss": 3.5092039766311647,
"val_loss": 3.538565158843994,
"val_perplexity": 34.41750009943329
},
{
"epoch": 19,
"train_loss": 3.491081185340881,
"val_loss": 3.521862745285034,
"val_perplexity": 33.84741889803151
},
{
"epoch": 20,
"train_loss": 3.46790279006958,
"val_loss": 3.498877763748169,
"val_perplexity": 33.07830944324531
},
{
"epoch": 21,
"train_loss": 3.461467836380005,
"val_loss": 3.4855411052703857,
"val_perplexity": 32.640084053803236
},
{
"epoch": 22,
"train_loss": 3.433840343475342,
"val_loss": 3.472491502761841,
"val_perplexity": 32.21691105599786
},
{
"epoch": 23,
"train_loss": 3.427763368606567,
"val_loss": 3.455721616744995,
"val_perplexity": 31.681142078210755
},
{
"epoch": 24,
"train_loss": 3.4020676288604736,
"val_loss": 3.444441318511963,
"val_perplexity": 31.325777425033873
},
{
"epoch": 25,
"train_loss": 3.432619053840637,
"val_loss": 3.4277169704437256,
"val_perplexity": 30.806230868467498
},
{
"epoch": 26,
"train_loss": 3.43633030128479,
"val_loss": 3.418991804122925,
"val_perplexity": 30.53861059391889
},
{
"epoch": 27,
"train_loss": 3.4259569597244264,
"val_loss": 3.4030869007110596,
"val_perplexity": 30.05673915944719
},
{
"epoch": 28,
"train_loss": 3.421791753768921,
"val_loss": 3.3978233337402344,
"val_perplexity": 29.89894913344078
},
{
"epoch": 29,
"train_loss": 3.40044681930542,
"val_loss": 3.3833577632904053,
"val_perplexity": 29.4695569672876
},
{
"epoch": 30,
"train_loss": 3.397545576095581,
"val_loss": 3.372842788696289,
"val_perplexity": 29.161308775537773
},
{
"epoch": 31,
"train_loss": 3.390657088279724,
"val_loss": 3.3716907501220703,
"val_perplexity": 29.127733166865262
},
{
"epoch": 32,
"train_loss": 3.388995677947998,
"val_loss": 3.3579795360565186,
"val_perplexity": 28.731082080243755
},
{
"epoch": 33,
"train_loss": 3.3849938402175903,
"val_loss": 3.3530166149139404,
"val_perplexity": 28.5888452326157
},
{
"epoch": 34,
"train_loss": 3.3756893405914306,
"val_loss": 3.3412468433380127,
"val_perplexity": 28.254333479650654
},
{
"epoch": 35,
"train_loss": 3.36914919090271,
"val_loss": 3.3360302448272705,
"val_perplexity": 28.107325739253934
},
{
"epoch": 36,
"train_loss": 3.3585229835510253,
"val_loss": 3.3285279273986816,
"val_perplexity": 27.8972446922023
},
{
"epoch": 37,
"train_loss": 3.352972943305969,
"val_loss": 3.321429491043091,
"val_perplexity": 27.69991905655767
},
{
"epoch": 38,
"train_loss": 3.3415581064224242,
"val_loss": 3.3138606548309326,
"val_perplexity": 27.4910543346705
},
{
"epoch": 39,
"train_loss": 3.337852599143982,
"val_loss": 3.309849500656128,
"val_perplexity": 27.38100433860955
},
{
"epoch": 40,
"train_loss": 3.3164997177124023,
"val_loss": 3.301292896270752,
"val_perplexity": 27.14771542066057
},
{
"epoch": 41,
"train_loss": 3.314494022369385,
"val_loss": 3.30085825920105,
"val_perplexity": 27.13591858103864
},
{
"epoch": 42,
"train_loss": 3.308030590057373,
"val_loss": 3.2914741039276123,
"val_perplexity": 26.882462005512892
}
]
}123456789101112{ "validated": true, "safetensors_sha256": "868d94679a6e0c46664ade35462570c49e35f1a220a6b3e048afdda7aa81eb75", "parameter_count": 124439808, "tensor_count_on_disk": 148, "tied_embeddings": true, "torch_version": "2.14.0+cpu", "transformers_version": "5.17.0", "validation_method": "AutoModelForCausalLM.from_pretrained with trust_remote_code=True", "sample_prompt": "Hi! I'm a", "sample_output": "Hi! I'm a little girl, but I did not know it. I was on the moon. I went back to work out how much"}.gitattributes+1-34
README.mdAdded+92
config.jsonAdded+25
configuration_nanogpt.pyAdded+33
conversion_report.jsonAdded+23
generation_config.jsonAdded+9
model.safetensorsAdded+3
modeling_nanogpt.pyAdded+147
requirements.txtAdded+4
training_curves.pngAdded

training_history.jsonAdded+260
validation_report.jsonAdded+12