Instructions to use austin/gca_tab_onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use austin/gca_tab_onnx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="austin/gca_tab_onnx")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("austin/gca_tab_onnx") model = AutoModelForSequenceClassification.from_pretrained("austin/gca_tab_onnx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download quantize_config.json from austin/gca_tab_onnx: direct link, hf CLI and curl.
- Browser
- Download file 1.19 kB
-
https://huggingface.co/austin/gca_tab_onnx/resolve/main/quantize_config.json
- Command line
-
hf download hf://austin/gca_tab_onnx/quantize_config.json
-
curl -L -o quantize_config.json https://huggingface.co/austin/gca_tab_onnx/resolve/main/quantize_config.json
1.19 kB
| { | |
| "per_channel": true, | |
| "reduce_range": true, | |
| "per_model_config": { | |
| "model": { | |
| "op_types": [ | |
| "Range", | |
| "Log", | |
| "Cast", | |
| "Shape", | |
| "Equal", | |
| "Sqrt", | |
| "ReduceMean", | |
| "Tile", | |
| "Slice", | |
| "Add", | |
| "LessOrEqual", | |
| "Mul", | |
| "Pow", | |
| "Where", | |
| "Div", | |
| "Concat", | |
| "Identity", | |
| "Gemm", | |
| "Constant", | |
| "Reshape", | |
| "Transpose", | |
| "Softmax", | |
| "Erf", | |
| "Abs", | |
| "Clip", | |
| "Greater", | |
| "Neg", | |
| "And", | |
| "Less", | |
| "GatherElements", | |
| "Expand", | |
| "Unsqueeze", | |
| "Gather", | |
| "Squeeze", | |
| "Ceil", | |
| "Sub", | |
| "ConstantOfShape", | |
| "MatMul", | |
| "Sign" | |
| ], | |
| "weight_type": "QInt8" | |
| } | |
| } | |
| } |