Weevil-10M

Pretrained causal language model. 9,894,464 parameters, eight parallel GDN2/SwiGLU blocks, and a shared 4,096-token BPE tokenizer. Uses the shared Weevil Transformers implementation.

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "ELBennett/Weevil-10M"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True)
inputs = tokenizer("The purpose of this article is", return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=64, do_sample=True,
                        temperature=0.8, top_k=40)
print(tokenizer.decode(output[0], skip_special_tokens=True))

Requires PyTorch and Transformers (pip install torch 'transformers>=4.57,<6'). Weights are safetensors; generation uses fixed-size recurrent/convolution caches. Source checkpoint: step-00038147. This is a continuation model, with no chat template.

Downloads last month
477
Safetensors
Model size
9.89M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including ELBennett/Weevil-10M