Instructions to use do-me/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use do-me/test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="do-me/test", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("do-me/test", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("do-me/test", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download quantize_config.json from do-me/test: direct link, hf CLI and curl.
- Browser
- Download file 677 Bytes
-
https://huggingface.co/do-me/test/resolve/main/quantize_config.json
- Command line
-
hf download hf://do-me/test/quantize_config.json
-
curl -L -o quantize_config.json https://huggingface.co/do-me/test/resolve/main/quantize_config.json
677 Bytes
| { | |
| "per_channel": true, | |
| "reduce_range": true, | |
| "per_model_config": { | |
| "model": { | |
| "op_types": [ | |
| "Gather", | |
| "Unsqueeze", | |
| "Concat", | |
| "Mul", | |
| "Pow", | |
| "Shape", | |
| "Identity", | |
| "Sub", | |
| "Transpose", | |
| "Div", | |
| "ReduceMean", | |
| "Sqrt", | |
| "Erf", | |
| "Cast", | |
| "MatMul", | |
| "Reshape", | |
| "Add", | |
| "Constant", | |
| "Softmax" | |
| ], | |
| "weight_type": "QInt8" | |
| } | |
| } | |
| } |