<jupyter_start><jupyter_text>SAC on CartPole & Mountain Car This notebook applies our SAC in Cartpole and Mountain Car settings.  Note the first uses discrete, while the second uses continuous  Get the code<jupyter_code>!git clone https://github.com/Lucaskabela/robot-learning-replay.git
%cd /content/robot-learning-replay/src/
LOG_PATH = "/content/robot-learning-replay/src/log_dir"<jupyter_output><empty_output><jupyter_text>Make sure code is up to date<jupyter_code>!git pull<jupyter_output><empty_output><jupyter_text>Set Up TensorBoard<jupyter_code>%load_ext tensorboard
%reload_ext tensorboard
!rm -rf $LOG_PATH
%tensorboard --logdir $LOG_PATH --reload_interval 0.1<jupyter_output><empty_output><jupyter_text>Initialize args, run code!<jupyter_code>!python main.py --log_dir $LOG_PATH -lr 3e-4<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10253317249698432, 'fraction_numerical': 0.0048250904704463205, 'mean_word_length': 7.383838383838384, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '374166', 'license': 'MIT', 'n_tokens_mistral': 298, 'n_tokens_neox': 296, 'n_words': 63, 'path': 'src/notebooks/sac_train.ipynb', 'repo_name': 'Lucaskabela/robot-learning-replay', 'size': '829'}