<jupyter_start><jupyter_text>Nice smooth dynamics - GM<jupyter_code>epochs = 300
train_interval = 2
updates = 200

opt = Optimizer()
model = Model(num_neurons=1000,dt=0.01)
rs = []
z = []
etas = []

for epoch in range(epochs):
    for update in range(updates):
        
        for step in range(train_interval):
            model.step()
            rs.append(model.r)
            z.append(model.z)
            
        target = Target(model.t)
        model.w_out, error = opt.update(model.w_out,model.r,target)
        etas.append(opt.eta)
        
            
            
plt.imshow(np.asarray(rs).T)
plt.plot(z)
cross_val_z = []
steps = 2000
for i in range(steps):
    model.step()
    cross_val_z.append(model.z)
    
plt.plot(cross_val_z)
plt.plot(etas)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1276864728192162, 'fraction_numerical': 0.022756005056890013, 'mean_word_length': 2.3846153846153846, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '608915', 'license': 'MIT', 'n_tokens_mistral': 311, 'n_tokens_neox': 291, 'n_words': 50, 'path': 'old/notebooks/debugger.ipynb', 'repo_name': 'lstrgar/experimental-rnns', 'size': '791'}