mamkit.configs package#
Submodules#
mamkit.configs.audio module#
- class mamkit.configs.audio.BiLSTMMFCCsConfig(mfccs, lstm_weights, head, num_classes, sampling_rate=16000, dropout_rate=0.1, pooling_sizes=None, normalize=True, remove_energy=True, **kwargs)#
Bases:
BaseConfig
- configs: Dict[ConfigKey, str] = {ukdebates:InputMode.AUDIO_ONLY:asd:{'mancini-et-al-2022'}: 'ukdebates_asd_mancini_2022', ukdebates:InputMode.AUDIO_ONLY:asd:{'anonymous'}: 'ukdebates_asd_anonymous', mmused:InputMode.AUDIO_ONLY:asd:{'mancini-et-al-2022'}: 'mmused_asd_mancini_2022', mmused:InputMode.AUDIO_ONLY:asd:{'anonymous'}: 'mmused_asd_anonymous', mmused:InputMode.AUDIO_ONLY:acc:{'mancini-et-al-2022'}: 'mmused_acc_mancini_2022', mmused:InputMode.AUDIO_ONLY:acc:{'anonymous'}: 'mmused_acc_anonymous', marg:InputMode.AUDIO_ONLY:arc:{'mancini-et-al-2022'}: 'marg_arc_mancini_2022', marg:InputMode.AUDIO_ONLY:arc:{'anonymous'}: 'marg_arc_anonymous', mmused-fallacy:InputMode.AUDIO_ONLY:afc:{'anonymous'}: 'mmused_fallacy_afc_anonymous'}#
- classmethod marg_arc_anonymous()#
- classmethod marg_mancini_2022()#
- classmethod mmused_acc_anonymous()#
- classmethod mmused_acc_mancini_2022()#
- classmethod mmused_asd_anonymous()#
- classmethod mmused_asd_mancini_2022()#
- classmethod mmused_fallacy_afc_anonymous()#
- classmethod ukdebates_asd_anonymous()#
- classmethod ukdebates_asd_mancini_2022()#
- class mamkit.configs.audio.BiLSTMTransformerConfig(model_card, embedding_dim, sampling_rate, lstm_weights, head, dropout_rate, num_classes, aggregate=False, downsampling_factor=None, processor_args=None, model_args=None, **kwargs)#
Bases:
BaseConfig
- configs: Dict[ConfigKey, str] = {ukdebates:InputMode.AUDIO_ONLY:asd:{'anonymous'}: 'ukdebates_asd_anonymous', ukdebates:InputMode.AUDIO_ONLY:asd:{'anonymous', 'hubert'}: 'ukdebates_asd_hubert_anonymous', ukdebates:InputMode.AUDIO_ONLY:asd:{'anonymous', 'wavlm'}: 'ukdebates_asd_wavlm_anonymous', ukdebates:InputMode.AUDIO_ONLY:asd:{'mancini-et-al-2022'}: 'ukdebates_asd_mancini_2022', marg:InputMode.AUDIO_ONLY:arc:{'mancini-et-al-2022'}: 'marg_arc_mancini_2022', marg:InputMode.AUDIO_ONLY:arc:{'anonymous'}: 'marg_arc_anonymous', marg:InputMode.AUDIO_ONLY:arc:{'anonymous', 'hubert'}: 'marg_arc_hubert_anonymous', marg:InputMode.AUDIO_ONLY:arc:{'anonymous', 'wavlm'}: 'marg_arc_wavlm_anonymous', mmused:InputMode.AUDIO_ONLY:asd:{'mancini-et-al-2022'}: 'mmused_asd_mancini_2022', mmused:InputMode.AUDIO_ONLY:asd:{'anonymous'}: 'mmused_asd_anonymous', mmused:InputMode.AUDIO_ONLY:asd:{'anonymous', 'hubert'}: 'mmused_asd_hubert_anonymous', mmused:InputMode.AUDIO_ONLY:asd:{'anonymous', 'wavlm'}: 'mmused_asd_wavlm_anonymous', mmused:InputMode.AUDIO_ONLY:acc:{'mancini-et-al-2022'}: 'mmused_acc_mancini_2022', mmused:InputMode.AUDIO_ONLY:acc:{'anonymous'}: 'mmused_acc_anonymous', mmused:InputMode.AUDIO_ONLY:acc:{'anonymous', 'hubert'}: 'mmused_acc_hubert_anonymous', mmused:InputMode.AUDIO_ONLY:acc:{'anonymous', 'wavlm'}: 'mmused_acc_wavlm_anonymous', mmused-fallacy:InputMode.AUDIO_ONLY:afc:{'anonymous'}: 'mmused_fallacy_afc_anonymous', mmused-fallacy:InputMode.AUDIO_ONLY:afc:{'anonymous', 'hubert'}: 'mmused_fallacy_afc_hubert_anonymous', mmused-fallacy:InputMode.AUDIO_ONLY:afc:{'anonymous', 'wavlm'}: 'mmused_fallacy_afc_wavlm_anonymous'}#
- classmethod marg_arc_anonymous()#
- classmethod marg_arc_hubert_anonymous()#
- classmethod marg_arc_wavlm_anonymous()#
- classmethod marg_mancini_2022()#
- classmethod mmused_acc_anonymous()#
- classmethod mmused_acc_hubert_anonymous()#
- classmethod mmused_acc_mancini_2022()#
- classmethod mmused_acc_wavlm_anonymous()#
- classmethod mmused_asd_anonymous()#
- classmethod mmused_asd_hubert_anonymous()#
- classmethod mmused_asd_mancini_2022()#
- classmethod mmused_asd_wavlm_anonymous()#
- classmethod mmused_fallacy_afc_anonymous()#
- classmethod mmused_fallacy_afc_hubert_anonymous()#
- classmethod mmused_fallacy_afc_wavlm_anonymous()#
- classmethod ukdebates_asd_anonymous()#
- classmethod ukdebates_asd_hubert_anonymous()#
- classmethod ukdebates_asd_mancini_2022()#
- classmethod ukdebates_asd_wavlm_anonymous()#
- class mamkit.configs.audio.TransformerEncoderConfig(model_card, embedding_dim, encoder, head, num_classes, dropout_rate=0.0, processor_args=None, model_args=None, downsampling_factor=None, aggregate=False, sampling_rate=16000, **kwargs)#
Bases:
BaseConfig
- configs: Dict[ConfigKey, str] = {ukdebates:InputMode.AUDIO_ONLY:asd:{'anonymous'}: 'ukdebates_asd_anonymous', ukdebates:InputMode.AUDIO_ONLY:asd:{'anonymous', 'hubert'}: 'ukdebates_asd_hubert_anonymous', ukdebates:InputMode.AUDIO_ONLY:asd:{'anonymous', 'wavlm'}: 'ukdebates_asd_wavlm_anonymous', mmused:InputMode.AUDIO_ONLY:asd:{'anonymous'}: 'mmused_asd_anonymous', mmused:InputMode.AUDIO_ONLY:asd:{'anonymous', 'hubert'}: 'mmused_asd_hubert_anonymous', mmused:InputMode.AUDIO_ONLY:asd:{'anonymous', 'wavlm'}: 'mmused_asd_wavlm_anonymous', mmused:InputMode.AUDIO_ONLY:acc:{'anonymous'}: 'mmused_acc_anonymous', mmused:InputMode.AUDIO_ONLY:acc:{'anonymous', 'hubert'}: 'mmused_acc_hubert_anonymous', mmused:InputMode.AUDIO_ONLY:acc:{'anonymous', 'wavlm'}: 'mmused_acc_wavlm_anonymous', marg:InputMode.AUDIO_ONLY:arc:{'anonymous'}: 'marg_arc_anonymous', marg:InputMode.AUDIO_ONLY:arc:{'anonymous', 'hubert'}: 'marg_arc_hubert_anonymous', marg:InputMode.AUDIO_ONLY:arc:{'anonymous', 'wavlm'}: 'marg_arc_wavlm_anonymous', mmused-fallacy:InputMode.AUDIO_ONLY:afc:{'anonymous'}: 'mmused_fallacy_afc_anonymous', mmused-fallacy:InputMode.AUDIO_ONLY:afc:{'anonymous', 'hubert'}: 'mmused_fallacy_afc_hubert_anonymous', mmused-fallacy:InputMode.AUDIO_ONLY:afc:{'anonymous', 'wavlm'}: 'mmused_fallacy_afc_wavlm_anonymous'}#
- classmethod marg_arc_anonymous()#
- classmethod marg_arc_hubert_anonymous()#
- classmethod marg_arc_wavlm_anonymous()#
- classmethod mmused_acc_anonymous()#
- classmethod mmused_acc_hubert_anonymous()#
- classmethod mmused_acc_wavlm_anonymous()#
- classmethod mmused_asd_anonymous()#
- classmethod mmused_asd_hubert_anonymous()#
- classmethod mmused_asd_wavlm_anonymous()#
- classmethod mmused_fallacy_afc_anonymous()#
- classmethod mmused_fallacy_afc_hubert_anonymous()#
- classmethod mmused_fallacy_afc_wavlm_anonymous()#
- classmethod ukdebates_asd_anonymous()#
- classmethod ukdebates_asd_hubert_anonymous()#
- classmethod ukdebates_asd_wavlm_anonymous()#
mamkit.configs.base module#
- class mamkit.configs.base.BaseConfig(seeds, optimizer=<class 'torch.optim.adam.Adam'>, batch_size=8, loss_function=<function BaseConfig.<lambda>>, optimizer_args=None)#
Bases:
object
- classmethod add_config(key, constructor)#
- classmethod from_config(key)#
- Return type:
~C
- class mamkit.configs.base.ConfigKey(dataset, input_mode, task_name, tags)#
Bases:
object
Compound key used for configurations.
mamkit.configs.text module#
- class mamkit.configs.text.BiLSTMConfig(embedding_dim, lstm_weights, head, dropout_rate, num_classes, tokenizer, tokenization_args=None, embedding_model=None, **kwargs)#
Bases:
BaseConfig
- configs: Dict[ConfigKey, str] = {ukdebates:InputMode.TEXT_ONLY:asd:{'anonymous'}: 'ukdebates_asd_anonymous', ukdebates:InputMode.TEXT_ONLY:asd:{'mancini-et-al-2022'}: 'ukdebates_asd_mancini_2022', mmused:InputMode.TEXT_ONLY:asd:{'mancini-et-al-2022'}: 'mmused_asd_mancini_2022', mmused:InputMode.TEXT_ONLY:asd:{'anonymous'}: 'mmused_asd_anonymous', mmused:InputMode.TEXT_ONLY:acc:{'mancini-et-al-2022'}: 'mmused_acc_mancini_2022', mmused:InputMode.TEXT_ONLY:acc:{'anonymous'}: 'mmused_acc_anonymous', marg:InputMode.TEXT_ONLY:arc:{'mancini-et-al-2022'}: 'marg_arc_mancini_2022', marg:InputMode.TEXT_ONLY:arc:{'anonymous'}: 'marg_arc_anonymous', mmused-fallacy:InputMode.TEXT_ONLY:afc:{'anonymous'}: 'mmused_fallacy_afc_anonymous'}#
- classmethod marg_arc_anonymous()#
- classmethod marg_arc_mancini_2022()#
- classmethod mmused_acc_anonymous()#
- classmethod mmused_acc_mancini_2022()#
- classmethod mmused_asd_anonymous()#
- classmethod mmused_asd_mancini_2022()#
- classmethod mmused_fallacy_afc_anonymous()#
- classmethod ukdebates_asd_anonymous()#
- classmethod ukdebates_asd_mancini_2022()#
- class mamkit.configs.text.TransformerConfig(model_card, head, num_classes, dropout_rate=0.0, is_transformer_trainable=False, tokenizer_args=None, **kwargs)#
Bases:
BaseConfig
- configs: Dict[ConfigKey, str] = {ukdebates:InputMode.TEXT_ONLY:asd:{'anonymous', 'bert'}: 'ukdebates_asd_bert_anonymous', ukdebates:InputMode.TEXT_ONLY:asd:{'anonymous', 'roberta'}: 'ukdebates_asd_roberta_anonymous', ukdebates:InputMode.TEXT_ONLY:asd:{'mancini-et-al-2022'}: 'ukdebates_asd_mancini_2022', mmused:InputMode.TEXT_ONLY:asd:{'anonymous', 'bert'}: 'mmused_asd_bert_anonymous', mmused:InputMode.TEXT_ONLY:asd:{'anonymous', 'roberta'}: 'mmused_asd_roberta_anonymous', mmused-fallacy:InputMode.TEXT_ONLY:afc:{'bert', 'mancini-et-al-2024'}: 'mmused_fallacy_afc_bert_mancini_2024', mmused-fallacy:InputMode.TEXT_ONLY:afc:{'roberta', 'mancini-et-al-2024'}: 'mmused_fallacy_afc_roberta_mancini_2024', mmused-fallacy:InputMode.TEXT_ONLY:afc:{'anonymous', 'bert'}: 'mmused_fallacy_afc_bert_anonymous', mmused-fallacy:InputMode.TEXT_ONLY:afc:{'anonymous', 'roberta'}: 'mmused_fallacy_afc_roberta_anonymous', mmused:InputMode.TEXT_ONLY:acc:{'anonymous', 'bert'}: 'mmused_acc_bert_anonymous', mmused:InputMode.TEXT_ONLY:acc:{'anonymous', 'roberta'}: 'mmused_acc_roberta_anonymous', marg:InputMode.TEXT_ONLY:arc:{'anonymous', 'bert'}: 'marg_arc_bert_anonymous', marg:InputMode.TEXT_ONLY:arc:{'anonymous', 'roberta'}: 'marg_arc_roberta_anonymous'}#
- classmethod marg_arc_bert_anonymous()#
- classmethod marg_arc_roberta_anonymous()#
- classmethod mmused_acc_bert_anonymous()#
- classmethod mmused_acc_roberta_anonymous()#
- classmethod mmused_asd_bert_anonymous()#
- classmethod mmused_asd_roberta_anonymous()#
- classmethod mmused_fallacy_afc_bert_anonymous()#
- classmethod mmused_fallacy_afc_bert_mancini_2024()#
- classmethod mmused_fallacy_afc_roberta_anonymous()#
- classmethod mmused_fallacy_afc_roberta_mancini_2024()#
- classmethod ukdebates_asd_bert_anonymous()#
- classmethod ukdebates_asd_mancini_2022()#
- classmethod ukdebates_asd_roberta_anonymous()#
mamkit.configs.text_audio module#
- class mamkit.configs.text_audio.BiLSTMMFCCsConfig(text_embedding_dim, text_lstm_weights, mfccs, audio_lstm_weights, head, num_classes, tokenizer, tokenization_args=None, embedding_model=None, sampling_rate=16000, text_dropout_rate=0.1, audio_dropout_rate=0.1, pooling_sizes=None, normalize=True, remove_energy=True, **kwargs)#
Bases:
BaseConfig
- configs: Dict[ConfigKey, str] = {ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous'}: 'ukdebates_asd_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous'}: 'mmused_asd_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous'}: 'mmused_acc_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous'}: 'marg_arc_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous'}: 'mmused_fallacy_afc_anonymous'}#
- classmethod marg_arc_anonymous()#
- classmethod mmused_acc_anonymous()#
- classmethod mmused_asd_anonymous()#
- classmethod mmused_fallacy_afc_anonymous()#
- classmethod ukdebates_asd_anonymous()#
- class mamkit.configs.text_audio.BiLSTMTransformerConfig(text_embedding_dim, text_lstm_weights, audio_embedding_dim, audio_lstm_weights, head, num_classes, tokenizer, audio_model_card, sampling_rate, downsampling_factor=None, audio_model_args=None, aggregate=False, processor_args=None, tokenization_args=None, embedding_model=None, text_dropout_rate=0.0, audio_dropout_rate=0.0, **kwargs)#
Bases:
BaseConfig
- configs: Dict[ConfigKey, str] = {ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous'}: 'ukdebates_asd_anonymous', ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'hubert'}: 'ukdebates_asd_hubert_anonymous', ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'wavlm'}: 'ukdebates_asd_wavlm_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous'}: 'mmused_asd_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'hubert'}: 'mmused_asd_hubert_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'wavlm'}: 'mmused_asd_wavlm_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous'}: 'mmused_acc_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'hubert'}: 'mmused_acc_hubert_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'wavlm'}: 'mmused_acc_wavlm_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous'}: 'marg_arc_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'hubert'}: 'marg_arc_hubert_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'wavlm'}: 'marg_arc_wavlm_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous'}: 'mmused_fallacy_afc_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'hubert'}: 'mmused_fallacy_afc_hubert_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'wavlm'}: 'mmused_fallacy_afc_wavlm_anonymous'}#
- classmethod marg_arc_anonymous()#
- classmethod marg_arc_hubert_anonymous()#
- classmethod marg_arc_wavlm_anonymous()#
- classmethod mmused_acc_anonymous()#
- classmethod mmused_acc_hubert_anonymous()#
- classmethod mmused_acc_wavlm_anonymous()#
- classmethod mmused_asd_anonymous()#
- classmethod mmused_asd_hubert_anonymous()#
- classmethod mmused_asd_wavlm_anonymous()#
- classmethod mmused_fallacy_afc_anonymous()#
- classmethod mmused_fallacy_afc_hubert_anonymous()#
- classmethod mmused_fallacy_afc_wavlm_anonymous()#
- classmethod ukdebates_asd_anonymous()#
- classmethod ukdebates_asd_hubert_anonymous()#
- classmethod ukdebates_asd_wavlm_anonymous()#
- class mamkit.configs.text_audio.CSAConfig(text_model_card, audio_model_card, transformer, head, positional_encoder, sampling_rate, num_classes, aggregate=False, downsampling_factor=None, processor_args=None, audio_model_args=None, tokenizer_args=None, text_model_args=None, text_dropout_rate=0.1, audio_dropout_rate=0.1, **kwargs)#
Bases:
BaseConfig
- configs: Dict[ConfigKey, str] = {ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous'}: 'ukdebates_asd_anonymous', ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'hubert'}: 'ukdebates_asd_hubert_anonymous', ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'wavlm'}: 'ukdebates_asd_wavlm_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous'}: 'mmused_asd_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'hubert'}: 'mmused_asd_hubert_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'wavlm'}: 'mmused_asd_wavlm_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous'}: 'mmused_acc_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'hubert'}: 'mmused_acc_hubert_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'wavlm'}: 'mmused_acc_wavlm_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous'}: 'mmused_fallacy_afc_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'hubert'}: 'mmused_fallacy_afc_hubert_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'wavlm'}: 'mmused_fallacy_afc_wavlm_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous'}: 'marg_arc_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'hubert'}: 'marg_arc_hubert_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'wavlm'}: 'marg_arc_wavlm_anonymous'}#
- classmethod marg_arc_anonymous()#
- classmethod marg_arc_hubert_anonymous()#
- classmethod marg_arc_wavlm_anonymous()#
- classmethod mmused_acc_anonymous()#
- classmethod mmused_acc_hubert_anonymous()#
- classmethod mmused_acc_wavlm_anonymous()#
- classmethod mmused_asd_anonymous()#
- classmethod mmused_asd_hubert_anonymous()#
- classmethod mmused_asd_wavlm_anonymous()#
- classmethod mmused_fallacy_afc_anonymous()#
- classmethod mmused_fallacy_afc_hubert_anonymous()#
- classmethod mmused_fallacy_afc_wavlm_anonymous()#
- classmethod ukdebates_asd_anonymous()#
- classmethod ukdebates_asd_hubert_anonymous()#
- classmethod ukdebates_asd_wavlm_anonymous()#
- class mamkit.configs.text_audio.EnsembleConfig(text_model_card, audio_model_card, audio_encoder, text_head, audio_head, sampling_rate, audio_embedding_dim, positional_encoder, num_classes, audio_dropout_rate=0.0, text_dropout_rate=0.0, aggregate=False, downsampling_factor=None, processor_args=None, audio_model_args=None, tokenizer_args=None, text_model_args=None, lower_bound=0.3, upper_bound=0.7, **kwargs)#
Bases:
BaseConfig
- configs: Dict[ConfigKey, str] = {ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous'}: 'ukdebates_asd_anonymous', ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'hubert'}: 'ukdebates_asd_hubert_anonymous', ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'wavlm'}: 'ukdebates_asd_wavlm_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous'}: 'mmused_asd_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'hubert'}: 'mmused_asd_hubert_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'wavlm'}: 'mmused_asd_wavlm_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous'}: 'mmused_acc_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'hubert'}: 'mmused_acc_hubert_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'wavlm'}: 'mmused_acc_wavlm_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous'}: 'mmused_fallacy_afc_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'hubert'}: 'mmused_fallacy_afc_hubert_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'wavlm'}: 'mmused_fallacy_afc_wavlm_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous'}: 'marg_arc_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'hubert'}: 'marg_arc_hubert_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'wavlm'}: 'marg_arc_wavlm_anonymous'}#
- classmethod marg_arc_anonymous()#
- classmethod marg_arc_hubert_anonymous()#
- classmethod marg_arc_wavlm_anonymous()#
- classmethod mmused_acc_anonymous()#
- classmethod mmused_acc_hubert_anonymous()#
- classmethod mmused_acc_wavlm_anonymous()#
- classmethod mmused_asd_anonymous()#
- classmethod mmused_asd_hubert_anonymous()#
- classmethod mmused_asd_wavlm_anonymous()#
- classmethod mmused_fallacy_afc_anonymous()#
- classmethod mmused_fallacy_afc_hubert_anonymous()#
- classmethod mmused_fallacy_afc_wavlm_anonymous()#
- classmethod ukdebates_asd_anonymous()#
- classmethod ukdebates_asd_hubert_anonymous()#
- classmethod ukdebates_asd_wavlm_anonymous()#
- class mamkit.configs.text_audio.MMTransformerConfig(text_model_card, audio_model_card, text_embedding_dim, audio_embedding_dim, sampling_rate, lstm_weights, head, num_classes, text_dropout_rate=0.0, audio_dropout_rate=0.0, aggregate=False, downsampling_factor=None, processor_args=None, audio_model_args=None, is_transformer_trainable=False, tokenizer_args=None, **kwargs)#
Bases:
BaseConfig
- configs: Dict[ConfigKey, str] = {ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'bert', 'wav2vec'}: 'ukdebates_asd_bert_wav2vec_anonymous', ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'bert', 'clap'}: 'ukdebates_asd_bert_clap_anonymous', ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'roberta', 'wav2vec'}: 'ukdebates_asd_roberta_wav2vec_anonymous', ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'roberta', 'hubert'}: 'ukdebates_asd_roberta_hubert_anonymous', ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'roberta', 'wavlm'}: 'ukdebates_asd_roberta_wavlm_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'bert', 'wav2vec'}: 'mmused_asd_bert_wav2vec_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'bert', 'hubert'}: 'mmused_asd_bert_hubert_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'bert', 'wavlm'}: 'mmused_asd_bert_wavlm_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'roberta', 'wav2vec'}: 'mmused_asd_roberta_wav2vec_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'roberta', 'hubert'}: 'mmused_asd_roberta_hubert_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'roberta', 'wavlm'}: 'mmused_asd_roberta_wavlm_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'bert', 'wav2vec'}: 'mmused_acc_bert_wav2vec_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'bert', 'hubert'}: 'mmused_acc_bert_hubert_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'bert', 'wavlm'}: 'mmused_acc_bert_wavlm_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'roberta', 'wav2vec'}: 'mmused_acc_roberta_wav2vec_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'roberta', 'hubert'}: 'mmused_acc_roberta_hubert_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'roberta', 'wavlm'}: 'mmused_acc_roberta_wavlm_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'bert', 'wav2vec'}: 'mmused_fallacy_afc_bert_wav2vec_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'bert', 'hubert'}: 'mmused_fallacy_afc_bert_hubert_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'bert', 'wavlm'}: 'mmused_fallacy_afc_bert_wavlm_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'roberta', 'wav2vec'}: 'mmused_fallacy_afc_roberta_wav2vec_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'roberta', 'hubert'}: 'mmused_fallacy_afc_roberta_hubert_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'roberta', 'wavlm'}: 'mmused_fallacy_afc_roberta_wavlm_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'bert', 'wav2vec'}: 'marg_arc_bert_wav2vec_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'bert', 'hubert'}: 'marg_arc_bert_hubert_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'bert', 'wavlm'}: 'marg_arc_bert_wavlm_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'roberta', 'wav2vec'}: 'marg_arc_roberta_wav2vec_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'roberta', 'hubert'}: 'marg_arc_roberta_hubert_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'roberta', 'wavlm'}: 'marg_arc_roberta_wavlm_anonymous'}#
- classmethod marg_arc_bert_hubert_anonymous()#
- classmethod marg_arc_bert_wav2vec_anonymous()#
- classmethod marg_arc_bert_wavlm_anonymous()#
- classmethod marg_arc_roberta_hubert_anonymous()#
- classmethod marg_arc_roberta_wav2vec_anonymous()#
- classmethod marg_arc_roberta_wavlm_anonymous()#
- classmethod mmused_acc_bert_hubert_anonymous()#
- classmethod mmused_acc_bert_wav2vec_anonymous()#
- classmethod mmused_acc_bert_wavlm_anonymous()#
- classmethod mmused_acc_roberta_hubert_anonymous()#
- classmethod mmused_acc_roberta_wav2vec_anonymous()#
- classmethod mmused_acc_roberta_wavlm_anonymous()#
- classmethod mmused_asd_bert_hubert_anonymous()#
- classmethod mmused_asd_bert_wav2vec_anonymous()#
- classmethod mmused_asd_bert_wavlm_anonymous()#
- classmethod mmused_asd_roberta_hubert_anonymous()#
- classmethod mmused_asd_roberta_wav2vec_anonymous()#
- classmethod mmused_asd_roberta_wavlm_anonymous()#
- classmethod mmused_fallacy_afc_bert_hubert_anonymous()#
- classmethod mmused_fallacy_afc_bert_wav2vec_anonymous()#
- classmethod mmused_fallacy_afc_bert_wavlm_anonymous()#
- classmethod mmused_fallacy_afc_roberta_hubert_anonymous()#
- classmethod mmused_fallacy_afc_roberta_wav2vec_anonymous()#
- classmethod mmused_fallacy_afc_roberta_wavlm_anonymous()#
- classmethod ukdebates_asd_bert_hubert_anonymous()#
- classmethod ukdebates_asd_bert_wav2vec_anonymous()#
- classmethod ukdebates_asd_bert_wavlm_anonymous()#
- classmethod ukdebates_asd_roberta_hubert_anonymous()#
- classmethod ukdebates_asd_roberta_wav2vec_anonymous()#
- classmethod ukdebates_asd_roberta_wavlm_anonymous()#
- class mamkit.configs.text_audio.MulTAConfig(text_model_card, audio_model_card, head, audio_embedding_dim, text_embedding_dim, d_ffn, n_blocks, sampling_rate, positional_encoder, num_classes, audio_dropout_rate=0.0, text_dropout_rate=0.0, aggregate=False, downsampling_factor=None, processor_args=None, audio_model_args=None, tokenizer_args=None, text_model_args=None, **kwargs)#
Bases:
BaseConfig
- configs: Dict[ConfigKey, str] = {ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous'}: 'ukdebates_asd_anonymous', ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'hubert'}: 'ukdebates_asd_hubert_anonymous', ukdebates:InputMode.TEXT_AUDIO:asd:{'anonymous', 'wavlm'}: 'ukdebates_asd_wavlm_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous'}: 'mmused_asd_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'hubert'}: 'mmused_asd_hubert_anonymous', mmused:InputMode.TEXT_AUDIO:asd:{'anonymous', 'wavlm'}: 'mmused_asd_wavlm_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous'}: 'mmused_acc_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'hubert'}: 'mmused_acc_hubert_anonymous', mmused:InputMode.TEXT_AUDIO:acc:{'anonymous', 'wavlm'}: 'mmused_acc_wavlm_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous'}: 'mmused_fallacy_afc_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'hubert'}: 'mmused_fallacy_afc_hubert_anonymous', mmused-fallacy:InputMode.TEXT_AUDIO:afc:{'anonymous', 'wavlm'}: 'mmused_fallacy_afc_wavlm_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous'}: 'marg_arc_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'hubert'}: 'marg_arc_hubert_anonymous', marg:InputMode.TEXT_AUDIO:arc:{'anonymous', 'wavlm'}: 'marg_arc_wavlm_anonymous'}#
- classmethod marg_arc_anonymous()#
- classmethod marg_arc_hubert_anonymous()#
- classmethod marg_arc_wavlm_anonymous()#
- classmethod mmused_acc_anonymous()#
- classmethod mmused_acc_hubert_anonymous()#
- classmethod mmused_acc_wavlm_anonymous()#
- classmethod mmused_asd_anonymous()#
- classmethod mmused_asd_hubert_anonymous()#
- classmethod mmused_asd_wavlm_anonymous()#
- classmethod mmused_fallacy_afc_anonymous()#
- classmethod mmused_fallacy_afc_hubert_anonymous()#
- classmethod mmused_fallacy_afc_wavlm_anonymous()#
- classmethod ukdebates_asd_anonymous()#
- classmethod ukdebates_asd_hubert_anonymous()#
- classmethod ukdebates_asd_wavlm_anonymous()#