Instructions to use dreeven/all_format with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dreeven/all_format with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="dreeven/all_format")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("dreeven/all_format") model = AutoModelForMultimodalLM.from_pretrained("dreeven/all_format") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use dreeven/all_format with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dreeven/all_format" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dreeven/all_format", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/dreeven/all_format
- SGLang
How to use dreeven/all_format 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 "dreeven/all_format" \ --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": "dreeven/all_format", "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 "dreeven/all_format" \ --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": "dreeven/all_format", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use dreeven/all_format with Docker Model Runner:
docker model run hf.co/dreeven/all_format
Ctrl+K
- Apr14_06-37-09_f062daca52aa
- Apr14_14-58-51_92c44430cd25
- Apr15_05-26-57_2b72afb2808c
- Apr15_09-28-39_37271ea5ab0b
- Apr30_07-39-50_2787ca88f75b
- Apr30_13-49-51_6e4478730051
- Apr30_17-51-45_f228e7152101
- May02_05-51-02_420c03e91ea2
- May02_14-39-15_db41c0d04ea2
- May03_06-22-49_rdudevml007
- May03_07-31-22_rdudevml007
- May03_08-06-49_1ca4a93de153