the beginning of the implementation of Vulkan

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-30 01:35:29 +07:00
parent 1a05d3a6d9
commit 8abdea6b77
9 changed files with 320 additions and 21 deletions
+7 -3
View File
@@ -10,6 +10,8 @@
#include "Xenith/token/token.hpp"
#include <chrono>
std::string currentSystemPrompt = "";
LayerStructure_t layers[] = {
@@ -113,7 +115,7 @@ int main() {
int numLayers = sizeof(layers) / sizeof(layers[0]);
NeuralNetwork nn(layers, numLayers);
NeuralNetwork nn(layers, numLayers, true);
while (true) {
std::cout << "xentith~$ ";
@@ -187,8 +189,10 @@ int main() {
std::getline(std::cin, currentSystemPrompt);
std::cout << "System Prompt updated!" << std::endl;
}
else if (cmdIn == "/help") {
} else if (cmdIn == "/trainVulkan") {
nn.trainVulkan();
} else if (cmdIn == "/help") {
std::cout << "\n--- MENU ---" << std::endl;
std::cout << "/train\n/trainFile\n/sysPrompt\n/help\n/exit\n";