anilguven/turkish_product_reviews_sentiment
Viewer • Updated • 243k • 31
How to use anilguven/distilbert_tr_turkish_product_reviews with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="anilguven/distilbert_tr_turkish_product_reviews") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("anilguven/distilbert_tr_turkish_product_reviews")
model = AutoModelForSequenceClassification.from_pretrained("anilguven/distilbert_tr_turkish_product_reviews", device_map="auto")This model was developed/finetuned for product review task for Turkish Language. Model was finetuned via hepsiburada.com product review dataset.
You must apply removing stopwords, stemming, or lemmatization process for Turkish.