-
Notifications
You must be signed in to change notification settings - Fork 0
tokenizer decode
GitHub Action edited this page Jul 9, 2026
·
1 revision
std::string decode(std::forward_list<int> tokens)Decodes a token list.
Returns an std::string
| Parameter | Type | Use | Optional |
|---|---|---|---|
tokens |
std::forward_list<int> |
Token list | ❌ |
// Calling the decode() function
tokenizer t("bestvocab.txt");
std::cout << t.decode({91, 103, 4364, 1730});- AIUsage
- Block
- Embedder
- Introduction
- Layer
- Model
- NeuralNetwork
- PositionalEncoding
- SelfAttention
- Tokenizer
- Utility