firqaaa commited on
Commit
75813c0
1 Parent(s): 736fd46

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -45,7 +45,7 @@ from transformers import DPRQuestionEncoder, DPRQuestionEncoderTokenizer
45
 
46
  tokenizer = DPRQuestionEncoderTokenizer.from_pretrained('firqaaa/indo-dpr-question_encoder-multiset-base')
47
  model = DPRQuestionEncoder.from_pretrained('firqaaa/indo-dpr-question_encoder-multiset-base')
48
- input_ids = tokenizer("Siapa nama pengarang manga Yu-Gi-Oh?", return_tensors='pt')["input_ids"]
49
  embeddings = model(input_ids).pooler_output
50
  ```
51
 
 
45
 
46
  tokenizer = DPRQuestionEncoderTokenizer.from_pretrained('firqaaa/indo-dpr-question_encoder-multiset-base')
47
  model = DPRQuestionEncoder.from_pretrained('firqaaa/indo-dpr-question_encoder-multiset-base')
48
+ input_ids = tokenizer("Siapa nama pengarang manga YuGiOh?", return_tensors='pt')["input_ids"]
49
  embeddings = model(input_ids).pooler_output
50
  ```
51