Instructions to use futrx/punctuate-all with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use futrx/punctuate-all with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="futrx/punctuate-all")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("futrx/punctuate-all") model = AutoModelForTokenClassification.from_pretrained("futrx/punctuate-all", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download quantize_config.json from futrx/punctuate-all: direct link, hf CLI and curl.
- Browser
- Download file 834 Bytes
-
https://huggingface.co/futrx/punctuate-all/resolve/main/quantize_config.json
- Command line
-
hf download hf://futrx/punctuate-all/quantize_config.json
-
curl -L -o quantize_config.json https://huggingface.co/futrx/punctuate-all/resolve/main/quantize_config.json
834 Bytes
| { | |
| "per_channel": true, | |
| "reduce_range": true, | |
| "per_model_config": { | |
| "model": { | |
| "op_types": [ | |
| "Erf", | |
| "Mul", | |
| "Gather", | |
| "Transpose", | |
| "Reshape", | |
| "CumSum", | |
| "Shape", | |
| "Constant", | |
| "Softmax", | |
| "Concat", | |
| "Not", | |
| "Div", | |
| "Add", | |
| "MatMul", | |
| "Expand", | |
| "Sub", | |
| "Sqrt", | |
| "Unsqueeze", | |
| "ConstantOfShape", | |
| "Pow", | |
| "Cast", | |
| "Slice", | |
| "Equal", | |
| "Where", | |
| "ReduceMean" | |
| ], | |
| "weight_type": "QInt8" | |
| } | |
| } | |
| } |