Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. vector<vector<int>> ids(1, vector<int>(4, 10));
  2. std::vector<std::string> sentences(1);
  3.  
  4. bpe.decode(ids, &sentences, &ignore_ids);
  5.  
  6. cout << bpe.vocab_size() << endl;
  7. cout << "sentence: " << sentences[0] << endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement