Non-playing-Character commited on
Commit
80ae514
·
verified ·
1 Parent(s): 31105be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ from transformers import BertTokenizer, BertForSequenceClassification
3
  import torch
4
 
5
  # Load the tokenizer and model
6
- tokenizer = BertTokenizer.from_pretrained('RAGFillerModel1')
7
- model = BertForSequenceClassification.from_pretrained('RAGFillerModel1', num_labels=30)
8
 
9
  # Define the labels
10
  labels = [
 
3
  import torch
4
 
5
  # Load the tokenizer and model
6
+ tokenizer = BertTokenizer.from_pretrained('Non-playing-Character/RAGFiller')
7
+ model = BertForSequenceClassification.from_pretrained('Non-playing-Character/RAGFiller', num_labels=30)
8
 
9
  # Define the labels
10
  labels = [