Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/GDPO
/ functions
Functions
2,091 in github.com/NVlabs/GDPO
⨍
Functions
2,091
◇
Types & classes
346
↳
Endpoints
46
Method
test_kto_trainer_without_providing_ref_model_with_lora
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_kto_trainer.py:247
Method
test_larger_chunks
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:401
Method
test_llava
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:905
Method
test_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
Method
test_long_completion_with_repetition
(self)
trl-GDPO/open-r1/tests/test_rewards.py:401
Method
test_long_completion_without_repetition
(self)
trl-GDPO/open-r1/tests/test_rewards.py:407
Method
test_lora
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_callbacks.py:184
Method
test_lora_train_and_save
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_bco_trainer.py:386
Method
test_loss
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_ddpo_trainer.py:68
Method
test_margin
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_reward_trainer.py:192
Method
test_masked_mean
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_core.py:32
Method
test_masked_var
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_core.py:35
Method
test_masked_whiten
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_core.py:38
Method
test_maybe_apply_chat_template
(self, tokenizer_id, example)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:180
Method
test_maybe_extract_prompt_conversational
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:354
Method
test_maybe_extract_prompt_conversational_already_explicit
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:363
Method
test_maybe_extract_prompt_standard
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:381
Method
test_maybe_extract_prompt_standard_already_explicit
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:390
Method
test_maybe_unpair_preference_dataset
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:272
Method
test_maybe_unpair_preference_dataset_already_paired
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:291
Method
test_maybe_unpair_preference_dataset_dict
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:281
Method
test_maybe_unpair_preference_dataset_dict_already_paired
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:300
Method
test_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
Method
test_mini_batch_generation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:345
Method
test_mixed_case
(self)
trl-GDPO/open-r1/tests/test_rewards.py:339
Method
test_mixed_correctness
Test len_reward with mix of correct and incorrect answers of different lengths.
trl-GDPO/open-r1/tests/test_rewards.py:243
Method
test_mixed_format
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rewards.py:51
Method
test_mixture_and_test_split
Test loading a dataset mixture with test split.
trl-GDPO/open-r1/tests/utils/test_data.py:69
Method
test_mixture_coefficient
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_geometric_mixture_wrapper.py:44
Method
test_mixture_column_selection
Test loading a dataset mixture with column selection.
trl-GDPO/open-r1/tests/utils/test_data.py:85
Method
test_mixture_with_mismatched_columns
(self)
trl-GDPO/open-r1/tests/utils/test_data.py:106
Method
test_more_chunks_than_elements
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:38
Method
test_morph_router
(self)
trl-GDPO/open-r1/tests/slow/test_code_reward.py:141
Method
test_morph_router_parallel
(self)
trl-GDPO/open-r1/tests/slow/test_code_reward.py:156
Method
test_morph_router_run_code_success
(self)
trl-GDPO/open-r1/tests/slow/test_code_reward.py:183
Method
test_morph_router_run_code_with_error
(self)
trl-GDPO/open-r1/tests/slow/test_code_reward.py:200
Method
test_multiline_code
Test format reward with complex multiline code blocks.
trl-GDPO/open-r1/tests/test_rewards.py:553
Method
test_multiple_code_blocks
Test format reward with multiple code blocks in think and answer sections.
trl-GDPO/open-r1/tests/test_rewards.py:520
Method
test_multiple_completions
Test handling multiple completions at once.
trl-GDPO/open-r1/tests/test_rewards.py:139
Method
test_multiple_completions
(self)
trl-GDPO/open-r1/tests/test_rewards.py:313
Method
test_n_equals_len
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:41
Method
test_n_is_1
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:44
Method
test_nash_md
(self, mixtures_coef_list)
trl-GDPO/trl-0.18.0-gdpo/tests/test_trainers_args.py:255
Method
test_nash_md_trainer_judge_training
(self, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_nash_md_trainer.py:197
Method
test_nash_md_trainer_training
(self, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_nash_md_trainer.py:43
Method
test_no_dataset_name_or_mixture
(self)
trl-GDPO/open-r1/tests/utils/test_data.py:122
Method
test_no_packing
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:849
Method
test_no_repetition
(self)
trl-GDPO/open-r1/tests/test_rewards.py:290
Method
test_no_shift_needed
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:477
Method
test_no_shift_needed
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:521
Method
test_no_tensors
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:488
Method
test_no_tensors
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:532
Method
test_non_conversational
(self, example)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:87
Method
test_none_tensor_remains_none
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:97
Method
test_noop_manager_with_offloading
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_activation_offloading.py:80
Method
test_not_conversional
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:549
Method
test_num_samples
(self, mock_stdout)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:588
Method
test_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
Method
test_one_word_completion
(self)
trl-GDPO/open-r1/tests/test_rewards.py:350
Method
test_online_dpo
(self, beta_list)
trl-GDPO/trl-0.18.0-gdpo/tests/test_trainers_args.py:278
Method
test_only_train_packing
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:808
Method
test_optional_fields
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_collators.py:50
Method
test_orpo
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_trainers_args.py:311
Method
test_orpo_trainer
(self, name, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_orpo_trainer.py:49
Method
test_orpo_trainer_with_lora
(self, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_orpo_trainer.py:102
Method
test_output_shape
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_gkd_trainer.py:161
Method
test_pad_1_dim_left
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:51
Method
test_pad_1_dim_right
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:58
Method
test_pad_2_dim_left
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:65
Method
test_pad_2_dim_right
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:77
Method
test_pad_2_dim_right_multidim
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:89
Method
test_pad_to_multiple_of_1
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:101
Method
test_pad_to_multiple_of_2
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:109
Method
test_pad_to_multiple_of_no_extra_padding
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:125
Method
test_pad_to_multiple_of_side_left
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:117
Method
test_padding_behavior
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_collators.py:29
Method
test_padding_free
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_collator_completion_only.py:113
Method
test_padding_free
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:1188
Method
test_pair_rm_judge
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_judges.py:61
Method
test_pair_rm_judge_return_scores
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_judges.py:70
Method
test_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
Method
test_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
Method
test_parse_args_and_config_with_remaining_strings
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli_utils.py:134
Method
test_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
Method
test_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
Method
test_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
Method
test_partial_repetition
(self)
trl-GDPO/open-r1/tests/test_rewards.py:304
Method
test_peft_and_gradient_checkpointing
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:686
Method
test_peft_neftune
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:710
Method
test_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
Method
test_peft_sft_trainer
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:656
Method
test_peft_str
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:633
Method
test_peft_tag
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:761
Method
test_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
Method
test_positive_max_penalty_raises_value_error
(self)
trl-GDPO/open-r1/tests/test_rewards.py:284
Method
test_precompute_ref_batch_size
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:346
Method
test_prepare_inputs_for_generation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_geometric_mixture_wrapper.py:59
Method
test_preprocessing_conversational
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_reward_trainer.py:39
Method
test_preprocessing_standard
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_reward_trainer.py:50
Method
test_print_output
(self, mock_stdout)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:563
← previous
next →
1,701–1,800 of 2,091, ranked by callers