Downloads · 30 days
18
18% of all-time downloads
Mostafa8Mehrabi/qwen3-50m-c4-final-test-version
qwen3-50m-c4-final-test-version is a text generation model from Mostafa8Mehrabi. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Pretrained Qwen3-50M model on C4 dataset from scratch using FP16 precision.
Downloads · 30 days
18
18% of all-time downloads
All-time downloads
102
Public
Parameters
71.6M
143 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors143 MB · 97%
From the Hugging Face model README
Pretrained Qwen3-50M model on C4 dataset from scratch using FP16 precision.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
tokenizer = AutoTokenizer.from_pretrained("Mostafa8Mehrabi/qwen3-50m-c4-final")
model = AutoModelForCausalLM.from_pretrained(
"Mostafa8Mehrabi/qwen3-50m-c4-final",
torch_dtype=torch.float16,
device_map="auto"
)
# Generate text
prompt = "The future of artificial intelligence is"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=100, do_sample=True)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Training checkpoints (also in FP16) are available at: Mostafa8Mehrabi/qwen3-50m-c4-checkpoints