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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("dreeven/all_format") model = AutoModelForMultimodalLM.from_pretrained("dreeven/all_format", device_map="auto") - 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
Commit History
-
End of training
cff0633 -
Training in progress, epoch 60
df40bfd -
Training in progress, epoch 59
3b5e4a4 -
Training in progress, epoch 58
76c0bf1 -
Training in progress, epoch 57
37a7946 -
Training in progress, epoch 56
3f0d390 -
Training in progress, epoch 55
7fd1dff -
Training in progress, epoch 54
b97109e -
Training in progress, epoch 53
0cd3f80 -
Training in progress, epoch 52
0b5ae3c -
Training in progress, epoch 51
985b1d0 -
Training in progress, epoch 50
5073e93 -
Training in progress, epoch 49
0a80da8 -
Training in progress, epoch 48
4f2959c -
Training in progress, epoch 47
391a152 -
Training in progress, epoch 46
b5eb511 -
Training in progress, epoch 45
5b46a06 -
Training in progress, epoch 44
24b8a1d -
Training in progress, epoch 43
d78b03b -
Training in progress, epoch 42
fb68ac1 -
Training in progress, epoch 41
49a77a2 -
Training in progress, epoch 40
d939fea -
Training in progress, epoch 39
8f76247 -
Training in progress, epoch 38
ae6d3b0 -
Training in progress, epoch 37
520f459 -
Training in progress, epoch 36
6a6b83e -
Training in progress, epoch 35
ce799ed -
Training in progress, epoch 34
8a32ba5 -
Training in progress, epoch 33
5878ea4 -
Training in progress, epoch 32
1ff7347 -
Training in progress, epoch 31
0b11c08 -
Training in progress, epoch 30
e5bea71 -
Training in progress, epoch 29
23c6e4d -
Training in progress, epoch 28
1eedea3 -
Training in progress, epoch 27
b77602d -
Training in progress, epoch 26
b79a7d2 -
Training in progress, epoch 25
fdd5180 -
Training in progress, epoch 24
49a89ab -
Training in progress, epoch 23
d3f7552 -
Training in progress, epoch 22
414aa25 -
Training in progress, epoch 21
234dba1 -
Training in progress, epoch 20
88f0043 -
Training in progress, epoch 19
0216808 -
Training in progress, epoch 18
bb37ec7 -
Training in progress, epoch 17
789a819 -
Training in progress, epoch 16
65e70e8 -
Training in progress, epoch 15
7c190f1 -
Training in progress, epoch 14
0be9a79 -
Training in progress, epoch 13
762137b -
Training in progress, epoch 12
a7e9b96