Instructions to use weathon/smiles_llava_ft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use weathon/smiles_llava_ft with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="weathon/smiles_llava_ft")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("weathon/smiles_llava_ft") model = AutoModelForMultimodalLM.from_pretrained("weathon/smiles_llava_ft", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use weathon/smiles_llava_ft with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "weathon/smiles_llava_ft" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "weathon/smiles_llava_ft", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/weathon/smiles_llava_ft
- SGLang
How to use weathon/smiles_llava_ft 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 "weathon/smiles_llava_ft" \ --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": "weathon/smiles_llava_ft", "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 "weathon/smiles_llava_ft" \ --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": "weathon/smiles_llava_ft", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use weathon/smiles_llava_ft with Docker Model Runner:
docker model run hf.co/weathon/smiles_llava_ft
Commit History
-
Training in progress, step 2080
Verified signaturee10b8a7 -
Training in progress, step 2000
Verified signature522f74f -
Training in progress, step 1500
Verified signature2333e12 -
Training in progress, step 1000
Verified signature2fbce8f -
Training in progress, step 500
Verified signatured263d54 -
Training in progress, step 2080
Verified signature6a8e573 -
Training in progress, step 2000
Verified signature69dc511 -
Training in progress, step 1500
Verified signaturef328628 -
Training in progress, step 1000
Verified signature8506eb3 -
Training in progress, step 500
Verified signature061c170
-
Training in progress, step 3120
Verified signature5465f42 -
Training in progress, step 3000
Verified signaturebc1fb50 -
Training in progress, step 2500
Verified signaturef4584ec -
Training in progress, step 2000
Verified signature8700198 -
Training in progress, step 1500
Verified signature9d776ed -
Training in progress, step 1000
Verified signature4cebb02 -
Training in progress, step 500
Verified signaturedf2e089 -
Training in progress, step 1500
Verified signature37ccb6e -
Training in progress, step 1000
Verified signature670a41c -
Training in progress, step 500
Verified signature92466a9
-
Training in progress, step 2080
Verified signature63117c6 -
Training in progress, step 2000
Verified signaturef4e6703 -
Training in progress, step 1500
Verified signatured537c34 -
Training in progress, step 1000
Verified signature4a850bf -
Training in progress, step 500
Verified signature2d13369 -
Training in progress, step 1000
Verified signature9c04005 -
Training in progress, step 500
Verified signatured6f7481 -
Training in progress, step 500
Verified signatured9350d3 -
Training in progress, step 500
Verified signature1a412ba -
Training in progress, step 500
Verified signature68ac692 -
Training in progress, step 1000
Verified signaturefbe3e55 -
Training in progress, step 500
Verified signatureb046554 -
Training in progress, step 1500
Verified signature4845082 -
Training in progress, step 1000
Verified signature94be1a7 -
Training in progress, step 500
Verified signature6094a94
-
End of training
Verified signaturedb5a1b2 -
initial commit
Verified signaturefe5a074