Text Generation
Transformers
Safetensors
English
tyrian
from-scratch
chatml
custom_code
conversational
Instructions to use redptam/tyrian-75m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use redptam/tyrian-75m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="redptam/tyrian-75m", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("redptam/tyrian-75m", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use redptam/tyrian-75m with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "redptam/tyrian-75m" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "redptam/tyrian-75m", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/redptam/tyrian-75m
- SGLang
How to use redptam/tyrian-75m 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 "redptam/tyrian-75m" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "redptam/tyrian-75m", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "redptam/tyrian-75m" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "redptam/tyrian-75m", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use redptam/tyrian-75m with Docker Model Runner:
docker model run hf.co/redptam/tyrian-75m
Commit History
22 days ago
-
Model card: serving with tyrian-serve
Verified signature28be522 -
Add Limitations section to the model card
Verified signaturee274e95 -
Data mix: Reddit -> OpenWebText (Skylion007/openwebtext)
Verified signature68fd638 -
Add model card metadata (license, language, datasets, tags)
Verified signatured4ad1ea -
Credit Claude in the model card
Verified signature4ea0dfd -
Fix NaN logits (RoPE buffers after meta-device init); generate() honors do_sample, eos_token_id, top_p
Verified signature98af889
-
Update README.md
Verified signature0fd5f0e
-
Update README.md
Verified signature6038548 -
Upload README.md with huggingface_hub
Verified signaturea4e1674 -
Upload model.safetensors with huggingface_hub
Verified signature3c855c6 -
Upload special_tokens_map.json with huggingface_hub
Verified signature6b4b0eb -
Upload tokenizer_config.json with huggingface_hub
Verified signaturea30767c -
Upload tokenizer.json with huggingface_hub
Verified signature144bc64 -
Upload modeling_tyrian.py with huggingface_hub
Verified signatureb5d5192 -
Upload configuration_tyrian.py with huggingface_hub
Verified signature6c5911c -
Upload config.json with huggingface_hub
Verified signature5fe9328 -
initial commit
Verified signature2b15646