Instructions to use KhimNguyen/PODreader with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KhimNguyen/PODreader with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="KhimNguyen/PODreader")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("KhimNguyen/PODreader") model = AutoModelForMultimodalLM.from_pretrained("KhimNguyen/PODreader", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use KhimNguyen/PODreader with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KhimNguyen/PODreader" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KhimNguyen/PODreader", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/KhimNguyen/PODreader
- SGLang
How to use KhimNguyen/PODreader 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 "KhimNguyen/PODreader" \ --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": "KhimNguyen/PODreader", "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 "KhimNguyen/PODreader" \ --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": "KhimNguyen/PODreader", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use KhimNguyen/PODreader with Docker Model Runner:
docker model run hf.co/KhimNguyen/PODreader
Commit History
-
Training done
Verified signaturef5fea7c -
Training done
Verified signaturee31340e -
Config
Verified signature44d2fcc -
Training in progress, epoch 0
Verified signature058962a
-
Training done
Verified signature6017ad7 -
Training done
Verified signatureabb5611 -
Config
Verified signaturedf68dfe -
Training in progress, epoch 0
Verified signatureafe6a34 -
Config
Verified signature4c0d505 -
Training in progress, epoch 0
Verified signature052c9d1
-
Training done
Verified signature501af8c -
Training done
Verified signatureae0b4a3 -
Config
Verified signature138c19e -
Training in progress, epoch 2
Verified signaturea052b7b -
Config
Verified signature9699131 -
Training in progress, epoch 1
Verified signature3104667 -
Config
Verified signature98f72b2 -
Training in progress, epoch 0
Verified signature6686e1a -
Training done
Verified signature9fd92d4 -
Training done
Verified signatureb960147 -
Config
Verified signature6b001c5 -
Training in progress, epoch 1
Verified signature2786ee8 -
Config
Verified signaturecad0add -
Training in progress, epoch 0
Verified signature7fd160d
-
initial commit
0ebfe8c