hplisiecki commited on
Commit
ff880f5
1 Parent(s): 1c72acf

Update README.md

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