beki/privy
Updated • 358 • 23
How to use arnabdhar/bert-tiny-privacy with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="arnabdhar/bert-tiny-privacy") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("arnabdhar/bert-tiny-privacy")
model = AutoModelForTokenClassification.from_pretrained("arnabdhar/bert-tiny-privacy")This model is a fine-tuned version of prajjwal1/bert-tiny on the beki/privy dataset. It achieves the following results on the evaluation set:
This model can be used to detect personal information traces from JSON, SQL, HTML and XML and can be used as a model for redacting such information.
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.1891 | 0.19 | 2500 | 0.1369 |
| 0.0869 | 0.38 | 5000 | 0.0503 |
| 0.0609 | 0.57 | 7500 | 0.0314 |
| 0.0512 | 0.76 | 10000 | 0.0259 |
| 0.0493 | 0.95 | 12500 | 0.0240 |
| 0.048 | 1.14 | 15000 | 0.0237 |
Base model
prajjwal1/bert-tiny