          try:
              with open(self.filename, "rb") as inp:
                  state = self.serializer.unmarshal(inp.read().decode("utf-8"))
                  self.sessions = state.get("sessions", dict())
                  self.lowest_avg_loss = state.get("lowest_avg_loss", dict())
                  self.iterations = state.get("iterations", 0)
                  self.training_size = state.get("training_size", 256)
 
</s> remove                 state = {"sessions": self.sessions,
 </s> add                 state = {"name": self.name,
                         "sessions": self.sessions,
                self.name = state.get("name", self.name)
          try:
              with open(self.filename, "rb") as inp:
                  state = self.serializer.unmarshal(inp.read().decode("utf-8"))
                self.name = state.get("name", self.name)
                  self.sessions = state.get("sessions", dict())
                  self.lowest_avg_loss = state.get("lowest_avg_loss", dict())
                  self.iterations = state.get("iterations", 0)
                  self.training_size = state.get("training_size", 256)
keep keep add keep keep keep keep
 Add model name to state file 
plugins/train/model/_base.py