Downloads · 30 days
9
17% of all-time downloads
tonyzhao123/dummy_llama4_b16
dummy_llama4_b16 is a text generation model from tonyzhao123. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This is a checkpoint from step 12136 of custom Llama4 training.
Downloads · 30 days
9
17% of all-time downloads
All-time downloads
53
Public
Parameters
807M
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.6 GB · 98%
From the Hugging Face model README
This is a checkpoint from step 12136 of custom Llama4 training.
checkpoint-12136This model has been converted to bfloat16 format for efficient inference and reduced memory usage.
from transformers import AutoTokenizer, AutoModelForImageTextToText
import torch
model_name = "tonyzhao123/dummy_llama4_b16"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForImageTextToText.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto"
)
# Example usage
text = "Hello, how are you today?"
inputs = tokenizer(text, return_tensors="pt")
with torch.no_grad():
outputs = model.generate(
inputs.input_ids,
max_new_tokens=100,
do_sample=True,
temperature=0.7,
pad_token_id=tokenizer.eos_token_id
)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
This checkpoint was extracted from training step 12136. The model was trained using custom scripts with on-the-fly tokenization on WikiText-103 dataset.
config.json - Model configurationmodel.safetensors - Model weights (single file, no sharding)tokenizer.json - Fast tokenizertokenizer_config.json - Tokenizer configurationspecial_tokens_map.json - Special tokens mappinggeneration_config.json - Generation parameters (if available)chat_template.jinja - Chat template (if available)@misc{tonyzhao123_dummy_llama4_b16_checkpoint_12136,
title={tonyzhao123/dummy_llama4_b16 - Checkpoint 12136},
author={Your Name},
year={2024},
publisher={Hugging Face},
url={https://huggingface.co/tonyzhao123/dummy_llama4_b16}
}