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
File size: 1,805 Bytes
d1ddca2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | {
"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"
]
} |