Instructions to use DarpanS/oml-ss with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DarpanS/oml-ss with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="DarpanS/oml-ss")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("DarpanS/oml-ss") model = AutoModelForMultimodalLM.from_pretrained("DarpanS/oml-ss", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DarpanS/oml-ss with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DarpanS/oml-ss" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DarpanS/oml-ss", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/DarpanS/oml-ss
- SGLang
How to use DarpanS/oml-ss 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 "DarpanS/oml-ss" \ --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": "DarpanS/oml-ss", "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 "DarpanS/oml-ss" \ --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": "DarpanS/oml-ss", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use DarpanS/oml-ss with Docker Model Runner:
docker model run hf.co/DarpanS/oml-ss
Commit History
-
Training in progress, epoch 27
ec41963 -
Training in progress, epoch 26
34ebdeb -
Training in progress, epoch 25
8e89e04 -
Training in progress, epoch 24
c418272 -
Training in progress, epoch 23
a0d64f2 -
Training in progress, epoch 22
0bba26a -
Training in progress, epoch 21
86e8179 -
Training in progress, epoch 20
9ac2160 -
Training in progress, epoch 19
232f36a -
Training in progress, epoch 18
19d055d -
Training in progress, epoch 17
6c79bab -
Training in progress, epoch 16
dad2b8f -
Training in progress, epoch 15
e39d2c1 -
Training in progress, epoch 14
b50a9eb -
Training in progress, epoch 13
1e7b7df -
Training in progress, epoch 12
b09e2f9 -
Training in progress, epoch 11
7a88d33 -
Training in progress, epoch 10
4696dda -
Training in progress, epoch 9
5a0d3e2 -
Training in progress, epoch 8
21f70ac -
Training in progress, epoch 7
5e60bc9 -
Training in progress, epoch 6
7e2eea4 -
Training in progress, epoch 5
56e7197 -
Training in progress, epoch 4
009c331 -
Training in progress, epoch 3
ea49726 -
Training in progress, epoch 2
cbde46d -
Training in progress, epoch 1
855fd76 -
Training in progress, epoch 0
5b17e5b -
Training in progress, epoch 29
d4aa40a -
Training in progress, epoch 28
4cbed44 -
Training in progress, epoch 27
d380d5c -
Training in progress, epoch 26
bc8210b -
Training in progress, epoch 25
95b70cd -
Training in progress, epoch 24
f5d3024 -
Training in progress, epoch 23
77ab893 -
Training in progress, epoch 22
1e4533b -
Training in progress, epoch 21
a80398b -
Training in progress, epoch 20
6ce223d -
Training in progress, epoch 19
191638f -
Training in progress, epoch 18
adb2600 -
Training in progress, epoch 17
c4427c6 -
Training in progress, epoch 16
aa46f4d -
Training in progress, epoch 15
63a6687 -
Training in progress, epoch 14
ea53b19 -
Training in progress, epoch 13
dddc10d -
Training in progress, epoch 12
37929bb -
Training in progress, epoch 11
ca2339b -
Training in progress, epoch 10
be57c05 -
Training in progress, epoch 9
dcf03fc -
Training in progress, epoch 8
554ba68