HuggingMouse.make_embeddings ============================ .. py:module:: HuggingMouse.make_embeddings Classes ------- .. autoapisummary:: HuggingMouse.make_embeddings.MakeEmbeddings Module Contents --------------- .. py:class:: MakeEmbeddings(processor, model) Experimental stimuli from Allen Brain Observatory are transformed with a HuggingFace Transformer defined at initialization and the resulting embeddings are saved to the cache specified in the HGMS_TRANSF_EMBEDDING_PATH environment variable. .. py:attribute:: allen_cache_path .. py:attribute:: transformer_embedding_cache_path .. py:attribute:: session_A :value: 501704220 .. py:attribute:: session_B :value: 501559087 .. py:attribute:: session_C :value: 501474098 .. py:attribute:: boc .. py:attribute:: raw_data_dct .. py:attribute:: movie_one_dataset .. py:attribute:: movie_two_dataset .. py:attribute:: movie_three_dataset .. py:attribute:: processor .. py:attribute:: model .. py:method:: process_stims(stims) .. py:method:: save_to_cache(embeddings_dct) .. py:method:: execute()