Downloads · 30 days
22
16% of all-time downloads
cagrickr/turkish-voice-banking-nlp
turkish-voice-banking-nlp is a text classification model from cagrickr. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
👉 https://huggingface.co/spaces/cagrickr/banking-voice-demo
Downloads · 30 days
22
16% of all-time downloads
All-time downloads
136
Public
Parameters
111M
443 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors443 MB · 100%
From the Hugging Face model README
👉 https://huggingface.co/spaces/cagrickr/banking-voice-demo
This model is an intent classification system designed to understand Turkish banking commands.
🎯 Purpose:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
model_name = "cagrickr/turkish-voice-banking-nlp"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
text = "Show my balance"
inputs = tokenizer(text, return_tensors="pt")
with torch.no_grad():
outputs = model(**inputs)
pred = torch.argmax(outputs.logits, dim=1).item()
print(pred)
You can try the live demo here:
👉 https://huggingface.co/spaces/cagrickr/banking-voice-demo