-
Notifications
You must be signed in to change notification settings - Fork 0
model train
GitHub Action edited this page Jul 9, 2026
·
1 revision
void train(std::string input, size_t epochs = 100)Trains the model.
Returns void
| Parameter | Type | Use | Optional |
|---|---|---|---|
input |
std::string |
Corpus | ❌ |
epochs |
size_t |
Epochs | ✅ |
// Calling the train() function
model m();
m.train("Hello, World! My name is Billy Bob Joe and I like cheese!", 12);- AIUsage
- Block
- Embedder
- Introduction
- Layer
- Model
- NeuralNetwork
- PositionalEncoding
- SelfAttention
- Tokenizer
- Utility