Orawan commited on
Commit
6b80aca
1 Parent(s): 5f0cb84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,9 +1,8 @@
1
  # Load model directly
2
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
3
 
4
- tokenizer = AutoTokenizer.from_pretrained("zfox/finetuning-sentiment-model-3000-samples")
5
- model = AutoModelForSequenceClassification.from_pretrained("zfox/finetuning-sentiment-model-3000-samples")
6
-
7
  # Use a pipeline as a high-level helper
8
  from transformers import pipeline
9
 
 
1
  # Load model directly
2
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
3
 
4
+ tokenizer = AutoTokenizer.from_pretrained("OatNapat/finetuned_yelp")
5
+ model = AutoModelForSequenceClassification.from_pretrained("OatNapat/finetuned_yelp")
 
6
  # Use a pipeline as a high-level helper
7
  from transformers import pipeline
8