Downloads · 30 days
27
11% of all-time downloads
Madras1/tinygpt-ptbr-v1
tinygpt-ptbr-v1 is a text generation model from Madras1. Use it when you need the model to write or continue text. It is set up for transformers.
Modelo causal pequeno treinado em JAX/Flax/Orbax e exportado para o Hugging Face com safetensors.
Downloads · 30 days
27
11% of all-time downloads
All-time downloads
235
Public
Parameters
116M
464 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors464 MB · 99%
From the Hugging Face model README
Modelo causal pequeno treinado em JAX/Flax/Orbax e exportado para o Hugging Face com safetensors.
hidden_size: 768num_hidden_layers: 12num_attention_heads: 8intermediate_size: 2048max_position_embeddings: 1024vocab_size: 32000Checkpoint convertido do treino JAX TPU do projeto local. Este repositório usa trust_remote_code=True.
from transformers import AutoTokenizer, AutoModelForCausalLM
repo_id = "Madras1/tinygpt-ptbr-v1"
tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo_id, trust_remote_code=True)