hplisiecki commited on
Commit
14cf72d
1 Parent(s): efa5b0c

Update README.md

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