Instructions to use afigini-digi/model-multi-80 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use afigini-digi/model-multi-80 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="afigini-digi/model-multi-80")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("afigini-digi/model-multi-80") model = AutoModelForMultimodalLM.from_pretrained("afigini-digi/model-multi-80", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use afigini-digi/model-multi-80 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "afigini-digi/model-multi-80" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "afigini-digi/model-multi-80", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/afigini-digi/model-multi-80
- SGLang
How to use afigini-digi/model-multi-80 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 "afigini-digi/model-multi-80" \ --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": "afigini-digi/model-multi-80", "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 "afigini-digi/model-multi-80" \ --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": "afigini-digi/model-multi-80", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use afigini-digi/model-multi-80 with Docker Model Runner:
docker model run hf.co/afigini-digi/model-multi-80
Training in progress, epoch 0
Browse files123version https://git-lfs.github.com/spec/v1oid sha256:1993ed1a6d09bcac8630d29086cd93931a584e725d2301d77f2e2ca5b6293149size 809429206123version https://git-lfs.github.com/spec/v1oid sha256:6f04ebd6778c1907c6d0c2a1dd6352d70a603782eaecc712469f9fc2c44c8e71size 809429206
pytorch_model.bin+1-1