-
Notifications
You must be signed in to change notification settings - Fork 0
model tokenize
GitHub Action edited this page Jul 9, 2026
·
1 revision
std::forward_list<int> tokenize(std::string input)Encodes a string into a list of tokens.
Returns an std::forward_list<int>
| Parameter | Type | Use | Optional |
|---|---|---|---|
input |
std::string |
Input String | ❌ |
// Calling the tokenize() function
model m();
std::forward_list<int> toks = m.tokenize("Hello, World!");- AIUsage
- Block
- Embedder
- Introduction
- Layer
- Model
- NeuralNetwork
- PositionalEncoding
- SelfAttention
- Tokenizer
- Utility