the beginning of the implementation of Vulkan
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user