Instructions to use annutest/somethinglikedonut with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use annutest/somethinglikedonut with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="annutest/somethinglikedonut")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("annutest/somethinglikedonut") model = AutoModelForMultimodalLM.from_pretrained("annutest/somethinglikedonut", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use annutest/somethinglikedonut with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "annutest/somethinglikedonut" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "annutest/somethinglikedonut", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/annutest/somethinglikedonut
- SGLang
How to use annutest/somethinglikedonut 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 "annutest/somethinglikedonut" \ --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": "annutest/somethinglikedonut", "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 "annutest/somethinglikedonut" \ --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": "annutest/somethinglikedonut", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use annutest/somethinglikedonut with Docker Model Runner:
docker model run hf.co/annutest/somethinglikedonut
Commit History
-
Training done
Verified signature5fb9278 -
Training in progress, epoch 1
Verified signature4419798 -
Training in progress, epoch 0
Verified signature358a824 -
Training in progress, epoch 2
Verified signature598a00b -
Training in progress, epoch 1
Verified signature6207d43 -
Training in progress, epoch 0
Verified signatured4d20a3 -
Training in progress, epoch 1
Verified signature969c1a1 -
Training in progress, epoch 0
Verified signaturebc1d3be -
Training done
Verified signature4a153c3 -
Training in progress, epoch 0
Verified signature1f05aa5 -
Training done
Verified signature91f5882 -
Training in progress, epoch 0
Verified signatureac0850c -
Training done
Verified signaturee7bb8f9 -
Training in progress, epoch 2
Verified signature47f7880 -
Training in progress, epoch 1
Verified signaturef9f33ef -
Training in progress, epoch 0
Verified signature1b94cf9 -
Training done
Verified signature1d4f892 -
Training in progress, epoch 1
Verified signature9b53f8e -
Training in progress, epoch 0
Verified signatureabee8ec -
Training done
Verified signature1ce5e42 -
Training in progress, epoch 1
Verified signature22a84b1 -
Training in progress, epoch 0
Verified signaturea4d2b88
-
Training in progress, epoch 0
Verified signature5eb119b -
Training done
Verified signature8b77311 -
Training in progress, epoch 1
Verified signature1ec43ab -
Training in progress, epoch 0
Verified signature99d8213 -
Training done
Verified signature8f9f87c -
Training in progress, epoch 0
Verified signature4f4a3ce -
Training done
Verified signaturec4816a8 -
Training in progress, epoch 0
Verified signature229782f
-
Training in progress, epoch 0
Verified signaturee51e130
-
Training done
Verified signature3df3bf3 -
Training in progress, epoch 0
Verified signature4edfebd -
Training in progress, epoch 1
Verified signatureb761100 -
Training in progress, epoch 0
Verified signature0f662f4 -
initial commit
Verified signature8a2cc41