Instructions to use autobio/scam-detection-browser with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use autobio/scam-detection-browser with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="autobio/scam-detection-browser")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("autobio/scam-detection-browser") model = AutoModelForSequenceClassification.from_pretrained("autobio/scam-detection-browser", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "per_channel": true, | |
| "reduce_range": true, | |
| "per_model_config": { | |
| "model": { | |
| "op_types": [ | |
| "Erf", | |
| "MatMul", | |
| "Equal", | |
| "Constant", | |
| "Where", | |
| "Concat", | |
| "ReduceMean", | |
| "Unsqueeze", | |
| "Gather", | |
| "Div", | |
| "Mul", | |
| "Sub", | |
| "Add", | |
| "Softmax", | |
| "Relu", | |
| "Sqrt", | |
| "Expand", | |
| "Gemm", | |
| "Slice", | |
| "Reshape", | |
| "Cast", | |
| "Pow", | |
| "Transpose", | |
| "Shape" | |
| ], | |
| "weight_type": "QInt8" | |
| } | |
| } | |
| } |