saribasmetehan commited on
Commit
1f3716e
1 Parent(s): 50884c0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -6
README.md CHANGED
@@ -106,17 +106,21 @@ This model is a BERT (bert-base-uncased) model fine-tuned using the Banking77 da
106
  | 74 | why_verify_identity |
107
  | 75 | wrong_amount_of_cash_received |
108
  | 76 | wrong_exchange_rate_for_cash_withdrawal |
109
- Nasıl Eklenir:
110
 
111
- ## Intended uses & limitations
 
 
112
 
113
- More information needed
 
114
 
115
- ## Training and evaluation data
116
 
117
- More information needed
 
 
 
118
 
119
- ## Training procedure
120
 
121
  ### Training hyperparameters
122
 
 
106
  | 74 | why_verify_identity |
107
  | 75 | wrong_amount_of_cash_received |
108
  | 76 | wrong_exchange_rate_for_cash_withdrawal |
 
109
 
110
+ ## Example
111
+ ```markdown
112
+ from transformers import pipeline, AutoTokenizer
113
 
114
+ text = "i forgot my PIN"
115
+ model_id = "saribasmetehan/BERT-BankingClassifier"
116
 
117
+ classifier = pipeline("text-classification", model=model_id)
118
 
119
+ preds = classifier(text)
120
+ print(preds)
121
+
122
+ #[{'label': 'LABEL_27', 'score': 0.9552194476127625}]
123
 
 
124
 
125
  ### Training hyperparameters
126