Downloads · 30 days
0
cjfb75/slm-55m-llama-style
slm-55m-llama-style is a machine learning model from cjfb75. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Small Language Model de ~55M parâmetros pré-treinado em 524M tokens do FineWeb-Edu. Projeto da disciplina Aprendizado Profundo II (PUCRS).
Downloads · 30 days
0
Access
Public
Updated May 27, 2026
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.pt1.3 GB · 100%
From the Hugging Face model README
Small Language Model de ~55M parâmetros pré-treinado em 524M tokens do FineWeb-Edu. Projeto da disciplina Aprendizado Profundo II (PUCRS).
Código completo: https://github.com/cjfbr/slm-pretraining
Carregar o checkpoint requer a definição do modelo do repositório de código. Exemplo:
import torch
from slm.model import GPT
from slm.config import ModelConfig
cfg = ModelConfig()
model = GPT(cfg)
ckpt = torch.load("pretrain_final.pt", weights_only=False, map_location="cuda")
model.load_state_dict(ckpt["model"])
model.eval()
Disponíveis no Weights & Biases: https://wandb.ai/cjferrazzo-pucrs/slm-pretrain