Instructions to use Spacyzipa/29_01_24 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Spacyzipa/29_01_24 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Spacyzipa/29_01_24")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("Spacyzipa/29_01_24") model = AutoModelForMultimodalLM.from_pretrained("Spacyzipa/29_01_24", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Spacyzipa/29_01_24 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Spacyzipa/29_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/29_01_24", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Spacyzipa/29_01_24
- SGLang
How to use Spacyzipa/29_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/29_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/29_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/29_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/29_01_24", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Spacyzipa/29_01_24 with Docker Model Runner:
docker model run hf.co/Spacyzipa/29_01_24
Commit History
-
Training done
Verified signature8daf2fd -
Training done
Verified signaturea3dacc7 -
Training in progress, epoch 13
Verified signature9f39fb6 -
Training in progress, epoch 12
Verified signaturec0ea7cb -
Training in progress, epoch 11
Verified signatured437aab -
Training in progress, epoch 10
Verified signaturec6d95a5 -
Training in progress, epoch 9
Verified signatureaf22fcb -
Training in progress, epoch 8
Verified signature9812fd3 -
Training in progress, epoch 7
Verified signatureed8ce61 -
Training in progress, epoch 6
Verified signature8a8d5c1 -
Training in progress, epoch 5
Verified signaturedf9ace4 -
Training in progress, epoch 4
Verified signature67c1e2b -
Training in progress, epoch 3
Verified signatureff94317 -
Training in progress, epoch 2
Verified signature2c5f6eb -
Training in progress, epoch 1
Verified signature46dca6e -
Training in progress, epoch 0
Verified signature4a56b2b
-
Training done
Verified signature68730a0 -
Training done
Verified signature1dbab6c -
Training in progress, epoch 5
Verified signature4e160d8 -
Training in progress, epoch 4
Verified signature46a70fc -
Training in progress, epoch 3
Verified signature6d4a247 -
Training in progress, epoch 2
Verified signature23e0e54 -
Training in progress, epoch 1
Verified signaturec3609a2 -
Training in progress, epoch 0
Verified signature455a52d -
Training in progress, epoch 0
Verified signature2675eee -
initial commit
Verified signature291fa36