Edit model card

Model Card for Model ID

Model Details

Model Description

  • Language(s) (NLP): Russian
  • License: apache-2.0
  • Finetuned from model: ai-forever/ruRoberta-large

Usage

from transformers import AutoTokenizer, AutoModelForSequenceClassification

model = AutoModelForSequenceClassification.from_pretrained("pasukka/auto-parts-term-classifier-v.3")
tokenizer = AutoTokenizer.from_pretrained('ai-forever/ruRoberta-large')

term = 'фильтр топливный'
outputs = model.forward(**tokenizer(term, return_tensors='pt').to(device='cuda'))
id = outputs.logits.argmax(dim=1)[0].item()

print(model.config.id2label[id])

Result:

фильтр

Metrics

image/png

Downloads last month
19
Safetensors
Model size
355M params
Tensor type
F32
·
Inference Examples
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 pasukka/auto-parts-term-classifier-v.3

Finetuned
(12)
this model