itdainb commited on
Commit
2f25700
·
verified ·
1 Parent(s): 0f81abe

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -78,7 +78,7 @@ tokenizer = AutoTokenizer.from_pretrained('itdainb/vietnamese-cross-encoder')
78
 
79
  activation_fct = torch.nn.Identity()
80
 
81
- features = tokenizer(*tokenized_pairs, padding=True, truncation="longest_first", return_tensors="pt", max_length=256)
82
 
83
  model.eval()
84
  with torch.no_grad():
 
78
 
79
  activation_fct = torch.nn.Identity()
80
 
81
+ features = tokenizer(tokenized_pairs, padding=True, truncation="longest_first", return_tensors="pt", max_length=256)
82
 
83
  model.eval()
84
  with torch.no_grad():