Edit model card

cmd_product_matcher_steel

This model is a fine-tuned version of microsoft/deberta-v3-xsmall on product aliases, edits, BoL data history and additional data.

Evaluation Results

Overall Metrics

  • Loss: 0.0838
  • Accuracy: 0.9800
  • Macro F1 Score: 0.9627
  • Weighted F1 Score: 0.9800
  • Macro Precision: 0.9605
  • Macro Recall: 0.9649

Per-Class Metrics

ClassPrecisionRecallF1-scoreSupport
Irrelevant0.98300.97150.977266024
Scrap0.89210.87690.88442291
Steel Bars/Billets0.98180.98960.985714903
Steel Beams0.95020.98540.96752731
Steel Coils0.98740.98580.986630880
Steel Pipes0.98520.99370.989558042
Steel Plate0.94620.95120.94877748
Steel Rods0.95000.96410.95706760
Steel Slab0.96880.96630.9676772
Accuracy: 0.9800

Confusion Matrix

Confusion Matrix

Usage

from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("cmd_product_matcher_steel")
model = AutoModelForSequenceClassification.from_pretrained("cmd_product_matcher_steel")

# Example usage
text = "STEEL BARS ASTM 4959, 23,000 MT"
inputs = tokenizer(text, return_tensors="pt")
outputs = model(**inputs)
predictions = outputs.logits.argmax(-1)
Downloads last month
0
Safetensors
Model size
70.8M params
Tensor type
FP16
·
Inference API
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for pbaath/cmd_product_matcher_steel

Finetuned
this model