<jupyter_start><jupyter_text>Load exisiting quantizer and a pre-trained qnet<jupyter_code>quantizer = Quantizer()
quantizer.load_quantizer_states('quantizer.pkl')

qnet_orchestrator = QnetOrchestrator(quantizer)
qnet_orchestrator.load_qnet('biome_net.joblib')<jupyter_output><empty_output><jupyter_text>Export dotfiles<jupyter_code>qnet_orchestrator.export_qnet_tree_dotfiles(outdirname)<jupyter_output><empty_output><jupyter_text>Inspect a dotfile<jupyter_code>!dot -Tpng dotfiles/Actinobacteriota_14.dot -o dotfiles/Actinobacteriota_14.png
Image('dotfiles/Actinobacteriota_14.png')
# !rm dotfiles/*.png<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10410094637223975, 'fraction_numerical': 0.00946372239747634, 'mean_word_length': 14.119047619047619, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '160795', 'license': 'MIT', 'n_tokens_mistral': 255, 'n_tokens_neox': 248, 'n_words': 22, 'path': 'examples/export_dotfiles.ipynb', 'repo_name': 'zeroknowledgediscovery/qbiome', 'size': '634'}