The Testing branch is the most up to date
Repo with the Decoder implemented: Attar's Github Repo
Building a transformer neural network using TensorFlow and Transformers in Python with the goal of prediciting Li-ion State of Charge based on real time voltage, current and delta time data.
This transformer is composed of only the encoder layer, and it uses Batch Normalization instead of the Layer Normalization found in NLP. This was done because literature said these two changes proved significantly more effective than the NLP application of transformers.
The transformers' input will be voltage, current, delta time and previous SOC points in a batch of windowed data of shape:
(G.batch_size, G.window_size, G.num_features)
The voltage, current and soc data will be from time:
The output should be the SOC prediction at time (G.batch_size, 1)