Instructions to use simpliTax/category-v7-weighted with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use simpliTax/category-v7-weighted with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="simpliTax/category-v7-weighted")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("simpliTax/category-v7-weighted") model = AutoModelForSequenceClassification.from_pretrained("simpliTax/category-v7-weighted", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "BertForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "classifier_dropout": null, | |
| "dtype": "float32", | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "Accommodation and subsistence", | |
| "1": "Accrued income receivable", | |
| "2": "Accrued operating expenses", | |
| "3": "Accumulated amortisation - development costs", | |
| "4": "Accumulated amortisation - other intangibles", | |
| "5": "Accumulated amortisation - software", | |
| "6": "Accumulated depreciation - buildings", | |
| "7": "Accumulated depreciation - leasehold improvements", | |
| "8": "Accumulated depreciation - motor vehicles", | |
| "9": "Accumulated depreciation - plant and machinery", | |
| "10": "Acquisition and integration costs", | |
| "11": "Advertising and listing revenue", | |
| "12": "Advertising expense", | |
| "13": "Advertising revenue", | |
| "14": "Allowance for expected credit losses", | |
| "15": "Amortisation - intangible assets", | |
| "16": "Asset revaluation reserve", | |
| "17": "Assets under construction", | |
| "18": "Audit fees", | |
| "19": "Bad debt and liability write-back income (non-taxable)", | |
| "20": "Bad debt and provision recoveries", | |
| "21": "Bad debts written off", | |
| "22": "Bank and borrowing interest", | |
| "23": "Bank and transaction charges", | |
| "24": "Bank clearing accounts", | |
| "25": "Bank interest income", | |
| "26": "Bank loans", | |
| "27": "Bank overdrafts", | |
| "28": "Bonds and notes payable", | |
| "29": "Bonus and commission payable", | |
| "30": "Bonuses and commissions", | |
| "31": "Branch and divisional result", | |
| "32": "Brand and trademark licence expense", | |
| "33": "Brands and trademarks", | |
| "34": "Buildings", | |
| "35": "Business travel", | |
| "36": "Capital contributions", | |
| "37": "Capitalised development costs", | |
| "38": "Capitalised own work and packaging", | |
| "39": "Card settlement accounts", | |
| "40": "Carrying value of assets disposed", | |
| "41": "Cash at bank", | |
| "42": "Cash in transit", | |
| "43": "Cash on hand", | |
| "44": "Cloud hosting and data services", | |
| "45": "Commission revenue", | |
| "46": "Computer equipment", | |
| "47": "Current income tax expense", | |
| "48": "Current income tax payable", | |
| "49": "Current income tax receivable", | |
| "50": "Current-year profit or loss", | |
| "51": "Customer advances and deposits", | |
| "52": "Customer incentives", | |
| "53": "Customer payables", | |
| "54": "Customer relationships", | |
| "55": "Customs and import duties", | |
| "56": "Deferred income tax expense", | |
| "57": "Deferred service revenue", | |
| "58": "Deferred subscription revenue", | |
| "59": "Deferred tax asset", | |
| "60": "Deferred tax liability", | |
| "61": "Delivery and logistics revenue", | |
| "62": "Depreciation - buildings", | |
| "63": "Depreciation - computer equipment", | |
| "64": "Depreciation - furniture and fittings", | |
| "65": "Depreciation - leasehold improvements", | |
| "66": "Depreciation - motor vehicles", | |
| "67": "Depreciation - other assets", | |
| "68": "Depreciation - plant and machinery", | |
| "69": "Derivative assets", | |
| "70": "Derivative liabilities", | |
| "71": "Digital and media sales", | |
| "72": "Direct labour", | |
| "73": "Dividend income", | |
| "74": "Dividends declared", | |
| "75": "Domain, certificate and CDN costs", | |
| "76": "Employee loans receivable", | |
| "77": "Employee receivables", | |
| "78": "Employee reimbursements payable", | |
| "79": "Employer payroll contributions", | |
| "80": "Equipment rental income", | |
| "81": "Equity investments", | |
| "82": "Equity method investment result (non-taxable)", | |
| "83": "Expected credit loss adjustment income (non-taxable)", | |
| "84": "Expected credit loss expense", | |
| "85": "Fair value gain - derivatives", | |
| "86": "Fair value gain - investments", | |
| "87": "Fair value gain or loss - investments", | |
| "88": "Fair value reserve", | |
| "89": "Financial assets at FVOCI", | |
| "90": "Financial assets at FVTPL", | |
| "91": "Financial assets at amortised cost", | |
| "92": "Finished goods inventory", | |
| "93": "Foreign currency translation reserve", | |
| "94": "Foreign exchange gain or loss - hedging instruments", | |
| "95": "Foreign exchange gain or loss - operating", | |
| "96": "Freight and delivery costs", | |
| "97": "Furniture and fittings", | |
| "98": "Gain on disposal of fixed assets", | |
| "99": "Gain on disposal of subsidiary or business", | |
| "100": "Gain or loss on disposal of fixed assets", | |
| "101": "Goodwill", | |
| "102": "Government grants and subsidies", | |
| "103": "Hosting and platform service income", | |
| "104": "IT support and maintenance", | |
| "105": "Impairment - property, plant and equipment", | |
| "106": "Impairment allowance - investments", | |
| "107": "Impairment allowance - other assets", | |
| "108": "Insurance expense", | |
| "109": "Intercompany hosting and IT recharges", | |
| "110": "Intercompany interest expense", | |
| "111": "Intercompany interest income", | |
| "112": "Intercompany interest payable", | |
| "113": "Intercompany interest receivable", | |
| "114": "Intercompany loan payables", | |
| "115": "Intercompany loan receivables", | |
| "116": "Intercompany other payables", | |
| "117": "Intercompany other receivables", | |
| "118": "Intercompany service recovery income", | |
| "119": "Intercompany trade payables", | |
| "120": "Intercompany trade receivables", | |
| "121": "Inventory obsolescence allowance", | |
| "122": "Inventory write-down", | |
| "123": "Investments in associates", | |
| "124": "Investments in joint ventures", | |
| "125": "Investments in subsidiaries", | |
| "126": "Irrecoverable VAT and indirect taxes", | |
| "127": "Land", | |
| "128": "Lease administration and service fees", | |
| "129": "Lease interest expense", | |
| "130": "Lease liabilities - equipment", | |
| "131": "Lease liabilities - property", | |
| "132": "Lease liabilities - vehicles", | |
| "133": "Leasehold improvements", | |
| "134": "Leave pay liability", | |
| "135": "Legal and regulatory provisions", | |
| "136": "Legal fees", | |
| "137": "Licences and concessions", | |
| "138": "Litigation and regulatory expense", | |
| "139": "Loan interest income", | |
| "140": "Local transport and mileage", | |
| "141": "Loyalty programme liability", | |
| "142": "Management consulting fees", | |
| "143": "Marketing and promotion expense", | |
| "144": "Medical and other employee benefits", | |
| "145": "Merchandise inventory", | |
| "146": "Merchant and payment processing costs", | |
| "147": "Monetary variation and hyperinflation adjustment", | |
| "148": "Motor vehicles", | |
| "149": "Non-deductible accelerated depreciation on disposal", | |
| "150": "Non-deductible accounting adjustments", | |
| "151": "Non-deductible acquisition and transaction costs", | |
| "152": "Non-deductible amortisation - intangible assets", | |
| "153": "Non-deductible bad debt and expected credit loss charges", | |
| "154": "Non-deductible depreciation - right-of-use assets", | |
| "155": "Non-deductible depreciation - tangible assets", | |
| "156": "Non-deductible donations and gifts", | |
| "157": "Non-deductible fair value adjustments", | |
| "158": "Non-deductible fines and penalties", | |
| "159": "Non-deductible fraud and theft losses", | |
| "160": "Non-deductible legal, litigation and contingency costs", | |
| "161": "Non-deductible professional and advisory fees", | |
| "162": "Non-deductible provisions and impairment charges", | |
| "163": "Non-deductible restructuring and retrenchment costs", | |
| "164": "Non-deductible share-based compensation", | |
| "165": "Non-deductible travel and subsistence", | |
| "166": "Non-deductible vehicle and fleet costs", | |
| "167": "Non-recoverable indirect taxes and duties", | |
| "168": "Office and administrative supplies", | |
| "169": "Operating advances receivable", | |
| "170": "Operating prepayments", | |
| "171": "Ordinary share capital", | |
| "172": "Other financial liabilities", | |
| "173": "Other intangible assets", | |
| "174": "Other non-deductible operating expenses", | |
| "175": "Other revenue deductions", | |
| "176": "Other tangible fixed assets", | |
| "177": "Patents and copyrights", | |
| "178": "Payment processor clearing accounts", | |
| "179": "Payroll clearing accounts", | |
| "180": "Payroll payable", | |
| "181": "Payroll tax expense", | |
| "182": "Penalty and compensation income", | |
| "183": "Penalty and late payment income", | |
| "184": "Pension and benefit payable", | |
| "185": "Pension and retirement costs", | |
| "186": "Plant and machinery", | |
| "187": "Postage and courier", | |
| "188": "Preference share capital", | |
| "189": "Prior-period income tax adjustment", | |
| "190": "Proceeds on disposal of assets", | |
| "191": "Product and merchandise cost", | |
| "192": "Product sales revenue", | |
| "193": "Property and municipal tax expense", | |
| "194": "Provision expense", | |
| "195": "Provision release income", | |
| "196": "Raw material consumption", | |
| "197": "Realised foreign exchange gain or loss - trade", | |
| "198": "Rebates and incentives", | |
| "199": "Rent and occupancy", | |
| "200": "Rental and lease income", | |
| "201": "Repairs and maintenance", | |
| "202": "Restricted cash", | |
| "203": "Restructuring expense", | |
| "204": "Restructuring provision", | |
| "205": "Retained earnings", | |
| "206": "Reversal of impairment losses (non-taxable)", | |
| "207": "Right-of-use assets - equipment", | |
| "208": "Right-of-use assets - property", | |
| "209": "Right-of-use assets - vehicles", | |
| "210": "Royalty and licence income", | |
| "211": "Royalty expense", | |
| "212": "Salaries and wages", | |
| "213": "Sale of goods for resale", | |
| "214": "Sale of residual and scrap products", | |
| "215": "Sales commissions", | |
| "216": "Sales discounts", | |
| "217": "Sales discounts and rebates", | |
| "218": "Sales returns and refunds", | |
| "219": "Security and cleaning", | |
| "220": "Security deposits", | |
| "221": "Service discounts and rebates", | |
| "222": "Service revenue", | |
| "223": "Share premium", | |
| "224": "Share-based payment expense", | |
| "225": "Share-based payment reserve", | |
| "226": "Shareholder loans payable", | |
| "227": "Shareholder loans receivable", | |
| "228": "Software intangible assets", | |
| "229": "Software subscriptions and licences", | |
| "230": "Staff welfare and events", | |
| "231": "Subscription and licence revenue", | |
| "232": "Subscription and membership fee revenue", | |
| "233": "Sundry operating income", | |
| "234": "Supplier advances", | |
| "235": "Supplier discounts and settlement income", | |
| "236": "Tax consulting fees", | |
| "237": "Telecommunications", | |
| "238": "Third-party loans receivable", | |
| "239": "Trade payables", | |
| "240": "Trade receivables", | |
| "241": "Training and development", | |
| "242": "Transaction and administrative fee revenue", | |
| "243": "Unbilled receivables", | |
| "244": "Unrealised foreign exchange gain or loss - intercompany", | |
| "245": "Unrealised foreign exchange gain or loss - trade", | |
| "246": "Unwinding of discount", | |
| "247": "Utilities", | |
| "248": "VAT and indirect tax payable", | |
| "249": "VAT and indirect tax receivable", | |
| "250": "Vehicle and fleet costs", | |
| "251": "Warranty provision", | |
| "252": "Withholding tax borne", | |
| "253": "Withholding tax payable", | |
| "254": "Withholding tax receivable", | |
| "255": "Work in progress inventory" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "Accommodation and subsistence": 0, | |
| "Accrued income receivable": 1, | |
| "Accrued operating expenses": 2, | |
| "Accumulated amortisation - development costs": 3, | |
| "Accumulated amortisation - other intangibles": 4, | |
| "Accumulated amortisation - software": 5, | |
| "Accumulated depreciation - buildings": 6, | |
| "Accumulated depreciation - leasehold improvements": 7, | |
| "Accumulated depreciation - motor vehicles": 8, | |
| "Accumulated depreciation - plant and machinery": 9, | |
| "Acquisition and integration costs": 10, | |
| "Advertising and listing revenue": 11, | |
| "Advertising expense": 12, | |
| "Advertising revenue": 13, | |
| "Allowance for expected credit losses": 14, | |
| "Amortisation - intangible assets": 15, | |
| "Asset revaluation reserve": 16, | |
| "Assets under construction": 17, | |
| "Audit fees": 18, | |
| "Bad debt and liability write-back income (non-taxable)": 19, | |
| "Bad debt and provision recoveries": 20, | |
| "Bad debts written off": 21, | |
| "Bank and borrowing interest": 22, | |
| "Bank and transaction charges": 23, | |
| "Bank clearing accounts": 24, | |
| "Bank interest income": 25, | |
| "Bank loans": 26, | |
| "Bank overdrafts": 27, | |
| "Bonds and notes payable": 28, | |
| "Bonus and commission payable": 29, | |
| "Bonuses and commissions": 30, | |
| "Branch and divisional result": 31, | |
| "Brand and trademark licence expense": 32, | |
| "Brands and trademarks": 33, | |
| "Buildings": 34, | |
| "Business travel": 35, | |
| "Capital contributions": 36, | |
| "Capitalised development costs": 37, | |
| "Capitalised own work and packaging": 38, | |
| "Card settlement accounts": 39, | |
| "Carrying value of assets disposed": 40, | |
| "Cash at bank": 41, | |
| "Cash in transit": 42, | |
| "Cash on hand": 43, | |
| "Cloud hosting and data services": 44, | |
| "Commission revenue": 45, | |
| "Computer equipment": 46, | |
| "Current income tax expense": 47, | |
| "Current income tax payable": 48, | |
| "Current income tax receivable": 49, | |
| "Current-year profit or loss": 50, | |
| "Customer advances and deposits": 51, | |
| "Customer incentives": 52, | |
| "Customer payables": 53, | |
| "Customer relationships": 54, | |
| "Customs and import duties": 55, | |
| "Deferred income tax expense": 56, | |
| "Deferred service revenue": 57, | |
| "Deferred subscription revenue": 58, | |
| "Deferred tax asset": 59, | |
| "Deferred tax liability": 60, | |
| "Delivery and logistics revenue": 61, | |
| "Depreciation - buildings": 62, | |
| "Depreciation - computer equipment": 63, | |
| "Depreciation - furniture and fittings": 64, | |
| "Depreciation - leasehold improvements": 65, | |
| "Depreciation - motor vehicles": 66, | |
| "Depreciation - other assets": 67, | |
| "Depreciation - plant and machinery": 68, | |
| "Derivative assets": 69, | |
| "Derivative liabilities": 70, | |
| "Digital and media sales": 71, | |
| "Direct labour": 72, | |
| "Dividend income": 73, | |
| "Dividends declared": 74, | |
| "Domain, certificate and CDN costs": 75, | |
| "Employee loans receivable": 76, | |
| "Employee receivables": 77, | |
| "Employee reimbursements payable": 78, | |
| "Employer payroll contributions": 79, | |
| "Equipment rental income": 80, | |
| "Equity investments": 81, | |
| "Equity method investment result (non-taxable)": 82, | |
| "Expected credit loss adjustment income (non-taxable)": 83, | |
| "Expected credit loss expense": 84, | |
| "Fair value gain - derivatives": 85, | |
| "Fair value gain - investments": 86, | |
| "Fair value gain or loss - investments": 87, | |
| "Fair value reserve": 88, | |
| "Financial assets at FVOCI": 89, | |
| "Financial assets at FVTPL": 90, | |
| "Financial assets at amortised cost": 91, | |
| "Finished goods inventory": 92, | |
| "Foreign currency translation reserve": 93, | |
| "Foreign exchange gain or loss - hedging instruments": 94, | |
| "Foreign exchange gain or loss - operating": 95, | |
| "Freight and delivery costs": 96, | |
| "Furniture and fittings": 97, | |
| "Gain on disposal of fixed assets": 98, | |
| "Gain on disposal of subsidiary or business": 99, | |
| "Gain or loss on disposal of fixed assets": 100, | |
| "Goodwill": 101, | |
| "Government grants and subsidies": 102, | |
| "Hosting and platform service income": 103, | |
| "IT support and maintenance": 104, | |
| "Impairment - property, plant and equipment": 105, | |
| "Impairment allowance - investments": 106, | |
| "Impairment allowance - other assets": 107, | |
| "Insurance expense": 108, | |
| "Intercompany hosting and IT recharges": 109, | |
| "Intercompany interest expense": 110, | |
| "Intercompany interest income": 111, | |
| "Intercompany interest payable": 112, | |
| "Intercompany interest receivable": 113, | |
| "Intercompany loan payables": 114, | |
| "Intercompany loan receivables": 115, | |
| "Intercompany other payables": 116, | |
| "Intercompany other receivables": 117, | |
| "Intercompany service recovery income": 118, | |
| "Intercompany trade payables": 119, | |
| "Intercompany trade receivables": 120, | |
| "Inventory obsolescence allowance": 121, | |
| "Inventory write-down": 122, | |
| "Investments in associates": 123, | |
| "Investments in joint ventures": 124, | |
| "Investments in subsidiaries": 125, | |
| "Irrecoverable VAT and indirect taxes": 126, | |
| "Land": 127, | |
| "Lease administration and service fees": 128, | |
| "Lease interest expense": 129, | |
| "Lease liabilities - equipment": 130, | |
| "Lease liabilities - property": 131, | |
| "Lease liabilities - vehicles": 132, | |
| "Leasehold improvements": 133, | |
| "Leave pay liability": 134, | |
| "Legal and regulatory provisions": 135, | |
| "Legal fees": 136, | |
| "Licences and concessions": 137, | |
| "Litigation and regulatory expense": 138, | |
| "Loan interest income": 139, | |
| "Local transport and mileage": 140, | |
| "Loyalty programme liability": 141, | |
| "Management consulting fees": 142, | |
| "Marketing and promotion expense": 143, | |
| "Medical and other employee benefits": 144, | |
| "Merchandise inventory": 145, | |
| "Merchant and payment processing costs": 146, | |
| "Monetary variation and hyperinflation adjustment": 147, | |
| "Motor vehicles": 148, | |
| "Non-deductible accelerated depreciation on disposal": 149, | |
| "Non-deductible accounting adjustments": 150, | |
| "Non-deductible acquisition and transaction costs": 151, | |
| "Non-deductible amortisation - intangible assets": 152, | |
| "Non-deductible bad debt and expected credit loss charges": 153, | |
| "Non-deductible depreciation - right-of-use assets": 154, | |
| "Non-deductible depreciation - tangible assets": 155, | |
| "Non-deductible donations and gifts": 156, | |
| "Non-deductible fair value adjustments": 157, | |
| "Non-deductible fines and penalties": 158, | |
| "Non-deductible fraud and theft losses": 159, | |
| "Non-deductible legal, litigation and contingency costs": 160, | |
| "Non-deductible professional and advisory fees": 161, | |
| "Non-deductible provisions and impairment charges": 162, | |
| "Non-deductible restructuring and retrenchment costs": 163, | |
| "Non-deductible share-based compensation": 164, | |
| "Non-deductible travel and subsistence": 165, | |
| "Non-deductible vehicle and fleet costs": 166, | |
| "Non-recoverable indirect taxes and duties": 167, | |
| "Office and administrative supplies": 168, | |
| "Operating advances receivable": 169, | |
| "Operating prepayments": 170, | |
| "Ordinary share capital": 171, | |
| "Other financial liabilities": 172, | |
| "Other intangible assets": 173, | |
| "Other non-deductible operating expenses": 174, | |
| "Other revenue deductions": 175, | |
| "Other tangible fixed assets": 176, | |
| "Patents and copyrights": 177, | |
| "Payment processor clearing accounts": 178, | |
| "Payroll clearing accounts": 179, | |
| "Payroll payable": 180, | |
| "Payroll tax expense": 181, | |
| "Penalty and compensation income": 182, | |
| "Penalty and late payment income": 183, | |
| "Pension and benefit payable": 184, | |
| "Pension and retirement costs": 185, | |
| "Plant and machinery": 186, | |
| "Postage and courier": 187, | |
| "Preference share capital": 188, | |
| "Prior-period income tax adjustment": 189, | |
| "Proceeds on disposal of assets": 190, | |
| "Product and merchandise cost": 191, | |
| "Product sales revenue": 192, | |
| "Property and municipal tax expense": 193, | |
| "Provision expense": 194, | |
| "Provision release income": 195, | |
| "Raw material consumption": 196, | |
| "Realised foreign exchange gain or loss - trade": 197, | |
| "Rebates and incentives": 198, | |
| "Rent and occupancy": 199, | |
| "Rental and lease income": 200, | |
| "Repairs and maintenance": 201, | |
| "Restricted cash": 202, | |
| "Restructuring expense": 203, | |
| "Restructuring provision": 204, | |
| "Retained earnings": 205, | |
| "Reversal of impairment losses (non-taxable)": 206, | |
| "Right-of-use assets - equipment": 207, | |
| "Right-of-use assets - property": 208, | |
| "Right-of-use assets - vehicles": 209, | |
| "Royalty and licence income": 210, | |
| "Royalty expense": 211, | |
| "Salaries and wages": 212, | |
| "Sale of goods for resale": 213, | |
| "Sale of residual and scrap products": 214, | |
| "Sales commissions": 215, | |
| "Sales discounts": 216, | |
| "Sales discounts and rebates": 217, | |
| "Sales returns and refunds": 218, | |
| "Security and cleaning": 219, | |
| "Security deposits": 220, | |
| "Service discounts and rebates": 221, | |
| "Service revenue": 222, | |
| "Share premium": 223, | |
| "Share-based payment expense": 224, | |
| "Share-based payment reserve": 225, | |
| "Shareholder loans payable": 226, | |
| "Shareholder loans receivable": 227, | |
| "Software intangible assets": 228, | |
| "Software subscriptions and licences": 229, | |
| "Staff welfare and events": 230, | |
| "Subscription and licence revenue": 231, | |
| "Subscription and membership fee revenue": 232, | |
| "Sundry operating income": 233, | |
| "Supplier advances": 234, | |
| "Supplier discounts and settlement income": 235, | |
| "Tax consulting fees": 236, | |
| "Telecommunications": 237, | |
| "Third-party loans receivable": 238, | |
| "Trade payables": 239, | |
| "Trade receivables": 240, | |
| "Training and development": 241, | |
| "Transaction and administrative fee revenue": 242, | |
| "Unbilled receivables": 243, | |
| "Unrealised foreign exchange gain or loss - intercompany": 244, | |
| "Unrealised foreign exchange gain or loss - trade": 245, | |
| "Unwinding of discount": 246, | |
| "Utilities": 247, | |
| "VAT and indirect tax payable": 248, | |
| "VAT and indirect tax receivable": 249, | |
| "Vehicle and fleet costs": 250, | |
| "Warranty provision": 251, | |
| "Withholding tax borne": 252, | |
| "Withholding tax payable": 253, | |
| "Withholding tax receivable": 254, | |
| "Work in progress inventory": 255 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "problem_type": "single_label_classification", | |
| "transformers_version": "5.0.0.dev0", | |
| "type_vocab_size": 2, | |
| "use_cache": false, | |
| "vocab_size": 30873 | |
| } | |