MCPcopy Create free account

hub / github.com/NVlabs/GDPO / functions

Functions2,091 in github.com/NVlabs/GDPO

Methodtest_push_to_hub
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_value_head.py:291
Methodtest_push_to_hub
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_value_head.py:385
Methodtest_python_code_reward
(self)
trl-GDPO/open-r1/tests/slow/test_code_reward.py:27
Methodtest_python_code_reward_morph
(self)
trl-GDPO/open-r1/tests/slow/test_code_reward.py:127
Methodtest_real_hf_model
Test with an actual HuggingFace model
trl-GDPO/trl-0.18.0-gdpo/tests/test_activation_offloading.py:127
Methodtest_reasoning_steps_reward
Test reasoning_steps_reward with various formats.
trl-GDPO/open-r1/tests/test_rewards.py:121
Methodtest_reduction_methods
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_gkd_trainer.py:176
Methodtest_ref_model_is_model
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_online_dpo_trainer.py:101
Methodtest_reset_prefix_cache
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:114
Methodtest_reset_prefix_cache
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:193
Methodtest_reset_prefix_cache
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:256
Methodtest_reset_prefix_cache
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:318
Methodtest_reward
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_trainers_args.py:341
Methodtest_rewards_comparison_task
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:427
Methodtest_rich_progress_callback_logging
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rich_progress_callback.py:44
Methodtest_rloo_checkpoint
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rloo_trainer.py:36
Methodtest_rloo_reward
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rloo_trainer.py:61
Methodtest_rloo_training
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rloo_trainer.py:143
Methodtest_rloo_training_with_custom_reward
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rloo_trainer.py:176
Methodtest_same_length_responses
Test len_reward when all responses have the same length.
trl-GDPO/open-r1/tests/test_rewards.py:207
Methodtest_sampler
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:108
Methodtest_sampler_no_repeat
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:127
Methodtest_sampler_no_shuffle
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:120
Methodtest_sampler_with_batch_size
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:137
Methodtest_sampler_with_batch_size_and_drop
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:149
Methodtest_sampler_with_mini_repeat_count_and_batch_size_1
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:163
Methodtest_sampler_with_mini_repeat_count_and_batch_size_2
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:179
Methodtest_sampler_with_mini_repeat_count_and_batch_size_3
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:197
Methodtest_save_pretrained_peft
r""" Check that the model can be saved and loaded properly.
trl-GDPO/trl-0.18.0-gdpo/tests/test_peft_models.py:126
Methodtest_selective_log_softmax
Test selective_log_softmax with logits of different dtypes
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:541
Methodtest_set_defaults_with_config
Test set_defaults_with_config updates the defaults.
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli_utils.py:121
Methodtest_setup_chat_format
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dataset_formatting.py:125
Methodtest_sft
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli.py:65
Methodtest_sft
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_trainers_args.py:363
Methodtest_sft_config_file
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli.py:73
Methodtest_sft_trainer_peft
Simply tests if passing a transformers model + peft config to `SFTTrainer` loads and runs the trainer as expected.
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_sft_slow.py:126
Methodtest_sft_trainer_str
Simply tests if passing a simple str to `SFTTrainer` loads and runs the trainer as expected.
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_sft_slow.py:67
Methodtest_sft_trainer_transformers
Simply tests if passing a transformers model to `SFTTrainer` loads and runs the trainer as expected.
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_sft_slow.py:93
Methodtest_sft_trainer_transformers_mp
Simply tests if passing a transformers model to `SFTTrainer` loads and runs the trainer as expected in mixed precision.
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_sft_slow.py:162
Methodtest_sft_trainer_transformers_mp_gc
Simply tests if passing a transformers model to `SFTTrainer` loads and runs the trainer as expected in mixed precision + different sc
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_sft_slow.py:195
Methodtest_sft_trainer_transformers_mp_gc_device_map
Simply tests if passing a transformers model to `SFTTrainer` loads and runs the trainer as expected in mixed precision + different sc
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_sft_slow.py:272
Methodtest_sft_trainer_transformers_mp_gc_peft
Simply tests if passing a transformers model + PEFT to `SFTTrainer` loads and runs the trainer as expected in mixed precision + diffe
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_sft_slow.py:231
Methodtest_sft_trainer_transformers_mp_gc_peft_qlora
Simply tests if passing a transformers model + PEFT + bnb to `SFTTrainer` loads and runs the trainer as expected in mixed precision +
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_sft_slow.py:311
Methodtest_sft_trainer_with_chat_format_qlora
Simply tests if using setup_chat_format with a transformers model + peft + bnb config to `SFTTrainer` loads and runs the trainer as e
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_sft_slow.py:353
Methodtest_sft_trainer_with_liger
Tests if passing use_liger=True to SFTConfig loads and runs the trainer with AutoLigerKernelForCausalLM as expected.
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_sft_slow.py:396
Methodtest_sft_trainer_with_model_num_train_epochs
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:367
Methodtest_shared_layers
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_value_head.py:470
Methodtest_shuffle_consistent_across_tensors
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:75
Methodtest_shuffle_preserves_shape
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:65
Methodtest_single_batch_generation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:364
Methodtest_single_element_list
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:47
Methodtest_single_row
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:466
Methodtest_single_row
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:510
Methodtest_six_word_completion_with_repetition
(self)
trl-GDPO/open-r1/tests/test_rewards.py:394
Methodtest_skip_prepare_dataset
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:869
Methodtest_skip_prepare_dataset_with_no_packing
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:886
Methodtest_smaller_chunks
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:414
Methodtest_soft_judge
Test that the soft judge functionality works correctly
trl-GDPO/trl-0.18.0-gdpo/tests/test_callbacks.py:140
Methodtest_soft_overlong_punishment_intermediate_completion
Test soft overlong punishment reward function for intermediate length completion.
trl-GDPO/open-r1/tests/test_rewards.py:477
Methodtest_soft_overlong_punishment_long_completion
Test soft overlong punishment reward function with a longer than max completion.
trl-GDPO/open-r1/tests/test_rewards.py:469
Methodtest_soft_overlong_punishment_short_completion
Test soft overlong punishment reward function with a short completion.
trl-GDPO/open-r1/tests/test_rewards.py:461
Methodtest_split_equal_chunks
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:37
Methodtest_subparsers_multiple_with_config_defaults
Test that config defaults are applied to all subparsers.
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli_utils.py:218
Methodtest_subparsers_with_config_defaults
Test that config defaults are applied to all subparsers.
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli_utils.py:169
Methodtest_subparsers_with_config_defaults_and_arg_override
Test that config defaults are applied to all subparsers.
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli_utils.py:195
Methodtest_symmetry
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_gkd_trainer.py:189
Methodtest_tag
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:789
Methodtest_tag_count_rewards_all_correct
Test tag_count_reward with correct tags.
trl-GDPO/open-r1/tests/test_rewards.py:414
Methodtest_tag_count_rewards_missing_all_tags
Test tag_count_reward with missing all tags.
trl-GDPO/open-r1/tests/test_rewards.py:444
Methodtest_tag_count_rewards_missing_answer_begin
Test tag_count_reward with missing <answer> tag.
trl-GDPO/open-r1/tests/test_rewards.py:432
Methodtest_tag_count_rewards_missing_answer_end
Test tag_count_reward with missing </answer> tag.
trl-GDPO/open-r1/tests/test_rewards.py:438
Methodtest_tag_count_rewards_missing_think_begin
Test tag_count_reward with missing <think> tag.
trl-GDPO/open-r1/tests/test_rewards.py:420
Methodtest_tag_count_rewards_missing_think_end
Test tag_count_reward with missing </think> tag.
trl-GDPO/open-r1/tests/test_rewards.py:426
Methodtest_tags
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:353
Methodtest_tags
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_reward_trainer.py:228
Methodtest_temperature_scaling
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_gkd_trainer.py:171
Methodtest_text_environment_compute_rewards
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:232
Methodtest_text_environment_generate
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:119
Methodtest_text_environment_max_calls
(self, mock_generate)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:202
Methodtest_text_environment_run
(self, mock_generate)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:248
Methodtest_text_environment_setup
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:106
Methodtest_text_environment_tool_call_parsing
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:142
Methodtest_text_environment_tool_truncation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:176
Methodtest_text_history_append_segment
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:48
Methodtest_text_history_complete
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:63
Methodtest_text_history_init
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:36
Methodtest_text_history_last_segment
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:75
Methodtest_text_history_split_query_response
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:83
Methodtest_three_word_completion
(self)
trl-GDPO/open-r1/tests/test_rewards.py:364
Methodtest_three_word_repetition_completion
(self)
trl-GDPO/open-r1/tests/test_rewards.py:371
Methodtest_token_classification_task
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:385
Methodtest_token_classification_task_with_ignored_tokens_0
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:399
Methodtest_token_classification_task_with_ignored_tokens_1
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:413
Methodtest_tokenize_and_process_tokens
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_kto_trainer.py:124
Methodtest_tokenize_and_process_tokens
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_bco_trainer.py:168
Methodtest_tokenize_row_completion_truncation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:140
Methodtest_tokenize_row_multi_token_separator
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:196
Methodtest_tokenize_row_no_truncation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:57
Methodtest_tokenize_row_no_truncation_no_special_tokens
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:66
Methodtest_tokenize_row_prompt_completion_truncation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:168
← previousnext →1,801–1,900 of 2,091, ranked by callers