Instructions to use smiled0g/tiq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use smiled0g/tiq with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="smiled0g/tiq")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("smiled0g/tiq") model = AutoModelForCausalLM.from_pretrained("smiled0g/tiq", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use smiled0g/tiq with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "smiled0g/tiq" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "smiled0g/tiq", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/smiled0g/tiq
- SGLang
How to use smiled0g/tiq 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 "smiled0g/tiq" \ --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": "smiled0g/tiq", "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 "smiled0g/tiq" \ --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": "smiled0g/tiq", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use smiled0g/tiq with Docker Model Runner:
docker model run hf.co/smiled0g/tiq
Commit History
-
End of training
Verified signature0160545 -
End of training
Verified signature4837650 -
Training in progress, step 5000
Verified signature72df93e -
Training in progress, step 4500
Verified signature2fe74fa -
Training in progress, step 4000
Verified signature59605bc -
Training in progress, step 3500
Verified signature822c636 -
Training in progress, step 3000
Verified signature037e42f -
Training in progress, step 2500
Verified signature4935960 -
Training in progress, step 2000
Verified signature47b9305 -
Training in progress, step 1500
Verified signature36d5cfb
-
Training in progress, step 1000
Verified signature8feb5b2 -
Training in progress, step 500
Verified signaturec2b7c8a -
Training in progress, step 1000
Verified signaturef159cf5 -
Training in progress, step 500
Verified signatureb86f072
-
End of training
Verified signatureb552ec6 -
End of training
Verified signatureb406e31 -
initial commit
Verified signaturee3d4b86