Instructions to use TensorGreed/brewslm-sensitive-data-tagger with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TensorGreed/brewslm-sensitive-data-tagger with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="TensorGreed/brewslm-sensitive-data-tagger")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("TensorGreed/brewslm-sensitive-data-tagger") model = AutoModelForTokenClassification.from_pretrained("TensorGreed/brewslm-sensitive-data-tagger", device_map="auto") - Notebooks
- Google Colab
- Kaggle
BrewSLM export 37: sensitive-data span tagger, run #143 (deberta-v3-base, 30 types)
d1ddca2 verified Download label_space.json from TensorGreed/brewslm-sensitive-data-tagger: direct link, hf CLI and curl.
- Browser
- Download file 1.81 kB
-
https://huggingface.co/TensorGreed/brewslm-sensitive-data-tagger/resolve/main/label_space.json
- Command line
-
hf download hf://TensorGreed/brewslm-sensitive-data-tagger/label_space.json
-
curl -L -o label_space.json https://huggingface.co/TensorGreed/brewslm-sensitive-data-tagger/resolve/main/label_space.json
1.81 kB
| { | |
| "labels": [ | |
| "O", | |
| "B-address", | |
| "I-address", | |
| "B-api_key", | |
| "I-api_key", | |
| "B-bank_account", | |
| "I-bank_account", | |
| "B-card_expiry", | |
| "I-card_expiry", | |
| "B-credit_card", | |
| "I-credit_card", | |
| "B-customer_id", | |
| "I-customer_id", | |
| "B-cvv", | |
| "I-cvv", | |
| "B-date_of_birth", | |
| "I-date_of_birth", | |
| "B-device_id", | |
| "I-device_id", | |
| "B-diagnosis", | |
| "I-diagnosis", | |
| "B-email", | |
| "I-email", | |
| "B-employee_id", | |
| "I-employee_id", | |
| "B-health_plan_id", | |
| "I-health_plan_id", | |
| "B-iban", | |
| "I-iban", | |
| "B-ip_address", | |
| "I-ip_address", | |
| "B-licence_number", | |
| "I-licence_number", | |
| "B-license_plate", | |
| "I-license_plate", | |
| "B-medical_record_number", | |
| "I-medical_record_number", | |
| "B-medication", | |
| "I-medication", | |
| "B-national_id", | |
| "I-national_id", | |
| "B-passport", | |
| "I-passport", | |
| "B-person_name", | |
| "I-person_name", | |
| "B-phone", | |
| "I-phone", | |
| "B-provider_name", | |
| "I-provider_name", | |
| "B-routing_number", | |
| "I-routing_number", | |
| "B-tax_id", | |
| "I-tax_id", | |
| "B-ticket_id", | |
| "I-ticket_id", | |
| "B-transaction_id", | |
| "I-transaction_id", | |
| "B-username", | |
| "I-username", | |
| "B-visit_date", | |
| "I-visit_date" | |
| ], | |
| "entity_types": [ | |
| "address", | |
| "api_key", | |
| "bank_account", | |
| "card_expiry", | |
| "credit_card", | |
| "customer_id", | |
| "cvv", | |
| "date_of_birth", | |
| "device_id", | |
| "diagnosis", | |
| "email", | |
| "employee_id", | |
| "health_plan_id", | |
| "iban", | |
| "ip_address", | |
| "licence_number", | |
| "license_plate", | |
| "medical_record_number", | |
| "medication", | |
| "national_id", | |
| "passport", | |
| "person_name", | |
| "phone", | |
| "provider_name", | |
| "routing_number", | |
| "tax_id", | |
| "ticket_id", | |
| "transaction_id", | |
| "username", | |
| "visit_date" | |
| ] | |
| } |