alex-abb commited on
Commit
16fd66a
1 Parent(s): 7bc6dcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -5,7 +5,6 @@ from transformers import AutoModelForSequenceClassification, AutoTokenizer, Trai
5
 
6
  model = AutoModelForSequenceClassification.from_pretrained("bert-base-uncased", num_labels=2) # 2 classes : positif et négatif
7
  tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
8
- model = AutoModelForSequenceClassification.from_pretrained(model_name, num_labels=2) # 2 classes : positif et négatif
9
 
10
  ds = load_dataset("stanfordnlp/sst2")
11
 
 
5
 
6
  model = AutoModelForSequenceClassification.from_pretrained("bert-base-uncased", num_labels=2) # 2 classes : positif et négatif
7
  tokenizer = AutoTokenizer.from_pretrained("bert-base-uncased")
 
8
 
9
  ds = load_dataset("stanfordnlp/sst2")
10