CoolFace
Modelpublic

MarinaTA/FeverCodeChallenge

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes9downloads
Model Card

FeverCodeChallenge

This model is a fine-tuned version of microsoft/deberta-v3-small on a a simplified version of Amazon 2018, only containing products and their descriptions.

Model description

SequenceClassification to predict amazon product's main category (22 categories):

json
{0: 'All Electronics',
 1: 'Amazon Fashion',
 2: 'Amazon Home',
 3: 'Arts, Crafts & Sewing',
 4: 'Automotive',
 5: 'Books',
 6: 'Camera & Photo',
 7: 'Cell Phones & Accessories',
 8: 'Computers',
 9: 'Digital Music',
 10: 'Grocery',
 11: 'Health & Personal Care',
 12: 'Home Audio & Theater',
 13: 'Industrial & Scientific',
 14: 'Movies & TV',
 15: 'Musical Instruments',
 16: 'Office Products',
 17: 'Pet Supplies',
 18: 'Sports & Outdoors',
 19: 'Tools & Home Improvement',
 20: 'Toys & Games',
 21: 'Video Games'}

Data

Example of a product in the dataset

json
{
 "also_buy": ["B071WSK6R8", "B006K8N5WQ", "B01ASDJLX0", "B00658TPYI"],
 "also_view": [],
 "asin": "B00N31IGPO",
 "brand": "Speed Dealer Customs",
 "category": ["Automotive", "Replacement Parts", "Shocks, Struts & Suspension", "Tie Rod Ends & Parts", "Tie Rod Ends"],
 "description": ["Universal heim joint tie rod weld in tube adapter bung. Made in the USA by Speed Dealer Customs. Tube adapter measurements are as in the title, please contact us about any questions you 
may have."],
 "feature": ["Completely CNC machined 1045 Steel", "Single RH Tube Adapter", "Thread: 3/4-16", "O.D.: 1-1/4", "Fits 1-1/4\" tube with .120\" wall thickness"],
 "image": [],
 "price": "",
 "title": "3/4-16 RH Weld In Threaded Heim Joint Tube Adapter Bung for 1-1/4" Dia by .120 Wall Tube",
 "main_cat": "Automotive"
}

Fields used

  • —[Used for the split] also_buy/also_view: IDs of related products
  • —description: description of the product
  • —feature: bullet point format features of the product
  • —title: name of the product
  • —[label] main_cat: main category of the product

Split of the data

# Samples
Train317662
Validation53890
Test54716

Evaluation results

TESTprecisionrecallf1-scoresupport
00.560.420.485327
10.810.860.831595
20.750.760.762224
30.800.820.811190
40.930.920.932632
50.990.970.984775
60.740.800.771024
70.710.640.671111
80.790.800.809765
90.940.930.94840
100.940.980.961639
110.620.520.56539
120.570.740.643802
130.790.840.812476
140.830.940.88813
150.880.870.873004
160.760.610.682031
170.880.880.88577
180.730.710.721813
190.790.850.823840
200.890.910.903253
210.690.750.72446
accuracy0.7954716
macro avg0.790.800.7954716
weighted avg0.790.790.7954716
VALIDATIONprecisionrecallf1-scoresupport
00.550.320.401034
10.790.850.821747
20.750.780.762273
30.840.880.862982
40.930.920.932236
50.970.980.972893
60.880.760.811335
70.770.740.75837
80.760.730.74790
90.950.960.95839
100.960.980.9713182
110.500.300.37907
120.550.740.64965
130.830.860.852780
140.930.940.931245
150.890.920.91930
160.870.850.863226
170.960.970.962633
180.750.710.732518
190.740.810.772303
200.920.910.926032
210.720.890.79203
accuracy0.8753890
macro avg0.810.810.8153890
weighted avg0.870.870.8753890

Training results

train_runtimetrain_samples_per_secondtrain_steps_per_secondeval_lossepoch
48601.230213.0721.6340.53354640778931322