Image-Text-to-Text
Transformers
Safetensors
multilingual
GOT
feature-extraction
got
vision-language
ocr2.0
custom_code
Instructions to use srimanth-d/GOT_CPU with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use srimanth-d/GOT_CPU with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="srimanth-d/GOT_CPU", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("srimanth-d/GOT_CPU", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use srimanth-d/GOT_CPU with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "srimanth-d/GOT_CPU" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "srimanth-d/GOT_CPU", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/srimanth-d/GOT_CPU
- SGLang
How to use srimanth-d/GOT_CPU 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 "srimanth-d/GOT_CPU" \ --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": "srimanth-d/GOT_CPU", "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 "srimanth-d/GOT_CPU" \ --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": "srimanth-d/GOT_CPU", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use srimanth-d/GOT_CPU with Docker Model Runner:
docker model run hf.co/srimanth-d/GOT_CPU
Commit History
-
Update modeling_got.py
Verified signature8e9b71a -
Update modeling_got.py
Verified signature4a76e0f -
Update modeling_got.py
Verified signature718f0f1 -
Update modeling_got.py
Verified signatureedc7f37 -
Update modeling_got.py
Verified signature15194a3 -
Update modeling_got.py
Verified signatured02d539 -
Update modeling_got.py
Verified signature5b65c54 -
Update modeling_got.py
Verified signature646d03f -
Update modeling_got.py
Verified signaturefb190d7 -
Update modeling_got.py
Verified signaturef40c6ec -
Update modeling_got.py
Verified signature7e2b339 -
Update modeling_got.py
Verified signature9646a9b -
Update modeling_got.py
Verified signature1f97813 -
Update modeling_got.py
Verified signature06a9f8c -
Update modeling_got.py
Verified signaturef0461c9 -
Update modeling_got.py
Verified signature335c26a -
Update modeling_got.py
Verified signatured5d9e39
-
Update modeling_got.py
Verified signature0abc3db -
Update modeling_got.py
Verified signature9ed59ac
-
Upload modeling_got.py
Verified signature5364fe1 -
Delete modeling_got.py
Verified signatured5f1f2e -
Upload modeling_got.py
Verified signaturec5b2116 -
Delete modeling_got.py
Verified signature99d3b0b -
Upload modeling_got.py
Verified signatureb779881 -
Delete modeling_got.py
Verified signature3ca36c1 -
Upload modeling_got.py
Verified signature0878766 -
Delete modeling_got.py
Verified signature47b339d -
Update README.md
Verified signatureb2f7974 -
Create README.md
Verified signature31f9720
-
Update config.json
Srimanth DhondyVerified signature0d5be52 -
Update config.json
Srimanth DhondyVerified signaturefcb5915 -
Upload model.safetensors
Srimanth DhondyVerified signature7e31774 -
Upload render_tools.py
Srimanth DhondyVerified signaturef6f9f31 -
Upload modeling_got.py
Srimanth DhondyVerified signature728ee12 -
Upload got_vision_b.py
Srimanth DhondyVerified signature80a1309 -
Upload 6 files
Srimanth DhondyVerified signature76df704 -
initial commit
Srimanth DhondyVerified signatured8151b5