Transformers
Safetensors
vision-language
document-understanding
boundingdocs
bitsandbytes
8-bit precision
Instructions to use CompressingVLM/glm-ocr-boundingdocs-ft-bnb-int8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CompressingVLM/glm-ocr-boundingdocs-ft-bnb-int8 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("CompressingVLM/glm-ocr-boundingdocs-ft-bnb-int8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download quantized_base_model/generation_config.json from CompressingVLM/glm-ocr-boundingdocs-ft-bnb-int8: direct link, hf CLI and curl.
- Browser
- Download file 161 Bytes
-
https://huggingface.co/CompressingVLM/glm-ocr-boundingdocs-ft-bnb-int8/resolve/main/quantized_base_model/generation_config.json
- Command line
-
hf download hf://CompressingVLM/glm-ocr-boundingdocs-ft-bnb-int8/quantized_base_model/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/CompressingVLM/glm-ocr-boundingdocs-ft-bnb-int8/resolve/main/quantized_base_model/generation_config.json
161 Bytes
| { | |
| "_from_model_config": true, | |
| "do_sample": false, | |
| "eos_token_id": [ | |
| 59246, | |
| 59253 | |
| ], | |
| "pad_token_id": 59246, | |
| "transformers_version": "5.9.0" | |
| } | |