Image-Text-to-Text
Transformers
Safetensors
Hebrew
English
lpt6
text-generation
liskcell
deta
endpoints-compatible
conversational
Instructions to use liskcell/lpt-6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use liskcell/lpt-6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="liskcell/lpt-6") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("liskcell/lpt-6", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use liskcell/lpt-6 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "liskcell/lpt-6" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "liskcell/lpt-6", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/liskcell/lpt-6
- SGLang
How to use liskcell/lpt-6 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 "liskcell/lpt-6" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "liskcell/lpt-6", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "liskcell/lpt-6" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "liskcell/lpt-6", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use liskcell/lpt-6 with Docker Model Runner:
docker model run hf.co/liskcell/lpt-6
Commit History
-
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature4708012 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature598b249 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature1eb2896
-
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature3d60c89
-
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signaturef0a8afd -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature2e7bb90 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature747a854 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature57c1726 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signatured68ed59 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature4e9139a -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature79603e3 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signaturec6cf7c3 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature8504011 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signaturee8ba75f -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature472fad1 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature0676fb5 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature11c1cd5 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature4011a82 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature800c3e3 -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature90296ed -
LiskCell LPT-6 (Deta) with Official Branding & Native Chat Template
Verified signature9fe7298 -
Initial release of LiskCell LPT-6 (Deta) with Native Human Agent
Verified signaturec6d47f0 -
Initial release of LiskCell LPT-6 (Deta) with Native Human Agent
Verified signaturef313d53 -
Initial release of LiskCell LPT-6 (Deta) with Native Human Agent
Verified signaturef75f320 -
Initial release of LiskCell LPT-6 (Deta) with Native Human Agent
Verified signaturee22dbe7 -
initial commit
Verified signature63affa4