MCPcopy Create free account

hub / github.com/NVlabs/GDPO / functions

Functions2,091 in github.com/NVlabs/GDPO

Methodtest_kto_trainer_without_providing_ref_model_with_lora
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_kto_trainer.py:247
Methodtest_larger_chunks
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:401
Methodtest_llava
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:905
Methodtest_load_pretrained_peft
r""" Check that the model saved with peft class interface can be loaded properly.
trl-GDPO/trl-0.18.0-gdpo/tests/test_peft_models.py:165
Methodtest_long_completion_with_repetition
(self)
trl-GDPO/open-r1/tests/test_rewards.py:401
Methodtest_long_completion_without_repetition
(self)
trl-GDPO/open-r1/tests/test_rewards.py:407
Methodtest_lora
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_callbacks.py:184
Methodtest_lora_train_and_save
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_bco_trainer.py:386
Methodtest_loss
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_ddpo_trainer.py:68
Methodtest_margin
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_reward_trainer.py:192
Methodtest_masked_mean
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_core.py:32
Methodtest_masked_var
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_core.py:35
Methodtest_masked_whiten
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_core.py:38
Methodtest_maybe_apply_chat_template
(self, tokenizer_id, example)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:180
Methodtest_maybe_extract_prompt_conversational
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:354
Methodtest_maybe_extract_prompt_conversational_already_explicit
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:363
Methodtest_maybe_extract_prompt_standard
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:381
Methodtest_maybe_extract_prompt_standard_already_explicit
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:390
Methodtest_maybe_unpair_preference_dataset
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:272
Methodtest_maybe_unpair_preference_dataset_already_paired
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:291
Methodtest_maybe_unpair_preference_dataset_dict
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:281
Methodtest_maybe_unpair_preference_dataset_dict_already_paired
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:300
Methodtest_min_offload_size
Test that tensors smaller than min_offload_size aren't offloaded
trl-GDPO/trl-0.18.0-gdpo/tests/test_activation_offloading.py:110
Methodtest_mini_batch_generation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:345
Methodtest_mixed_case
(self)
trl-GDPO/open-r1/tests/test_rewards.py:339
Methodtest_mixed_correctness
Test len_reward with mix of correct and incorrect answers of different lengths.
trl-GDPO/open-r1/tests/test_rewards.py:243
Methodtest_mixed_format
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rewards.py:51
Methodtest_mixture_and_test_split
Test loading a dataset mixture with test split.
trl-GDPO/open-r1/tests/utils/test_data.py:69
Methodtest_mixture_coefficient
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_geometric_mixture_wrapper.py:44
Methodtest_mixture_column_selection
Test loading a dataset mixture with column selection.
trl-GDPO/open-r1/tests/utils/test_data.py:85
Methodtest_mixture_with_mismatched_columns
(self)
trl-GDPO/open-r1/tests/utils/test_data.py:106
Methodtest_more_chunks_than_elements
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:38
Methodtest_morph_router
(self)
trl-GDPO/open-r1/tests/slow/test_code_reward.py:141
Methodtest_morph_router_parallel
(self)
trl-GDPO/open-r1/tests/slow/test_code_reward.py:156
Methodtest_morph_router_run_code_success
(self)
trl-GDPO/open-r1/tests/slow/test_code_reward.py:183
Methodtest_morph_router_run_code_with_error
(self)
trl-GDPO/open-r1/tests/slow/test_code_reward.py:200
Methodtest_multiline_code
Test format reward with complex multiline code blocks.
trl-GDPO/open-r1/tests/test_rewards.py:553
Methodtest_multiple_code_blocks
Test format reward with multiple code blocks in think and answer sections.
trl-GDPO/open-r1/tests/test_rewards.py:520
Methodtest_multiple_completions
Test handling multiple completions at once.
trl-GDPO/open-r1/tests/test_rewards.py:139
Methodtest_multiple_completions
(self)
trl-GDPO/open-r1/tests/test_rewards.py:313
Methodtest_n_equals_len
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:41
Methodtest_n_is_1
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:44
Methodtest_nash_md
(self, mixtures_coef_list)
trl-GDPO/trl-0.18.0-gdpo/tests/test_trainers_args.py:255
Methodtest_nash_md_trainer_judge_training
(self, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_nash_md_trainer.py:197
Methodtest_nash_md_trainer_training
(self, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_nash_md_trainer.py:43
Methodtest_no_dataset_name_or_mixture
(self)
trl-GDPO/open-r1/tests/utils/test_data.py:122
Methodtest_no_packing
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:849
Methodtest_no_repetition
(self)
trl-GDPO/open-r1/tests/test_rewards.py:290
Methodtest_no_shift_needed
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:477
Methodtest_no_shift_needed
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:521
Methodtest_no_tensors
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:488
Methodtest_no_tensors
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:532
Methodtest_non_conversational
(self, example)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:87
Methodtest_none_tensor_remains_none
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:97
Methodtest_noop_manager_with_offloading
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_activation_offloading.py:80
Methodtest_not_conversional
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:549
Methodtest_num_samples
(self, mock_stdout)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:588
Methodtest_offloading_with_peft_models
Test that activation offloading works with PEFT models.
trl-GDPO/trl-0.18.0-gdpo/tests/test_activation_offloading.py:33
Methodtest_one_word_completion
(self)
trl-GDPO/open-r1/tests/test_rewards.py:350
Methodtest_online_dpo
(self, beta_list)
trl-GDPO/trl-0.18.0-gdpo/tests/test_trainers_args.py:278
Methodtest_only_train_packing
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:808
Methodtest_optional_fields
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_collators.py:50
Methodtest_orpo
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_trainers_args.py:311
Methodtest_orpo_trainer
(self, name, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_orpo_trainer.py:49
Methodtest_orpo_trainer_with_lora
(self, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_orpo_trainer.py:102
Methodtest_output_shape
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_gkd_trainer.py:161
Methodtest_pad_1_dim_left
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:51
Methodtest_pad_1_dim_right
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:58
Methodtest_pad_2_dim_left
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:65
Methodtest_pad_2_dim_right
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:77
Methodtest_pad_2_dim_right_multidim
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:89
Methodtest_pad_to_multiple_of_1
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:101
Methodtest_pad_to_multiple_of_2
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:109
Methodtest_pad_to_multiple_of_no_extra_padding
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:125
Methodtest_pad_to_multiple_of_side_left
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:117
Methodtest_padding_behavior
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_collators.py:29
Methodtest_padding_free
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_collator_completion_only.py:113
Methodtest_padding_free
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:1188
Methodtest_pair_rm_judge
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_judges.py:61
Methodtest_pair_rm_judge_return_scores
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_judges.py:70
Methodtest_parse_args_and_arg_override_config
Test parse_args_and_config method and check that arguments override the config.
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli_utils.py:75
Methodtest_parse_args_and_config_with_invalid_env
Test parse_args_and_config method when the 'env' field is not a dictionary.
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli_utils.py:93
Methodtest_parse_args_and_config_with_remaining_strings
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli_utils.py:134
Methodtest_parse_args_and_config_with_remaining_strings_in_config_and_args
(self, mock_yaml_load)
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli_utils.py:151
Methodtest_parse_args_and_config_with_valid_config
Test parse_args_and_config method with valid arguments and config.
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli_utils.py:48
Methodtest_parse_args_and_config_without_config
Test parse_args_and_config without the `--config` argument.
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli_utils.py:106
Methodtest_partial_repetition
(self)
trl-GDPO/open-r1/tests/test_rewards.py:304
Methodtest_peft_and_gradient_checkpointing
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:686
Methodtest_peft_neftune
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:710
Methodtest_peft_requires_grad
r""" Check that the value head of the returned model has requires_grad=True.
trl-GDPO/trl-0.18.0-gdpo/tests/test_peft_models.py:55
Methodtest_peft_sft_trainer
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:656
Methodtest_peft_str
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:633
Methodtest_peft_tag
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:761
Methodtest_peft_training
Test PPO training with PEFT configuration and verify model updates.
trl-GDPO/trl-0.18.0-gdpo/tests/test_ppo_trainer.py:114
Methodtest_positive_max_penalty_raises_value_error
(self)
trl-GDPO/open-r1/tests/test_rewards.py:284
Methodtest_precompute_ref_batch_size
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:346
Methodtest_prepare_inputs_for_generation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_geometric_mixture_wrapper.py:59
Methodtest_preprocessing_conversational
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_reward_trainer.py:39
Methodtest_preprocessing_standard
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_reward_trainer.py:50
Methodtest_print_output
(self, mock_stdout)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:563
← previousnext →1,701–1,800 of 2,091, ranked by callers