hplisiecki commited on
Commit
0aa9258
1 Parent(s): a930bd6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -48,7 +48,7 @@ model_directory = "word2affect_spanish" # path to the cloned repository
48
  model = CustomModel.from_pretrained(model_directory)
49
  tokenizer = BertTokenizer.from_pretrained(model_directory)
50
 
51
- inputs = tokenizer("This is a test input.", return_tensors="pt")
52
  outputs = model(inputs['input_ids'], inputs['attention_mask'])
53
 
54
  # Print out the emotion ratings
 
48
  model = CustomModel.from_pretrained(model_directory)
49
  tokenizer = BertTokenizer.from_pretrained(model_directory)
50
 
51
+ inputs = tokenizer("test", return_tensors="pt")
52
  outputs = model(inputs['input_ids'], inputs['attention_mask'])
53
 
54
  # Print out the emotion ratings