My local artifical intelligence I had made, named nova learned to call what the user wants after over 2100 steps in training.
Before this nova was calling generic filePaths such as config.json or index.py
Then during training at step 2150 out of 6500 nova's loss reached 4.3397 and the milestone here was nova had officialy fufilled the training prompt:
<tools> - read(filePath): Read contents of a file </tools> User: open main.py Thought: The user wants to read contents of a file, so I should call read from <tools>. Call: {"tool": "read", "args": {"filePath": "main.py"}} <|end Nova's tokens are limited for it's output therefore it could not finish its last call.
When nova runs in opencode nova_bridge.py will convert this format to openai calls instead of novas custom output.
Training is going well so far, the model was given UltraChat, TinyStories, and hermes-function-calling-v1.
So far some hallucinations appeared such as the AI looping "args" or using different filenames but no garbage input has been given.
This model is a tiny 25M model and will be upgraded to 125M and 1B.
Model created with python and ran with pixi.