Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adapter-hub/adapters
/ functions
Functions
1,559 in github.com/adapter-hub/adapters
⨍
Functions
1,559
◇
Types & classes
451
↳
Endpoints
1
Method
test_merging_with_other_adapters
(self)
tests/test_methods/test_on_custom_interface.py:87
Method
test_merging_with_other_adapters
(self)
tests/test_methods/method_test_impl/peft/test_lora.py:21
Method
test_mixed_stack
(self)
tests/test_misc/test_adapter_composition.py:122
Method
test_model_adapter_summary
(self)
tests/test_methods/method_test_impl/peft/test_adapter_common.py:298
Method
test_model_config_serialization
PretrainedConfigurations should not raise an Exception when serializing the config dict See, e.g., PretrainedConfig.to_json_string()
tests/test_methods/method_test_impl/peft/test_adapter_common.py:281
Method
test_model_config_serialization_fusion
PretrainedConfigurations should not raise an Exception when serializing the config dict See, e.g., PretrainedConfig.to_json_string()
tests/test_methods/method_test_impl/core/test_adapter_fusion_common.py:148
Method
test_model_with_heads_multiple_heads
(self)
tests/test_misc/test_adapter_save_id2label.py:94
Method
test_model_with_heads_tagging_head_labels
(self)
tests/test_misc/test_adapter_save_id2label.py:68
Method
test_mtl_forward
(self, adapter_config=adapter_config, tasks=tasks)
tests/test_methods/method_test_impl/composition/test_multi_task.py:336
Method
test_mtl_forward_mtl_lora
(self)
tests/test_methods/test_on_gpt2.py:23
Method
test_mtl_forward_mtl_lora
(self)
tests/test_methods/test_on_deberta.py:25
Method
test_mtl_train
( self, adapter_config=adapter_config, tasks=tasks,
tests/test_methods/method_test_impl/composition/test_multi_task.py:348
Method
test_mtl_train_mtl_lora
(self)
tests/test_methods/test_on_gpt2.py:26
Method
test_mtl_train_mtl_lora
(self)
tests/test_methods/test_on_deberta.py:28
Method
test_mtllora_gradient_checkpointing_single_adapter
(self)
tests/test_methods/method_test_impl/peft/test_mtllora.py:72
Method
test_multi_task_learning
(self)
tests/test_misc/test_adapter_composition.py:168
Method
test_multiple_choice_head
(self)
tests/test_methods/method_test_impl/heads/test_adapter_heads.py:90
Method
test_multiple_heads_label
(self)
tests/test_misc/test_adapter_save_id2label.py:80
Method
test_nested_batch_split_1
(self)
tests/test_misc/test_adapter_composition.py:211
Method
test_nested_batch_split_2
(self)
tests/test_misc/test_adapter_composition.py:219
Method
test_nested_parallel
(self)
tests/test_misc/test_adapter_composition.py:156
Method
test_nested_split
(self)
tests/test_misc/test_adapter_composition.py:134
Method
test_num_layers_is_small
(self)
tests/test_models/test_beit_model.py:14
Method
test_output_adapter_fusion_attentions
(self)
tests/test_methods/test_on_encoder_decoder.py:62
Method
test_output_adapter_fusion_attentions
(self)
tests/test_methods/method_test_impl/core/test_adapter_fusion_common.py:195
Method
test_output_adapter_gating_scores_unipelt
(self)
tests/test_methods/test_on_encoder_decoder.py:58
Method
test_output_adapter_gating_scores_unipelt
(self)
tests/test_methods/method_test_impl/peft/test_unipelt.py:44
Method
test_parallel
(self)
tests/test_misc/test_adapter_composition.py:144
Method
test_parallel_generate
(self, max_new_tokens=32)
tests/test_methods/method_test_impl/composition/test_parallel.py:119
Method
test_parallel_inference_with_heads
(self)
tests/test_methods/method_test_impl/composition/test_parallel.py:26
Method
test_parallel_inference_with_wrong_number_of_heads
(self)
tests/test_methods/method_test_impl/composition/test_parallel.py:59
Method
test_parallel_training_bottleneck
(self)
tests/test_methods/method_test_impl/composition/test_parallel.py:258
Method
test_parallel_training_equivalent_to_single_bottleneck
(self)
tests/test_methods/method_test_impl/composition/test_parallel.py:267
Method
test_parallel_training_equivalent_to_single_prefix_tuning
(self)
tests/test_methods/method_test_impl/composition/test_parallel.py:270
Method
test_parallel_training_lora
(self)
tests/test_methods/test_on_gpt2.py:20
Method
test_parallel_training_lora
(self)
tests/test_methods/test_on_deberta.py:22
Method
test_parallel_training_lora
(self)
tests/test_methods/test_on_whisper.py:25
Method
test_parallel_training_lora
(self)
tests/test_methods/test_on_mbart.py:23
Method
test_parallel_training_lora
(self)
tests/test_methods/method_test_impl/composition/test_parallel.py:261
Method
test_parallel_training_prefix_tuning
(self)
tests/test_methods/method_test_impl/composition/test_parallel.py:264
Method
test_parallel_training_single_forward_pass
(self)
tests/test_methods/method_test_impl/composition/test_parallel.py:273
Method
test_parse_lists
(self)
tests/test_misc/test_adapter_composition.py:14
Method
test_prefix_tuning_generate
(self)
tests/test_methods/method_test_impl/peft/test_prefix_tuning.py:79
Method
test_prefix_tuning_gradient_checkpointing_single_adapter
(self)
tests/test_methods/method_test_impl/peft/test_prefix_tuning.py:82
Method
test_prompt_tuning_forward
Test that prompt tuning forward pass works.
tests/test_methods/test_all_custom_interfaces.py:233
Method
test_prompt_tuning_gradient_checkpointing_single_adapter
(self)
tests/test_methods/method_test_impl/peft/test_prompt_tuning.py:39
Method
test_qa_head
(self)
tests/test_methods/method_test_impl/heads/test_adapter_heads.py:121
Method
test_quantized_training
(self, config)
tests/test_misc/test_adapter_trainer/test_adapter_trainer.py:546
Method
test_reduction_factor_no_default
(self)
tests/test_methods/method_test_impl/peft/test_adapter_common.py:230
Method
test_reference_embedding
(self)
tests/test_methods/method_test_impl/embeddings/test_adapter_embeddings.py:145
Method
test_reft_forward
Test that reft forward pass works.
tests/test_methods/test_all_custom_interfaces.py:241
Method
test_reft_generate
(self)
tests/test_methods/method_test_impl/peft/test_reft.py:80
Method
test_reft_gradient_checkpointing_single_adapter
(self)
tests/test_methods/method_test_impl/peft/test_reft.py:83
Method
test_reload_static_to_flex_head
(self)
tests/test_methods/method_test_impl/heads/test_adapter_heads.py:366
Method
test_reloading_prediction_head
(self)
tests/test_misc/test_adapter_trainer/test_adapter_trainer.py:324
Method
test_reset_Dora_with_DoRA
(self)
tests/test_methods/method_test_impl/peft/test_dora.py:390
Method
test_reset_Dora_with_DvoRA
(self)
tests/test_methods/method_test_impl/peft/test_dora.py:435
Method
test_reset_Dora_with_LoRA
(self)
tests/test_methods/method_test_impl/peft/test_dora.py:52
Method
test_reset_Dora_with_Vera
(self)
tests/test_methods/method_test_impl/peft/test_dora.py:345
Method
test_reset_Vera
(self)
tests/test_methods/method_test_impl/peft/test_vera.py:49
Method
test_reset_ia3
(self)
tests/test_methods/method_test_impl/peft/test_ia3.py:45
Method
test_reset_lora
(self)
tests/test_methods/method_test_impl/peft/test_lora.py:322
Method
test_resume_training
(self)
tests/test_misc/test_adapter_trainer/test_adapter_trainer.py:38
Method
test_resume_training_invalid_checkpoint
(self)
tests/test_misc/test_adapter_trainer/test_adapter_trainer.py:92
Method
test_resume_training_with_fusion
(self)
tests/test_misc/test_adapter_trainer/test_adapter_trainer.py:138
Method
test_run_clm_adapter
(self)
examples/pytorch/test_adapter_examples.py:177
Method
test_run_fusion_glue
(self)
examples/pytorch/test_adapter_examples.py:89
Method
test_run_glue_adapters
(self)
examples/pytorch/test_adapter_examples.py:60
Method
test_run_mlm_adapter
(self)
examples/pytorch/test_adapter_examples.py:212
Method
test_run_ner_adapter
(self)
examples/pytorch/test_adapter_examples.py:331
Method
test_run_seq2seq
(self)
tests/test_misc/test_adapter_trainer/test_adapter_trainer_ext.py:148
Method
test_run_seq2seq_apex
(self)
tests/test_misc/test_adapter_trainer/test_adapter_trainer_ext.py:108
Method
test_run_seq2seq_bnb
(self)
tests/test_misc/test_adapter_trainer/test_adapter_trainer_ext.py:175
Method
test_run_seq2seq_ddp
(self)
tests/test_misc/test_adapter_trainer/test_adapter_trainer_ext.py:103
Method
test_run_seq2seq_dp
(self)
tests/test_misc/test_adapter_trainer/test_adapter_trainer_ext.py:98
Method
test_run_seq2seq_no_dist
(self)
tests/test_misc/test_adapter_trainer/test_adapter_trainer_ext.py:93
Method
test_run_squad_adapters
(self)
examples/pytorch/test_adapter_examples.py:119
Method
test_run_summarization_adapter
(self)
examples/pytorch/test_adapter_examples.py:265
Method
test_run_swag_adapter
(self)
examples/pytorch/test_adapter_examples.py:149
Method
test_run_translation_adapter
(self)
examples/pytorch/test_adapter_examples.py:298
Method
test_run_udp_adapter
(self)
examples/pytorch/test_adapter_examples.py:368
Method
test_safetensors_adapter
(self)
tests/test_misc/test_adapter_safetensors.py:37
Method
test_safetensors_adapter_fusion
(self)
tests/test_misc/test_adapter_safetensors.py:111
Method
test_safetensors_head
(self)
tests/test_misc/test_adapter_safetensors.py:77
Method
test_same_weights_after_adding_adapter
(self)
tests/test_methods/method_test_impl/peft/test_compacter.py:55
Method
test_same_weights_after_adding_adapter
(self)
tests/test_methods/method_test_impl/peft/test_adapter_common.py:565
Method
test_same_weights_after_adding_adapter
(self)
tests/test_methods/method_test_impl/peft/test_prompt_tuning.py:42
Method
test_same_weights_after_adding_adapter
(self)
tests/test_methods/method_test_impl/peft/test_dora.py:58
Method
test_same_weights_after_adding_adapter
(self)
tests/test_methods/method_test_impl/peft/test_lora.py:328
Method
test_same_weights_after_adding_adapter
(self)
tests/test_methods/method_test_impl/peft/test_prefix_tuning.py:85
Method
test_same_weights_after_adding_adapter
(self)
tests/test_methods/method_test_impl/peft/test_ia3.py:51
Method
test_same_weights_after_adding_adapter
(self)
tests/test_methods/method_test_impl/peft/test_vera.py:55
Method
test_same_weights_after_adding_adapter
(self)
tests/test_methods/method_test_impl/peft/test_reft.py:86
Method
test_save_all_adapters_with_head
(self)
tests/test_methods/method_test_impl/heads/test_adapter_heads.py:469
Method
test_save_load_custom_head
(self)
tests/test_misc/test_adapter_custom_head.py:47
Method
test_save_load_embedding
(self)
tests/test_methods/method_test_impl/embeddings/test_adapter_embeddings.py:47
Method
test_save_version_with_adapter
(self)
tests/test_methods/method_test_impl/core/test_adapter_backward_compability.py:40
Method
test_seq2seq_lm_head
(self)
tests/test_methods/method_test_impl/heads/test_adapter_heads.py:162
Method
test_sequ_classification_model_head_labels
(self)
tests/test_misc/test_adapter_save_id2label.py:58
Method
test_share_parameters
( self, adapter_config=adapter_config, tasks=tasks,
tests/test_methods/method_test_impl/composition/test_multi_task.py:282
← previous
next →
1,401–1,500 of 1,559, ranked by callers