Instructions to use ishanarang/output-ds with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ishanarang/output-ds with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ishanarang/output-ds")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ishanarang/output-ds") model = AutoModelForCausalLM.from_pretrained("ishanarang/output-ds", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ishanarang/output-ds with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ishanarang/output-ds" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ishanarang/output-ds", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ishanarang/output-ds
- SGLang
How to use ishanarang/output-ds 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 "ishanarang/output-ds" \ --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": "ishanarang/output-ds", "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 "ishanarang/output-ds" \ --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": "ishanarang/output-ds", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ishanarang/output-ds with Docker Model Runner:
docker model run hf.co/ishanarang/output-ds
Commit History
-
Training in progress, step 1350
dfa5160 -
Training in progress, step 1300
dcc6c74 -
Training in progress, step 1250
ef8502f -
Training in progress, step 1200
1c77c5a -
Training in progress, step 1150
7face9e -
Training in progress, step 1100
af13ccb -
Training in progress, step 1050
0350129 -
Training in progress, step 1000
f8c38ab -
Training in progress, step 950
ff10619 -
Training in progress, step 900
33ed283 -
Training in progress, step 850
e66d702 -
Training in progress, step 800
4506042 -
Training in progress, step 750
78291b4 -
Training in progress, step 700
75504f9 -
Training in progress, step 650
8608484 -
Training in progress, step 600
8226519 -
Training in progress, step 550
a056668 -
Training in progress, step 500
f93b8cd -
Training in progress, step 450
76f081e -
Training in progress, step 400
d3ff8b9 -
Training in progress, step 350
1b63cc1 -
Training in progress, step 300
50db7a9 -
Training in progress, step 250
2511e4d -
Training in progress, step 200
c374745 -
Training in progress, step 150
778aef6 -
Training in progress, step 100
9d4a3df -
Training in progress, step 50
2d1f04c -
Training in progress, step 700
9ceb60e -
Training in progress, step 650
bb38d77 -
Training in progress, step 600
bbe2a8b -
Training in progress, step 550
538c055 -
Training in progress, step 500
9c71cc4 -
Training in progress, step 450
79257a6 -
Training in progress, step 400
1b207e8 -
Training in progress, step 350
51de9e8 -
Training in progress, step 300
34efe24 -
Training in progress, step 250
304217f -
Training in progress, step 200
9b8ce7d -
Training in progress, step 150
0a73cba -
Training in progress, step 100
1a56e31 -
Training in progress, step 50
3ad2be8 -
initial commit
a9b58c5