Text Generation
Transformers
Safetensors
English
instruction-tuned
lora
small-language-model
conversational
Instructions to use torenartificialintelligence/toren-500m-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use torenartificialintelligence/toren-500m-instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="torenartificialintelligence/toren-500m-instruct") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("torenartificialintelligence/toren-500m-instruct", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use torenartificialintelligence/toren-500m-instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "torenartificialintelligence/toren-500m-instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "torenartificialintelligence/toren-500m-instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/torenartificialintelligence/toren-500m-instruct
- SGLang
How to use torenartificialintelligence/toren-500m-instruct 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 "torenartificialintelligence/toren-500m-instruct" \ --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": "torenartificialintelligence/toren-500m-instruct", "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 "torenartificialintelligence/toren-500m-instruct" \ --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": "torenartificialintelligence/toren-500m-instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use torenartificialintelligence/toren-500m-instruct with Docker Model Runner:
docker model run hf.co/torenartificialintelligence/toren-500m-instruct
Commit History
Update README.md 832ffa2 verified
Update README.md 780d21e verified
Update README.md cc283eb verified
Update README.md 0a90fc0 verified
Update README.md 07ec756 verified
Upload tokenizer 31a0658 verified
Jayden Watts commited on
Upload model 137b733 verified
Jayden Watts commited on
Training in progress, step 2049, checkpoint 72f5a0b verified
Jayden Watts commited on
Training in progress, step 2049 81218e1 verified
Jayden Watts commited on
Training in progress, step 2000, checkpoint d126bc0 verified
Jayden Watts commited on
Training in progress, step 2000 39d51bf verified
Jayden Watts commited on
Training in progress, step 1900, checkpoint 43b7b78 verified
Jayden Watts commited on
Training in progress, step 1900 f507438 verified
Jayden Watts commited on
Training in progress, step 1800, checkpoint d261248 verified
Jayden Watts commited on
Training in progress, step 1800 12c2c64 verified
Jayden Watts commited on
Training in progress, step 1700, checkpoint be25a5a verified
Jayden Watts commited on
Training in progress, step 1700 b05c0c1 verified
Jayden Watts commited on
Training in progress, step 1600, checkpoint 85153e7 verified
Jayden Watts commited on
Training in progress, step 1600 0507b0b verified
Jayden Watts commited on
Training in progress, step 1500, checkpoint 018e4f2 verified
Jayden Watts commited on
Training in progress, step 1500 83bc177 verified
Jayden Watts commited on
Training in progress, step 1400, checkpoint 9db2e0b verified
Jayden Watts commited on
Training in progress, step 1400 01af88c verified
Jayden Watts commited on
Training in progress, step 1300, checkpoint 5d696c6 verified
Jayden Watts commited on
Training in progress, step 1300 8338470 verified
Jayden Watts commited on
Training in progress, step 1200, checkpoint 7ce1299 verified
Jayden Watts commited on
Training in progress, step 1200 6401d15 verified
Jayden Watts commited on
Training in progress, step 1100, checkpoint 7aa2f18 verified
Jayden Watts commited on
Training in progress, step 1100 4227914 verified
Jayden Watts commited on
Training in progress, step 1000, checkpoint 39aeac9 verified
Jayden Watts commited on
Training in progress, step 1000 8060dc2 verified
Jayden Watts commited on
Training in progress, step 900, checkpoint 8636c37 verified
Jayden Watts commited on
Training in progress, step 900 121cb1c verified
Jayden Watts commited on
Training in progress, step 800, checkpoint de7949b verified
Jayden Watts commited on
Training in progress, step 800 5695fbb verified
Jayden Watts commited on
Training in progress, step 700, checkpoint f16412f verified
Jayden Watts commited on
Training in progress, step 700 e0dec70 verified
Jayden Watts commited on
Training in progress, step 600, checkpoint e831904 verified
Jayden Watts commited on
Training in progress, step 600 28dc22e verified
Jayden Watts commited on
Training in progress, step 500, checkpoint 54d9534 verified
Jayden Watts commited on
Training in progress, step 500 f2a4eb3 verified
Jayden Watts commited on
Training in progress, step 400, checkpoint f964480 verified
Jayden Watts commited on
Training in progress, step 400 d1e3bec verified
Jayden Watts commited on
Training in progress, step 300, checkpoint ed8d951 verified
Jayden Watts commited on
Training in progress, step 300 4309ed1 verified
Jayden Watts commited on
Training in progress, step 200, checkpoint 24e7b0b verified
Jayden Watts commited on
Training in progress, step 200 f28e9b5 verified
Jayden Watts commited on
Training in progress, step 100, checkpoint cc951e8 verified
Jayden Watts commited on
Training in progress, step 100 74c0244 verified
Jayden Watts commited on