Instructions to use lethalantidote/phi-detector-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lethalantidote/phi-detector-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="lethalantidote/phi-detector-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("lethalantidote/phi-detector-model") model = AutoModelForTokenClassification.from_pretrained("lethalantidote/phi-detector-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Publish quality-gated PHI token classifier
Browse files- run_manifest.json +4 -4
run_manifest.json
CHANGED
|
@@ -35,16 +35,16 @@
|
|
| 35 |
"overall_precision": 1.0,
|
| 36 |
"overall_recall": 1.0,
|
| 37 |
"overall_support": 1942.0,
|
| 38 |
-
"runtime": 1.
|
| 39 |
-
"samples_per_second":
|
| 40 |
-
"steps_per_second":
|
| 41 |
},
|
| 42 |
"seed": 42,
|
| 43 |
"training_parameters": {
|
| 44 |
"epochs": 4.0,
|
| 45 |
"eval_batch_size": 32,
|
| 46 |
"learning_rate": 2e-05,
|
| 47 |
-
"max_length":
|
| 48 |
"train_batch_size": 16,
|
| 49 |
"weight_decay": 0.01
|
| 50 |
}
|
|
|
|
| 35 |
"overall_precision": 1.0,
|
| 36 |
"overall_recall": 1.0,
|
| 37 |
"overall_support": 1942.0,
|
| 38 |
+
"runtime": 1.6772,
|
| 39 |
+
"samples_per_second": 1157.894,
|
| 40 |
+
"steps_per_second": 36.371
|
| 41 |
},
|
| 42 |
"seed": 42,
|
| 43 |
"training_parameters": {
|
| 44 |
"epochs": 4.0,
|
| 45 |
"eval_batch_size": 32,
|
| 46 |
"learning_rate": 2e-05,
|
| 47 |
+
"max_length": 512,
|
| 48 |
"train_batch_size": 16,
|
| 49 |
"weight_decay": 0.01
|
| 50 |
}
|