Instructions to use matthewleechen/multilabel_patent_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use matthewleechen/multilabel_patent_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="matthewleechen/multilabel_patent_classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("matthewleechen/multilabel_patent_classifier") model = AutoModelForSequenceClassification.from_pretrained("matthewleechen/multilabel_patent_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| class,class_name,class_description | |
| 1,"Acids, alkalis, etc","ACIDS, ALKALIES, OXIDES, AND SALTS, INORGANIC" | |
| 2,"Acids and salts, etc","ACIDS AND SALTS, ORGANIC, AND OTHER CARBON COMPOUNDS, [including Dyes]" | |
| 3,Advertising,ADVERTISING AND DISPLAYING | |
| 4,Aeronautics,AERONAUTICS | |
| 5,"Agricultural appliances, farmyard","AGRICULTURAL APPLIANCES, FARMYARD AND LIKE, [including the housing, feeding, and treatment of animals]" | |
| 6,"Agricultural appliances, for treatment of land, etc.","AGRICULTURAL APPLIANCES FOR THE TREATMENT OF LAND AND CROPS, [including Gardening-appliances]" | |
| 7,Air and gas engines,AIR AND GAS ENGINES | |
| 8,"Air and gases, compressing, etc","AIR AND GASES, COMPRESSING, EXHAUSTING, MOVING, AND OTHERWISE TREATING" | |
| 9,Ammunition,"AMMUNITION, TORPEDOES, EXPLOSIVES, AND PYROTECHNICS" | |
| 10,Animal powered engines,ANIMAL-POWER ENGINES AND MISCELLANEOUS MOTORS | |
| 11,Artists' instruments,ARTISTS' INSTRUMENTS AND MATERIALS | |
| 12,"Bearings, etc.",BEARINGS AND LUBRICATING-APPARATUS | |
| 13,"Bells, etc","BELLS, GONGS, FOGHORNS, SIGNALS, AND THE LIKE" | |
| 14,Beverages,"BEVERAGES, [excepting Tea, coffee, cocoa, and like beverages]" | |
| 15,"Bleaching, etc.","BLEACHING, DYEING, AND WASHING TEXTILE MATERIALS, YARNS, FABRICS, AND THE LIKE, [excepting Dyes]" | |
| 16,Books,"BOOKS, [including Cards and card cases and the like]" | |
| 17,"Boots, etc",BOOTS AND SHOES | |
| 18,"Boxes, etc","BOXES AND CASES, [excepting Trunks, portmanteaus, hand and like travelling bags, baskets, hampers, and other wickerwork]" | |
| 19,"Brushing, etc",BRUSHING AND SWEEPING | |
| 20,Buildings,BUILDINGS AND STRUCTURES | |
| 21,Casks,CASKS AND BARRELS | |
| 22,Cements,CEMENTS AND LIKE COMPOSITIONS | |
| 23,Centrifugal drying,"CENTRIFUGAL DRYING, SEPARATING, AND MIXING MACHINES AND APPARATUS" | |
| 24,Chains,"CHAINS, CHAIN CABLES, SHACKLES, AND SWIVELS" | |
| 25,Chimneys,"CHIMNEYS AND FLUES, [including Ventilating-shaft tops]" | |
| 26,Closets,"CLOSETS, URINALS, BATHS, LAVATORIES, AND LIKE SANITARY APPLIANCES" | |
| 27,Coin-feed apparatus,COMPRESSED AIR AND THE LIKE | |
| 28,"Cooking, etc","COOKING AND KITCHEN APPLIANCES, BREAD-MAKING, AND CONFECTIONERY" | |
| 29,Cooling,"COOLING AND ICE-MAKING, [including Refrigerators and cooling]" | |
| 30,Cutlery,CUTLERY | |
| 31,Cutting,"CUTTING, PUNCHING, AND PERFORATING PAPER, LEATHER, AND FABRICS, [including the general treatment of paper after its manufacture]" | |
| 32,Distilling,"DISTILLING, CONCENTRATING, EVAPORATING, AND CONDENSING LIQUIDS, [excepting Steam-engine condensers]" | |
| 33,Drains,DRAINS AND SEWERS | |
| 34,Drying,DRYING | |
| 35,Dynamo electric generators,"DYNAMO-ELECTRIC GENERATORS AND MOTORS, [including Frictional and influence machines, magnets, and the like]" | |
| 36,Electricity conducting,"ELECTRICITY, CONDUCTING AND INSULATING" | |
| 37,Electricity measuring,"ELECTRICITY, MEASURING AND TESTING" | |
| 38,Electricity regulating,"ELECTRICITY, REGULATING AND DISTRIBUTING" | |
| 39,Electric lamps,ELECTRIC LAMPS AND HOLDERS | |
| 40,Electric telegraphs,ELECTRIC TELEGRAPHS AND TELEPHONES | |
| 41,Electrolysis,"ELECTROLYSIS, [including Electrodeposition and Electroplating]" | |
| 42,"Fabrics, dressing","FABRICS, DRESSING AND FINISHING WOVEN AND MANUFACTURED FELTED, [including Folding, Winding, Measuring, and Packing]" | |
| 43,"Fastenings, dress","FASTENINGS, DRESS, [including Jewellery]" | |
| 44,"Fastenings, lock","FASTENINGS, LOCK, LATCH, BOLT, AND OTHER, [including Safes and strong-rooms]" | |
| 45,Fencing,"FENCING, TRELLIS, AND WIRE NETTING" | |
| 46,Filtering,FILTERING AND LIKE SEPARATING OR PURIFYING LIQUIDS | |
| 47,Fire extinction,"FIRE, EXTINCTION AND PREVENTION OF" | |
| 48,Fish,FISH AND FISHING | |
| 49,Food,FOOD PREPARATIONS AND FOOD-PRESERVING | |
| 50,"Fuel, manufacture","FUEL, MANUFACTURE OF" | |
| 51,Furnaces,"FURNACES AND KILNS, [including Blowpipes and blowpipe burners; Smiths' forges and rivet hearths; and Smoke and fumes, treating]" | |
| 52,Furniture,FURNITURE AND UPHOLSTERY | |
| 53,Galvanic batteries,GALVANIZING | |
| 54,Gas distribution,GAS DISTRIBUTION | |
| 55,Gas manufacture,GAS MANUFACTURE | |
| 56,Glass,GEARS | |
| 57,Governors,"GOVERNORS, SPEED-REGULATING, FOR ENGINES AND MACHINERY" | |
| 58,Grain,"GRAIN AND SEEDS, TREATING, [including Flour and meal]" | |
| 59,Grinding and crushing,"GRINDING, CRUSHING, PULVERIZING, AND THE LIKE" | |
| 60,Grinding or abrading,"GRINDING OR ABRADING, AND BURNISHING" | |
| 61,Hand tools,"HAND TOOLS AND BENCHES FOR THE USE OF METAL, WOOD, AND STONE WORKERS" | |
| 62,Harness,HARNESS AND SADDLERY | |
| 63,Hats,HATS AND OTHER HEAD COVERINGS | |
| 64,Heating,"HEATING, [excepting Furnaces and kilns; and Stoves, ranges, and fireplaces]" | |
| 65,Hinges,"HINGES, HINGE-JOINTS, AND DOOR AND GATE FURNITURE AND ACCESSORIES, [excepting Fastenings, Lock, latch, bolt, and other]" | |
| 66,Hollow-ware,"HOLLOW-WARE, [including Buckets, Pans, Kettles, Saucepans, and Water-cans]" | |
| 67,Horse-shoes,HORSE-SHOES | |
| 68,Hydraulic engineering,HYDRAULIC ENGINEERING | |
| 69,Hydraulic machinery,"HYDRAULIC MACHINERY AND APPARATUS, [excepting Pumps and other means for raising and forcing liquids]" | |
| 70,India-rubber,"INDIA-RUBBER AND GUTTA-PERCHA, [including Plastic compositions and Materials of constructive utility, other than metals and stone]" | |
| 71,Injectors,INVENTORS' AIDS AND MOTORS | |
| 72,Iron,IRON AND STEEL MANUFACTURE | |
| 73,Labels,"LABELS, BANDS, COLLARS, TOKENS, AND TICKETS" | |
| 74,Lace-making,"LACE-MAKING, KNITTING, NETTING, BRAIDING, AND PLAITING" | |
| 75,Lamps,"LAMPS, CANDLESTICKS, GASALIERS, AND OTHER ILLUMINATING-APPARATUS, [excepting Electric lamps]" | |
| 76,Leather,"LEATHER, [including Treatment of hides and skins]" | |
| 77,Life-saving,"LIFE-SAVING, [MARINE], AND SWIMMING AND BATHING APPLIANCES" | |
| 78,Lifting,"LIFTING, HOISTING, AND LOWERING, [including Lowering, Winding, and Unloading]" | |
| 79,Locomotives,"LOCOMOTIVES AND MOTOR VEHICLES FOR ROAD AND RAIL, [including Portable and semi-portable engines]" | |
| 80,Mechanism,MECHANISM AND MILL GEARING | |
| 81,Medicine,"MEDICINE, SURGERY, AND DENTISTRY" | |
| 82,Metals and alloys,"METALS AND ALLOYS, [excepting Iron and Steel manufacture]" | |
| 83,"Metals, Cutting, etc","METALS, CUTTING AND WORKING" | |
| 84,Milking,"MILKING, CHURNING, AND CHEESE-MAKING" | |
| 85,Mining,"MINING, QUARRYING, TUNNELLING, AND WELL-SINKING" | |
| 86,Mixing,"MIXING AND AGITATING MACHINES AND APPLIANCES, [excepting Centrifugal machines and apparatus]" | |
| 87,Moulding,"MOULDING PLASTIC AND POWDERED SUBSTANCES, [including Bricks, Tiles, and paving blocks, and tiles, and Pottery]" | |
| 88,Music,MUSIC AND MUSICAL INSTRUMENTS | |
| 89,Nails,"NAILS, RIVETS, PINS AND NUTS, SCREWS, AND LIKE FASTENINGS" | |
| 90,Non-metallic elements,NON-METALLIC ELEMENTS | |
| 91,Oils,"OILS, FATS, LUBRICANTS, CANDLES, AND SOAPS" | |
| 92,Ordnance,ORDNANCE AND MACHINE GUNS | |
| 93,Ornamenting,ORNAMENTING | |
| 94,Packing,PACKING AND BALING GOODS | |
| 95,Paints,"PAINTS, COLOURS, AND VARNISHES" | |
| 96,Paper,"PAPER, PASTEBOARD, AND PAPIER MACHE" | |
| 97,Philosophical instruments,"PHILOSOPHICAL INSTRUMENTS, [including Optical, Nautical, Surveying, Mathematical, and Meteorological Instruments]" | |
| 98,Photography,PHOTOGRAPHY | |
| 99,Pipes,"PIPES, TUBES, AND HOSE" | |
| 100,"Printing, letterpress","PRINTING, LETTERPRESS AND LITHOGRAPHIC" | |
| 101,"Printing, other","PRINTING, OTHER THAN LETTERPRESS OR LITHOGRAPHIC" | |
| 102,Pumps,"PUMPS AND OTHER MEANS FOR RAISING AND FORCING LIQUIDS, [excepting Rotary Pumps]" | |
| 103,Railway etc. vehicles,RAILWAY AND TRAMWAY VEHICLES | |
| 104,"Railways, etc.",RAILWAYS AND TRAMWAYS | |
| 105,Railway signals,RAILWAY SIGNALS AND COMMUNICATING-APPARATUS | |
| 106,Registering,"RECORDING, INDICATING, MEASURING, AND CALCULATING, [excepting Signalling and indicating by signals]" | |
| 107,Roads,ROADS AND WAYS | |
| 108,Road vehicles,ROAD VEHICLES | |
| 109,Ropes,ROPES AND CORDS | |
| 110,Rotary engines,"ROTARY ENGINES, PUMPS, BLOWERS, EXHAUSTERS, AND METERS" | |
| 111,Sewage,"SAWS OF, TREATMENT OF, [including Manure]" | |
| 112,Sewing,SEWING AND EMBROIDERING | |
| 113,"Ships, Div I","ANCHORS, ARMOUR, BOATS, BOLLARDS, CABLE STOPPERS, FENDERS, GRAPNELS, LADDERS, LANDING GANGWAYS, LOCKERS, PONTOONS, RAFTS, SEA-CALMING, SHIPS, SHIPS' BERTHS, TORPEDO NETS, WATER VELOCIPEDES" | |
| 114,"Ships, Div II","PROPELLING, STEERING, AND MANOEUVRING" | |
| 115,"Ships, Div III","RIGGING, SAILS, SPARS, AND BOAT RAISING, LOWERING, AND DISENGAGING GEAR" | |
| 116,Shop accessories,"SHOP, PUBLICHOUSE, AND WAREHOUSE FITTINGS AND ACCESSORIES" | |
| 117,Sifting,SIFTING AND SEPARATING | |
| 118,Signalling,"SIGNALLING AND INDICATING BY SIGNALS, [excepting Railway signals and communicating apparatus]" | |
| 119,Small arms,SMALL-ARMS | |
| 120,Spinning,"SPINNING, [including the preparation of fibrous materials and the doubling of yarns and thread]" | |
| 121,Starch,"STARCH, GUM, SIZE, GLUE, AND OTHER STIFFENING AND ADHESIVE MATERIALS" | |
| 122,Steam engines,"STEAM ENGINES, [including Details common to fluid-pressure engines generally]" | |
| 123,Steam generators,"STEAM GENERATORS, [excepting Furnaces]" | |
| 124,Stone,"STONE, MARBLE, AND THE LIKE, CUTTING AND WORKING" | |
| 125,Stoppering,"STOPPERS FOR BOTTLING, [including Bottles, Jars and like vessels]" | |
| 126,Stoves,"STOVES, RANGES, AND FIREPLACES" | |
| 127,Sugar,SUGAR | |
| 128,Table articles,TABLE ARTICLES AND APPLIANCES | |
| 129,Tea,"TEA, COFFEE, COCOA, AND LIKE BEVERAGES" | |
| 130,Tobacco,TOBACCO | |
| 131,Toilet,TOILET AND HAIRDRESSING ARTICLES AND PERFUMERY | |
| 132,Toys,"TOYS, GAMES, AND EXERCISES" | |
| 133,Trunks,"TRUNKS, PORTMANTEAUS, HAND AND LIKE TRAVELLING BAGS, BASKETS, HAMPERS, AND OTHER WICKER-WORK" | |
| 134,Umbrellas,"UMBRELLAS, PARASOLS, AND WALKING-STICKS" | |
| 135,Valves,VALVES AND COCKS | |
| 136,Velocipedes,VELOCIPEDES | |
| 137,Ventilation,VENTILATION | |
| 138,Washing,"WASHING AND CLEANING CLOTHES, DOMESTIC ARTICLES, AND BUILDINGS" | |
| 139,Watches,"WATCHES, CLOCKS, AND OTHER TIMEKEEPERS" | |
| 140,Waterproof fabrics,WATERPROOF AND SIMILAR FABRICS | |
| 141,Wearing apparel,WEARING-APPAREL | |
| 142,Weaving,WEAVING AND WOVEN FABRICS | |
| 143,Weighing apparatus,WEIGHING-APPARATUS | |
| 144,Wheels,"WHEELS FOR VEHICLES, [excepting Wheels for Locomotives and tramway and traction engines; Railway and like vehicles; and Toys]" | |
| 145,Wood,WOOD AND WOOD-WORKING MACHINERY | |
| 146,Writing instruments,"WRITING-INSTRUMENTS AND STATIONERY AND WRITING ACCESSORIES, [including Educational appliances]" |