Instructions to use gridwolf/gemma2b-piisynth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gridwolf/gemma2b-piisynth with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("gridwolf/gemma2b-piisynth", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding label configuration
Browse files- label_config.json +156 -1
label_config.json
CHANGED
|
@@ -1 +1,156 @@
|
|
| 1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"label2id": {
|
| 3 |
+
"B-account_number": 0,
|
| 4 |
+
"B-address": 1,
|
| 5 |
+
"B-api_key": 2,
|
| 6 |
+
"B-bank_routing_number": 3,
|
| 7 |
+
"B-biometric_identifier": 4,
|
| 8 |
+
"B-certificate_license_number": 5,
|
| 9 |
+
"B-city": 6,
|
| 10 |
+
"B-company_name": 7,
|
| 11 |
+
"B-coordinate": 8,
|
| 12 |
+
"B-country": 9,
|
| 13 |
+
"B-credit_card_number": 10,
|
| 14 |
+
"B-customer_id": 11,
|
| 15 |
+
"B-cvv": 12,
|
| 16 |
+
"B-date": 13,
|
| 17 |
+
"B-date_of_birth": 14,
|
| 18 |
+
"B-date_time": 15,
|
| 19 |
+
"B-device_identifier": 16,
|
| 20 |
+
"B-email": 17,
|
| 21 |
+
"B-employee_id": 18,
|
| 22 |
+
"B-first_name": 19,
|
| 23 |
+
"B-ipv4": 20,
|
| 24 |
+
"B-ipv6": 21,
|
| 25 |
+
"B-last_name": 22,
|
| 26 |
+
"B-license_plate": 23,
|
| 27 |
+
"B-medical_record_number": 24,
|
| 28 |
+
"B-name": 25,
|
| 29 |
+
"B-password": 26,
|
| 30 |
+
"B-phone_number": 27,
|
| 31 |
+
"B-postcode": 28,
|
| 32 |
+
"B-ssn": 29,
|
| 33 |
+
"B-street_address": 30,
|
| 34 |
+
"B-tax_id": 31,
|
| 35 |
+
"B-time": 32,
|
| 36 |
+
"B-unique_identifier": 33,
|
| 37 |
+
"B-url": 34,
|
| 38 |
+
"B-user_name": 35,
|
| 39 |
+
"B-vehicle_identifier": 36,
|
| 40 |
+
"I-account_number": 37,
|
| 41 |
+
"I-address": 38,
|
| 42 |
+
"I-api_key": 39,
|
| 43 |
+
"I-bank_routing_number": 40,
|
| 44 |
+
"I-biometric_identifier": 41,
|
| 45 |
+
"I-certificate_license_number": 42,
|
| 46 |
+
"I-city": 43,
|
| 47 |
+
"I-company_name": 44,
|
| 48 |
+
"I-coordinate": 45,
|
| 49 |
+
"I-country": 46,
|
| 50 |
+
"I-credit_card_number": 47,
|
| 51 |
+
"I-customer_id": 48,
|
| 52 |
+
"I-cvv": 49,
|
| 53 |
+
"I-date": 50,
|
| 54 |
+
"I-date_of_birth": 51,
|
| 55 |
+
"I-date_time": 52,
|
| 56 |
+
"I-device_identifier": 53,
|
| 57 |
+
"I-email": 54,
|
| 58 |
+
"I-employee_id": 55,
|
| 59 |
+
"I-first_name": 56,
|
| 60 |
+
"I-ipv4": 57,
|
| 61 |
+
"I-ipv6": 58,
|
| 62 |
+
"I-last_name": 59,
|
| 63 |
+
"I-license_plate": 60,
|
| 64 |
+
"I-medical_record_number": 61,
|
| 65 |
+
"I-name": 62,
|
| 66 |
+
"I-password": 63,
|
| 67 |
+
"I-phone_number": 64,
|
| 68 |
+
"I-postcode": 65,
|
| 69 |
+
"I-ssn": 66,
|
| 70 |
+
"I-street_address": 67,
|
| 71 |
+
"I-tax_id": 68,
|
| 72 |
+
"I-time": 69,
|
| 73 |
+
"I-unique_identifier": 70,
|
| 74 |
+
"I-url": 71,
|
| 75 |
+
"I-user_name": 72,
|
| 76 |
+
"I-vehicle_identifier": 73,
|
| 77 |
+
"O": 74
|
| 78 |
+
},
|
| 79 |
+
"id2label": {
|
| 80 |
+
"0": "B-account_number",
|
| 81 |
+
"1": "B-address",
|
| 82 |
+
"2": "B-api_key",
|
| 83 |
+
"3": "B-bank_routing_number",
|
| 84 |
+
"4": "B-biometric_identifier",
|
| 85 |
+
"5": "B-certificate_license_number",
|
| 86 |
+
"6": "B-city",
|
| 87 |
+
"7": "B-company_name",
|
| 88 |
+
"8": "B-coordinate",
|
| 89 |
+
"9": "B-country",
|
| 90 |
+
"10": "B-credit_card_number",
|
| 91 |
+
"11": "B-customer_id",
|
| 92 |
+
"12": "B-cvv",
|
| 93 |
+
"13": "B-date",
|
| 94 |
+
"14": "B-date_of_birth",
|
| 95 |
+
"15": "B-date_time",
|
| 96 |
+
"16": "B-device_identifier",
|
| 97 |
+
"17": "B-email",
|
| 98 |
+
"18": "B-employee_id",
|
| 99 |
+
"19": "B-first_name",
|
| 100 |
+
"20": "B-ipv4",
|
| 101 |
+
"21": "B-ipv6",
|
| 102 |
+
"22": "B-last_name",
|
| 103 |
+
"23": "B-license_plate",
|
| 104 |
+
"24": "B-medical_record_number",
|
| 105 |
+
"25": "B-name",
|
| 106 |
+
"26": "B-password",
|
| 107 |
+
"27": "B-phone_number",
|
| 108 |
+
"28": "B-postcode",
|
| 109 |
+
"29": "B-ssn",
|
| 110 |
+
"30": "B-street_address",
|
| 111 |
+
"31": "B-tax_id",
|
| 112 |
+
"32": "B-time",
|
| 113 |
+
"33": "B-unique_identifier",
|
| 114 |
+
"34": "B-url",
|
| 115 |
+
"35": "B-user_name",
|
| 116 |
+
"36": "B-vehicle_identifier",
|
| 117 |
+
"37": "I-account_number",
|
| 118 |
+
"38": "I-address",
|
| 119 |
+
"39": "I-api_key",
|
| 120 |
+
"40": "I-bank_routing_number",
|
| 121 |
+
"41": "I-biometric_identifier",
|
| 122 |
+
"42": "I-certificate_license_number",
|
| 123 |
+
"43": "I-city",
|
| 124 |
+
"44": "I-company_name",
|
| 125 |
+
"45": "I-coordinate",
|
| 126 |
+
"46": "I-country",
|
| 127 |
+
"47": "I-credit_card_number",
|
| 128 |
+
"48": "I-customer_id",
|
| 129 |
+
"49": "I-cvv",
|
| 130 |
+
"50": "I-date",
|
| 131 |
+
"51": "I-date_of_birth",
|
| 132 |
+
"52": "I-date_time",
|
| 133 |
+
"53": "I-device_identifier",
|
| 134 |
+
"54": "I-email",
|
| 135 |
+
"55": "I-employee_id",
|
| 136 |
+
"56": "I-first_name",
|
| 137 |
+
"57": "I-ipv4",
|
| 138 |
+
"58": "I-ipv6",
|
| 139 |
+
"59": "I-last_name",
|
| 140 |
+
"60": "I-license_plate",
|
| 141 |
+
"61": "I-medical_record_number",
|
| 142 |
+
"62": "I-name",
|
| 143 |
+
"63": "I-password",
|
| 144 |
+
"64": "I-phone_number",
|
| 145 |
+
"65": "I-postcode",
|
| 146 |
+
"66": "I-ssn",
|
| 147 |
+
"67": "I-street_address",
|
| 148 |
+
"68": "I-tax_id",
|
| 149 |
+
"69": "I-time",
|
| 150 |
+
"70": "I-unique_identifier",
|
| 151 |
+
"71": "I-url",
|
| 152 |
+
"72": "I-user_name",
|
| 153 |
+
"73": "I-vehicle_identifier",
|
| 154 |
+
"74": "O"
|
| 155 |
+
}
|
| 156 |
+
}
|