« All posts

I Have Trained a Model to Predict My Blood Sugar

Learn about a transformer model designed to predict blood glucose levels.

An encoder-only transformer model predicts future blood glucose levels based on past and future inputs, including carbs and insulin. The model has a variable context size and can operate in autoregressive mode. Four model classes and three variants were trained, with the largest model containing approximately 17 million parameters. The project is shared for feedback and further improvement.