Instructions to use GulkoA/stilt.1-124m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GulkoA/stilt.1-124m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="GulkoA/stilt.1-124m", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("GulkoA/stilt.1-124m", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use GulkoA/stilt.1-124m with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "GulkoA/stilt.1-124m" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GulkoA/stilt.1-124m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/GulkoA/stilt.1-124m
- SGLang
How to use GulkoA/stilt.1-124m with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "GulkoA/stilt.1-124m" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GulkoA/stilt.1-124m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "GulkoA/stilt.1-124m" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GulkoA/stilt.1-124m", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use GulkoA/stilt.1-124m with Docker Model Runner:
docker model run hf.co/GulkoA/stilt.1-124m
stilt.1-124m
Stilt is a family of research language models built on a custom attention mechanism. The name honors T.J. Stieltjes — and the black-winged stilt, a bird whose legs are as heavy-tailed as our attention weights.
stilt.1-124m: 124M parameters, GPT-2-style (ctx 1024, GPT-2 BPE),
trained on 10B tokens of FineWeb-Edu. KV-cached generation.
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "GulkoA/stilt.1-124m"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True)
ids = tok("The history of mathematics begins with", return_tensors="pt")
out = model.generate(**ids, max_new_tokens=40, do_sample=True, top_k=40)
print(tok.decode(out[0]))
Runs on CPU or GPU. A dedicated Inference Endpoint deploys directly via
the included handler.py.
Family
| model | params | data | status |
|---|---|---|---|
| stilt.1-124m | 124M | FineWeb-Edu 10B | this repo |
| stilt.1-124m-it | 124M | + chat SFT | GulkoA/stilt.1-124m-it |
| stilt.1-355m | 355M | web+math+code 15B | GulkoA/stilt.1-355m |
| stilt.1-355m-it | 355M | + chat SFT | GulkoA/stilt.1-355m-it |
Research artifacts — no safety tuning. -it suffixes mark
instruction-tuned variants.
- Downloads last month
- 9
Collection including GulkoA/stilt.1-124m
Collection
Family of models using sharp attention mechanism • 5 items • Updated