tiny-random / baguettotron

huggingface.co
Total runs: 3
24-hour runs: 0
7-day runs: 0
30-day runs: 2
Model's Last Updated: November 23 2025
text-generation

Introduction of baguettotron

Model Details of baguettotron

This tiny model is intended for debugging. It is randomly initialized using the configuration adapted from PleIAs/Baguettotron .

Example usage:
from transformers import pipeline
model_id = "tiny-random/baguettotron"
pipe = pipeline(
    "text-generation", model=model_id, device="cuda",
    trust_remote_code=True, max_new_tokens=3,
)
print(pipe("Hello World!"))
Codes to create this repo:
import torch
from transformers import (
    AutoConfig,
    AutoModelForCausalLM,
    AutoTokenizer,
    GenerationConfig,
    pipeline,
    set_seed,
)

source_model_id = "PleIAs/Baguettotron"
save_folder = "/tmp/tiny-random/baguettotron"

tokenizer = AutoTokenizer.from_pretrained(
    source_model_id, trust_remote_code=True,
)
tokenizer.chat_template = "{% for m in messages %}<|im_start|>{{ m['role'] }}\n{{ m['content'] }}<|im_end|>\n{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n<think>\n{% endif %}"
tokenizer.eos_token = "<|im_end|>"
tokenizer.bos_token = "<|im_start|>"
tokenizer.stop_token = "<|im_end|>"
tokenizer.save_pretrained(save_folder)

config = AutoConfig.from_pretrained(
    source_model_id, trust_remote_code=True,
)
config.hidden_size = 8
config.intermediate_size = 64
config.num_attention_heads = 16
config.num_key_value_heads = 8
config.head_dim = 32
config.num_hidden_layers = 2

model = AutoModelForCausalLM.from_config(
    config,
    torch_dtype=torch.bfloat16,
    trust_remote_code=True,
)
model.generation_config = GenerationConfig.from_pretrained(
    source_model_id, trust_remote_code=True,
)
set_seed(42)
model = model.cpu()
with torch.no_grad():
    for name, p in sorted(model.named_parameters()):
        torch.nn.init.normal_(p, 0, 0.1)
        print(name, p.shape)
model.save_pretrained(save_folder)
Printing the model:
LlamaForCausalLM(
  (model): LlamaModel(
    (embed_tokens): Embedding(65536, 8)
    (layers): ModuleList(
      (0-1): 2 x LlamaDecoderLayer(
        (self_attn): LlamaAttention(
          (q_proj): Linear(in_features=8, out_features=512, bias=False)
          (k_proj): Linear(in_features=8, out_features=256, bias=False)
          (v_proj): Linear(in_features=8, out_features=256, bias=False)
          (o_proj): Linear(in_features=512, out_features=8, bias=False)
        )
        (mlp): LlamaMLP(
          (gate_proj): Linear(in_features=8, out_features=64, bias=False)
          (up_proj): Linear(in_features=8, out_features=64, bias=False)
          (down_proj): Linear(in_features=64, out_features=8, bias=False)
          (act_fn): SiLUActivation()
        )
        (input_layernorm): LlamaRMSNorm((8,), eps=1e-05)
        (post_attention_layernorm): LlamaRMSNorm((8,), eps=1e-05)
      )
    )
    (norm): LlamaRMSNorm((8,), eps=1e-05)
    (rotary_emb): LlamaRotaryEmbedding()
  )
  (lm_head): Linear(in_features=8, out_features=65536, bias=False)
)

Runs of tiny-random baguettotron on huggingface.co

3
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
2
30-day runs

More Information About baguettotron huggingface.co Model

baguettotron huggingface.co

baguettotron huggingface.co is an AI model on huggingface.co that provides baguettotron's model effect (), which can be used instantly with this tiny-random baguettotron model. huggingface.co supports a free trial of the baguettotron model, and also provides paid use of the baguettotron. Support call baguettotron model through api, including Node.js, Python, http.

tiny-random baguettotron online free

baguettotron huggingface.co is an online trial and call api platform, which integrates baguettotron's modeling effects, including api services, and provides a free online trial of baguettotron, you can try baguettotron online for free by clicking the link below.

tiny-random baguettotron online free url in huggingface.co:

https://huggingface.co/tiny-random/baguettotron

baguettotron install

baguettotron is an open source model from GitHub that offers a free installation service, and any user can find baguettotron on GitHub to install. At the same time, huggingface.co provides the effect of baguettotron install, users can directly use baguettotron installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

baguettotron install url in huggingface.co:

https://huggingface.co/tiny-random/baguettotron

Url of baguettotron

Provider of baguettotron huggingface.co

tiny-random
ORGANIZATIONS

Other API from tiny-random

huggingface.co

Total runs: 687
Run Growth: 670
Growth Rate: 97.53%
Updated:February 20 2026
huggingface.co

Total runs: 658
Run Growth: 593
Growth Rate: 91.65%
Updated:July 11 2025
huggingface.co

Total runs: 493
Run Growth: 474
Growth Rate: 96.15%
Updated:August 06 2025
huggingface.co

Total runs: 362
Run Growth: 73
Growth Rate: 20.17%
Updated:April 23 2026
huggingface.co

Total runs: 281
Run Growth: 278
Growth Rate: 98.93%
Updated:August 21 2025
huggingface.co

Total runs: 152
Run Growth: 80
Growth Rate: 52.63%
Updated:September 06 2025
huggingface.co

Total runs: 147
Run Growth: 60
Growth Rate: 40.82%
Updated:January 12 2025
huggingface.co

Total runs: 145
Run Growth: -26
Growth Rate: -17.93%
Updated:November 23 2025
huggingface.co

Total runs: 144
Run Growth: 56
Growth Rate: 38.89%
Updated:April 27 2025
huggingface.co

Total runs: 137
Run Growth: -99
Growth Rate: -72.26%
Updated:February 27 2026
huggingface.co

Total runs: 134
Run Growth: -127
Growth Rate: -94.07%
Updated:June 25 2025
huggingface.co

Total runs: 80
Run Growth: -10
Growth Rate: -12.50%
Updated:July 08 2025
huggingface.co

Total runs: 66
Run Growth: -269
Growth Rate: -407.58%
Updated:December 16 2025
huggingface.co

Total runs: 59
Run Growth: 12
Growth Rate: 20.69%
Updated:October 18 2025
huggingface.co

Total runs: 58
Run Growth: 58
Growth Rate: 100.00%
Updated:April 03 2026
huggingface.co

Total runs: 49
Run Growth: 44
Growth Rate: 89.80%
Updated:February 14 2026
huggingface.co

Total runs: 41
Run Growth: -30
Growth Rate: -73.17%
Updated:November 23 2025
huggingface.co

Total runs: 40
Run Growth: 33
Growth Rate: 82.50%
Updated:October 18 2025
huggingface.co

Total runs: 31
Run Growth: 31
Growth Rate: 100.00%
Updated:April 12 2026
huggingface.co

Total runs: 27
Run Growth: 15
Growth Rate: 55.56%
Updated:April 12 2026
huggingface.co

Total runs: 20
Run Growth: -13
Growth Rate: -61.90%
Updated:July 22 2025
huggingface.co

Total runs: 14
Run Growth: 9
Growth Rate: 64.29%
Updated:July 22 2025
huggingface.co

Total runs: 11
Run Growth: 2
Growth Rate: 18.18%
Updated:February 13 2026
huggingface.co

Total runs: 11
Run Growth: 7
Growth Rate: 63.64%
Updated:July 29 2025
huggingface.co

Total runs: 5
Run Growth: 1
Growth Rate: 20.00%
Updated:August 11 2025
huggingface.co

Total runs: 2
Run Growth: 1
Growth Rate: 50.00%
Updated:October 05 2025