<jupyter_start><jupyter_text>We've copied the code to the `iam` module. Let's test the version imported from there.<jupyter_code>from iam.features_and_letters_only import IAM as IAMTest
iam_test = IAMTest()
iam_test.present_word('WORK')
iam_test.run_cycle()
iam_test.print_active_letters()
iam_test.reset_nodes()
iam_test.present_word('WQRK')
iam_test.run_cycle()
iam_test.print_active_letters()<jupyter_output>letter 1: ['W']
letter 2: ['Q']
letter 3: ['R']
letter 4: ['K']
{'fraction_non_alphanumeric': 0.13291139240506328, 'fraction_numerical': 0.008438818565400843, 'mean_word_length': 8.313725490196079, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '346488', 'license': 'MIT', 'n_tokens_mistral': 189, 'n_tokens_neox': 178, 'n_words': 40, 'path': '01_interactive-activation-model/02_class-for-feature-and-letter-layers.ipynb', 'repo_name': 'kalenkovich/cognitive-models-code', 'size': '474'}