T1DMAI
An open-source project for blood glucose prediction in type 1 diabetes, built on a Transformer with 30,000 parameters. It employs pretraining on synthetic data followed by LoRA fine-tuning, and supports multiple inputs and counterfactual reasoning.
Timeline (last 90 days)
A developer trained a blood glucose prediction model entirely on synthetic data and tested zero-shot performance on real blood glucose data.
The model is an encoder-only Transformer that by default predicts blood glucose trends for the next 2 hours.
The blood glucose prediction model has only 31,251 parameters, configured with 16 layers, 1 attention head per layer, and a hidden dimension of 16.
The model can perform long-horizon predictions in an autoregressive manner, such as 8-hour overnight blood glucose prediction.
The author specifically trained the model's counterfactual reasoning capability, enabling it to answer hypothetical questions about how blood glucose changes after insulin injection or carbohydrate intake.
The charts and data tables shown in the article are all from the base model with no LoRA adapters attached, i.e., purely zero-shot results.
The author fully open-sourced the entire project, including three repositories: the model source code T1DMAI, the simulator source code T1DMSIM, and the Android application source code T1DMDROID.
The project is still a personal experimental project; all results are based on the author's single-user data and should not be directly used for actual blood glucose management decisions.
All Facts (8)
The project is still a personal experimental project; all results are based on the author's single-user data and should not be directly used for actual blood glucose management decisions.
50%UnverifiedThe model is an encoder-only Transformer that by default predicts blood glucose trends for the next 2 hours.
50%UnverifiedThe blood glucose prediction model has only 31,251 parameters, configured with 16 layers, 1 attention head per layer, and a hidden dimension of 16.
50%UnverifiedThe model can perform long-horizon predictions in an autoregressive manner, such as 8-hour overnight blood glucose prediction.
50%UnverifiedThe author specifically trained the model's counterfactual reasoning capability, enabling it to answer hypothetical questions about how blood glucose changes after insulin injection or carbohydrate intake.
50%UnverifiedThe charts and data tables shown in the article are all from the base model with no LoRA adapters attached, i.e., purely zero-shot results.
50%UnverifiedA developer trained a blood glucose prediction model entirely on synthetic data and tested zero-shot performance on real blood glucose data.
50%UnverifiedThe author fully open-sourced the entire project, including three repositories: the model source code T1DMAI, the simulator source code T1DMSIM, and the Android application source code T1DMDROID.
50%