samyak152002 commited on
Commit
4946849
·
1 Parent(s): 0cf557d

Update script

Browse files
Files changed (1) hide show
  1. script +1 -1
script CHANGED
@@ -3,7 +3,7 @@ from transformers import DistilBertTokenizer, DistilBertModel
3
 
4
  # Load the tokenizer and model
5
  tokenizer = DistilBertTokenizer.from_pretrained("tokenizer_config.json")
6
- model = DistilBertModel.from_pretrained("pytorch_model.bin")
7
 
8
  # Define the inference function
9
  def predict(text):
 
3
 
4
  # Load the tokenizer and model
5
  tokenizer = DistilBertTokenizer.from_pretrained("tokenizer_config.json")
6
+ model = DistilBertModel.from_pretrained("model.pt")
7
 
8
  # Define the inference function
9
  def predict(text):