Instructions to use pax-k/privacy-filter-mini2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pax-k/privacy-filter-mini2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="pax-k/privacy-filter-mini2")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("pax-k/privacy-filter-mini2") model = AutoModelForTokenClassification.from_pretrained("pax-k/privacy-filter-mini2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- onnx/model.onnx +3 -0
- onnx/model_fp16.onnx +3 -0
- onnx/model_q4.onnx +3 -0
- onnx/model_q4f16.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
onnx/model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46c6bc64dcfb472acf42b4ec18317d12de8f03ebc364aa680eeb4f28e67852cb
|
| 3 |
+
size 598973900
|
onnx/model_fp16.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e1742cbe5cbce42d4a38b357a5990146ddfefc2e0b6ba814b6df1363e902241
|
| 3 |
+
size 299668548
|
onnx/model_q4.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:841be5a92a558d5d65baabdbf599582dc1f385a3ca7ecd059cf3f996f0304457
|
| 3 |
+
size 224702436
|
onnx/model_q4f16.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c0c4bb90ab686e463540828bb6510fcafdc52689ce7b1660df6fd95ea8e3611
|
| 3 |
+
size 140264374
|
onnx/model_quantized.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f9fc2674ae33d474e88cb187b4245ed90f568107aa9318323bd6e8b16dfbeda
|
| 3 |
+
size 151012339
|