Downloads · 30 days
3
6% of all-time downloads
ikramknd/dziribert-ecommerce-intent-detection
dziribert-ecommerce-intent-detection is a machine learning model from ikramknd. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of alger-ia/dziribert for multi-label intent detection in e-commerce customer service conversations.
Downloads · 30 days
3
6% of all-time downloads
All-time downloads
49
Public
Parameters
124M
996 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors498 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of alger-ia/dziribert for multi-label intent detection in e-commerce customer service conversations.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
model_name = "ikramknd/dziribert-ecommerce-intent-detection"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
# Example
text = "مرحبًا، كم سعر هذا المنتج؟"
inputs = tokenizer(text, return_tensors="pt", truncation=True, padding=True)
outputs = model(**inputs)
probs = torch.sigmoid(outputs.logits)