Downloads · 30 days
14
16% of all-time downloads
LTX-Test-Renamed/model-name
model-name is a text generation model from LTX-Test-Renamed. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
A tiny, randomly-initialized GPT-2-style model for testing tooling and pipelines. It is not trained — outputs are meaningless. The point is a small, valid Hugging Face layout (config.json + model.safetensors) that rea…
Downloads · 30 days
14
16% of all-time downloads
All-time downloads
88
Public
Parameters
43.9K
178 KB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors178 KB · 98%
From the Hugging Face model README
A tiny, randomly-initialized GPT-2-style model for testing tooling and pipelines.
It is not trained — outputs are meaningless. The point is a small, valid Hugging Face
layout (config.json + model.safetensors) that real loaders accept.
| Field | Value |
|---|---|
| Architecture | GPT2LMHeadModel |
| Params | ~43.9K |
| Hidden size | 32 |
| Layers | 2 |
| Heads | 4 |
| Vocab | 256 |
| Context | 64 |
| dtype | float32 |
| Weights file | model.safetensors (~174 KiB) |
from transformers import AutoModelForCausalLM
import torch
model = AutoModelForCausalLM.from_pretrained(".")
out = model(torch.zeros(1, 8, dtype=torch.long))
print(out.logits.shape) # torch.Size([1, 8, 256])
Or load the raw tensors directly:
from safetensors.torch import load_file
state = load_file("model.safetensors")
print(len(state), "tensors")
torch.manual_seed(0), init range 0.02); LayerNorm/biases use the
conventional ones/zeros init.