Image-Text-to-Text
Transformers
Safetensors
paligemma
text-generation-inference
8-bit precision
bitsandbytes
Instructions to use Pushpendra817/Xtraektor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Pushpendra817/Xtraektor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Pushpendra817/Xtraektor")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Pushpendra817/Xtraektor") model = AutoModelForMultimodalLM.from_pretrained("Pushpendra817/Xtraektor", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Pushpendra817/Xtraektor with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Pushpendra817/Xtraektor" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Pushpendra817/Xtraektor", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Pushpendra817/Xtraektor
- SGLang
How to use Pushpendra817/Xtraektor 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 "Pushpendra817/Xtraektor" \ --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": "Pushpendra817/Xtraektor", "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 "Pushpendra817/Xtraektor" \ --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": "Pushpendra817/Xtraektor", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Pushpendra817/Xtraektor with Docker Model Runner:
docker model run hf.co/Pushpendra817/Xtraektor
Download tokenizer.json from Pushpendra817/Xtraektor: direct link, hf CLI and curl.
- Browser
- Download file 17.8 MB
-
https://huggingface.co/Pushpendra817/Xtraektor/resolve/main/tokenizer.json
- Command line
-
hf download hf://Pushpendra817/Xtraektor/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Pushpendra817/Xtraektor/resolve/main/tokenizer.json
17.8 MB
- Xet hash:
- 5a26021a76ea1a5c2d354a19158faf325ddbde4f2f3b41ff14195fb7f677ebd5
- Size of remote file:
- 17.8 MB
- SHA256:
- f8104de0e0f9b8ab923ac66b31bee4ae132edf05863545fa4a3b69b4774117ae
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.