Instructions to use Spacyzipa/31_01_24 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Spacyzipa/31_01_24 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Spacyzipa/31_01_24")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("Spacyzipa/31_01_24") model = AutoModelForMultimodalLM.from_pretrained("Spacyzipa/31_01_24", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Spacyzipa/31_01_24 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Spacyzipa/31_01_24" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Spacyzipa/31_01_24", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Spacyzipa/31_01_24
- SGLang
How to use Spacyzipa/31_01_24 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 "Spacyzipa/31_01_24" \ --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": "Spacyzipa/31_01_24", "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 "Spacyzipa/31_01_24" \ --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": "Spacyzipa/31_01_24", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Spacyzipa/31_01_24 with Docker Model Runner:
docker model run hf.co/Spacyzipa/31_01_24
Commit History
-
Training done
Verified signature0944acc -
Training done
Verified signature0c54bc0 -
Training in progress, epoch 14
Verified signature4363f1b -
Training in progress, epoch 13
Verified signature0cc0e64 -
Training in progress, epoch 12
Verified signatured6779a2 -
Training in progress, epoch 11
Verified signature7b357ba -
Training in progress, epoch 10
Verified signature9a32ab9 -
Training in progress, epoch 9
Verified signatureaeb0f56 -
Training in progress, epoch 8
Verified signature00d6f69 -
Training in progress, epoch 7
Verified signatureb9b4bb6 -
Training in progress, epoch 6
Verified signaturef89e750 -
Training in progress, epoch 5
Verified signature5628155 -
Training in progress, epoch 4
Verified signaturef25b124 -
Training in progress, epoch 3
Verified signature966538e -
Training in progress, epoch 2
Verified signature4a59a87 -
Training in progress, epoch 1
Verified signaturef9a2c8d -
Training in progress, epoch 0
Verified signaturea2212ea -
initial commit
Verified signaturece1e191