Instructions to use thejagstudio/portfolio-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use thejagstudio/portfolio-models with Transformers.js:
// ⚠️ Unknown pipeline tag
Add sd-turbo-webgpu-q4, nanodiffuse-q8, whisper-tiny-timestamped, whisper-base-timestamped, distilbert-sst2, distilbert-go-emotions, distilbert-ner, rtdetr-v2-r18, depth-anything-v2-small, slimsam-77, magenta-style, pp-ocrv5
139ea68 verified Download slimsam-77/quantize_config.json from thejagstudio/portfolio-models: direct link, hf CLI and curl.
- Browser
- Download file 2.02 kB
-
https://huggingface.co/thejagstudio/portfolio-models/resolve/main/slimsam-77/quantize_config.json
- Command line
-
hf download hf://thejagstudio/portfolio-models/slimsam-77/quantize_config.json
-
curl -L -o quantize_config.json https://huggingface.co/thejagstudio/portfolio-models/resolve/main/slimsam-77/quantize_config.json
2.02 kB
| { | |
| "per_channel": true, | |
| "reduce_range": true, | |
| "per_model_config": { | |
| "prompt_encoder_mask_decoder": { | |
| "op_types": [ | |
| "Gather", | |
| "Sin", | |
| "Unsqueeze", | |
| "Not", | |
| "Cast", | |
| "Equal", | |
| "Neg", | |
| "MatMul", | |
| "Cos", | |
| "OneHot", | |
| "Transpose", | |
| "Sub", | |
| "Where", | |
| "Erf", | |
| "ConstantOfShape", | |
| "ReduceMean", | |
| "Shape", | |
| "Range", | |
| "Expand", | |
| "Div", | |
| "Relu", | |
| "ConvTranspose", | |
| "Tile", | |
| "Concat", | |
| "ScatterND", | |
| "Sqrt", | |
| "Slice", | |
| "Mul", | |
| "Constant", | |
| "Pow", | |
| "Reshape", | |
| "Add", | |
| "Softmax" | |
| ], | |
| "weight_type": "QInt8" | |
| }, | |
| "vision_encoder": { | |
| "op_types": [ | |
| "Gather", | |
| "Sin", | |
| "Unsqueeze", | |
| "Cast", | |
| "MatMul", | |
| "Cos", | |
| "Transpose", | |
| "Sub", | |
| "Pad", | |
| "Erf", | |
| "Conv", | |
| "ConstantOfShape", | |
| "Resize", | |
| "ReduceMean", | |
| "Shape", | |
| "Range", | |
| "Expand", | |
| "Div", | |
| "Tile", | |
| "Mod", | |
| "Squeeze", | |
| "Concat", | |
| "Sqrt", | |
| "Split", | |
| "Mul", | |
| "Slice", | |
| "Identity", | |
| "Constant", | |
| "Pow", | |
| "Einsum", | |
| "Reshape", | |
| "Add", | |
| "Softmax" | |
| ], | |
| "weight_type": "QUInt8" | |
| } | |
| } | |
| } |