Instructions to use Xenova/geoclip-large-patch14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/geoclip-large-patch14 with Transformers.js:
// ⚠️ Unknown pipeline tag
Download quantize_config.json from Xenova/geoclip-large-patch14: direct link, hf CLI and curl.
- Browser
- Download file 5.17 kB
-
https://huggingface.co/Xenova/geoclip-large-patch14/resolve/main/quantize_config.json
- Command line
-
hf download hf://Xenova/geoclip-large-patch14/quantize_config.json
-
curl -L -o quantize_config.json https://huggingface.co/Xenova/geoclip-large-patch14/resolve/main/quantize_config.json
5.17 kB
| { | |
| "fp16": {}, | |
| "q8": { | |
| "per_model_config": { | |
| "vision_model": { | |
| "op_types": [ | |
| "Add", | |
| "Cast", | |
| "Concat", | |
| "Constant", | |
| "ConstantOfShape", | |
| "Conv", | |
| "Div", | |
| "Equal", | |
| "Expand", | |
| "Gather", | |
| "Gemm", | |
| "MatMul", | |
| "Mul", | |
| "Pow", | |
| "ReduceMean", | |
| "Relu", | |
| "Reshape", | |
| "Shape", | |
| "Sigmoid", | |
| "Slice", | |
| "Softmax", | |
| "Sqrt", | |
| "Sub", | |
| "Transpose", | |
| "Unsqueeze", | |
| "Where" | |
| ], | |
| "weight_type": "QUInt8" | |
| }, | |
| "location_model": { | |
| "op_types": [ | |
| "Add", | |
| "Asin", | |
| "Cast", | |
| "Concat", | |
| "Constant", | |
| "ConstantOfShape", | |
| "Cos", | |
| "Div", | |
| "Gather", | |
| "Gemm", | |
| "MatMul", | |
| "Mul", | |
| "Pow", | |
| "Relu", | |
| "Shape", | |
| "Sin", | |
| "Unsqueeze" | |
| ], | |
| "weight_type": "QInt8" | |
| } | |
| }, | |
| "per_channel": false, | |
| "reduce_range": false | |
| }, | |
| "int8": { | |
| "per_model_config": { | |
| "vision_model": { | |
| "op_types": [ | |
| "Add", | |
| "Cast", | |
| "Concat", | |
| "Constant", | |
| "ConstantOfShape", | |
| "Conv", | |
| "Div", | |
| "Equal", | |
| "Expand", | |
| "Gather", | |
| "Gemm", | |
| "MatMul", | |
| "Mul", | |
| "Pow", | |
| "ReduceMean", | |
| "Relu", | |
| "Reshape", | |
| "Shape", | |
| "Sigmoid", | |
| "Slice", | |
| "Softmax", | |
| "Sqrt", | |
| "Sub", | |
| "Transpose", | |
| "Unsqueeze", | |
| "Where" | |
| ], | |
| "weight_type": "QInt8" | |
| }, | |
| "location_model": { | |
| "op_types": [ | |
| "Add", | |
| "Asin", | |
| "Cast", | |
| "Concat", | |
| "Constant", | |
| "ConstantOfShape", | |
| "Cos", | |
| "Div", | |
| "Gather", | |
| "Gemm", | |
| "MatMul", | |
| "Mul", | |
| "Pow", | |
| "Relu", | |
| "Shape", | |
| "Sin", | |
| "Unsqueeze" | |
| ], | |
| "weight_type": "QInt8" | |
| } | |
| }, | |
| "per_channel": false, | |
| "reduce_range": false | |
| }, | |
| "uint8": { | |
| "per_model_config": { | |
| "vision_model": { | |
| "op_types": [ | |
| "Add", | |
| "Cast", | |
| "Concat", | |
| "Constant", | |
| "ConstantOfShape", | |
| "Conv", | |
| "Div", | |
| "Equal", | |
| "Expand", | |
| "Gather", | |
| "Gemm", | |
| "MatMul", | |
| "Mul", | |
| "Pow", | |
| "ReduceMean", | |
| "Relu", | |
| "Reshape", | |
| "Shape", | |
| "Sigmoid", | |
| "Slice", | |
| "Softmax", | |
| "Sqrt", | |
| "Sub", | |
| "Transpose", | |
| "Unsqueeze", | |
| "Where" | |
| ], | |
| "weight_type": "QUInt8" | |
| }, | |
| "location_model": { | |
| "op_types": [ | |
| "Add", | |
| "Asin", | |
| "Cast", | |
| "Concat", | |
| "Constant", | |
| "ConstantOfShape", | |
| "Cos", | |
| "Div", | |
| "Gather", | |
| "Gemm", | |
| "MatMul", | |
| "Mul", | |
| "Pow", | |
| "Relu", | |
| "Shape", | |
| "Sin", | |
| "Unsqueeze" | |
| ], | |
| "weight_type": "QUInt8" | |
| } | |
| }, | |
| "per_channel": false, | |
| "reduce_range": false | |
| }, | |
| "q4": { | |
| "block_size": 32, | |
| "is_symmetric": true, | |
| "accuracy_level": null | |
| }, | |
| "bnb4": { | |
| "block_size": 64, | |
| "quant_type": 1 | |
| } | |
| } |