Back to feed
r/MachineLearning
r/MachineLearning
7/31/2026
The original title is "I have trained a model to predict my blood sugar [P]"

The original title is "I have trained a model to predict my blood sugar [P]"

Original: I have trained a model to predict my blood sugar [P]

Short summary

A developer trained an encoder-only BERT-style transformer to predict blood glucose levels 2+ hours ahead using past glucose, carbs, and insulin data. Four model sizes (up to 17M params) were pretrained on simulators and fine-tuned on multiple T1DM datasets, with one variant running on the author's phone. The project is open-sourced under MIT license with trained weights and evaluation data included.

  • Encoder-only transformer predicts future blood glucose from past BG, carbs, and insulin data
  • Four model sizes up to 17M params, fine-tuned on OhioT1DM, AZT1D, and ShanghaiT1DM datasets
  • Open-sourced under MIT license with weights and evaluation data

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more