Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vector<vector<int>> ids(1, vector<int>(4, 10));
- std::vector<std::string> sentences(1);
- bpe.decode(ids, &sentences, &ignore_ids);
- cout << bpe.vocab_size() << endl;
- cout << "sentence: " << sentences[0] << endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement