learns the best yet

This commit is contained in:
wassname
2023-11-25 05:48:17 +08:00
parent 9155ecca95
commit 8ecdf35bd3
3 changed files with 16 additions and 1 deletions
+3
View File
@@ -16,3 +16,6 @@ watch_latest:
cd *([-1]) && \
cd *([-1]) && \
scripts/play.sh -e -r -h
default:
just --list
+12
View File
@@ -388,3 +388,15 @@ but we have tokens vs z
Questions:
- wait why are we just passing in "action_token" to the transformer and not obs? that must have obs in it right... right??? confirm
- in iris-delta how did they pass everything in? I guess obs_prev was tokenized too? I think the slices are annoying so maybe I should just pass things seperatly
# 2023-11-24 10:56:40
If I unfreeze the whole transformer, it seem to learn the most obvious dynamics (the next latent space is the same as the last).
To summarize
- with Qlora it didn't learn that
- with unfrozen head it didn't
- when training transformer and obs embedding together it did not (frozen llm embeddings)
no it didn't work with tokenizer sep hmm
+1 -1
View File
@@ -149,10 +149,10 @@ class Trainer:
if epoch > cfg_tokenizer.start_after_epochs:
metrics_tokenizer = self.train_component(self.agent.tokenizer, self.optimizer_tokenizer, sequence_length=1, sample_from_start=True, **cfg_tokenizer)
self.agent.tokenizer.eval()
if epoch > cfg_world_model.start_after_epochs:
metrics_world_model = self.train_component(self.agent.world_model, self.optimizer_world_model, sequence_length=self.cfg.common.sequence_length, sample_from_start=True, tokenizer=self.agent.tokenizer, **cfg_world_model)
self.agent.tokenizer.eval()
self.agent.world_model.eval()
if epoch > cfg_actor_critic.start_after_epochs: