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_push_to_hub
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_value_head.py:291
Method
test_push_to_hub
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_value_head.py:385
Method
test_python_code_reward
(self)
trl-GDPO/open-r1/tests/slow/test_code_reward.py:27
Method
test_python_code_reward_morph
(self)
trl-GDPO/open-r1/tests/slow/test_code_reward.py:127
Method
test_real_hf_model
Test with an actual HuggingFace model
trl-GDPO/trl-0.18.0-gdpo/tests/test_activation_offloading.py:127
Method
test_reasoning_steps_reward
Test reasoning_steps_reward with various formats.
trl-GDPO/open-r1/tests/test_rewards.py:121
Method
test_reduction_methods
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_gkd_trainer.py:176
Method
test_ref_model_is_model
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_online_dpo_trainer.py:101
Method
test_reset_prefix_cache
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:114
Method
test_reset_prefix_cache
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:193
Method
test_reset_prefix_cache
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:256
Method
test_reset_prefix_cache
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:318
Method
test_reward
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_trainers_args.py:341
Method
test_rewards_comparison_task
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:427
Method
test_rich_progress_callback_logging
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rich_progress_callback.py:44
Method
test_rloo_checkpoint
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rloo_trainer.py:36
Method
test_rloo_reward
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rloo_trainer.py:61
Method
test_rloo_training
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rloo_trainer.py:143
Method
test_rloo_training_with_custom_reward
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rloo_trainer.py:176
Method
test_same_length_responses
Test len_reward when all responses have the same length.
trl-GDPO/open-r1/tests/test_rewards.py:207
Method
test_sampler
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:108
Method
test_sampler_no_repeat
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:127
Method
test_sampler_no_shuffle
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:120
Method
test_sampler_with_batch_size
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:137
Method
test_sampler_with_batch_size_and_drop
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:149
Method
test_sampler_with_mini_repeat_count_and_batch_size_1
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:163
Method
test_sampler_with_mini_repeat_count_and_batch_size_2
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:179
Method
test_sampler_with_mini_repeat_count_and_batch_size_3
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:197
Method
test_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
Method
test_selective_log_softmax
Test selective_log_softmax with logits of different dtypes
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:541
Method
test_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
Method
test_setup_chat_format
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dataset_formatting.py:125
Method
test_sft
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli.py:65
Method
test_sft
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_trainers_args.py:363
Method
test_sft_config_file
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_cli.py:73
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_sft_trainer_with_model_num_train_epochs
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:367
Method
test_shared_layers
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_value_head.py:470
Method
test_shuffle_consistent_across_tensors
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:75
Method
test_shuffle_preserves_shape
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:65
Method
test_single_batch_generation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:364
Method
test_single_element_list
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:47
Method
test_single_row
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:466
Method
test_single_row
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:510
Method
test_six_word_completion_with_repetition
(self)
trl-GDPO/open-r1/tests/test_rewards.py:394
Method
test_skip_prepare_dataset
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:869
Method
test_skip_prepare_dataset_with_no_packing
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:886
Method
test_smaller_chunks
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:414
Method
test_soft_judge
Test that the soft judge functionality works correctly
trl-GDPO/trl-0.18.0-gdpo/tests/test_callbacks.py:140
Method
test_soft_overlong_punishment_intermediate_completion
Test soft overlong punishment reward function for intermediate length completion.
trl-GDPO/open-r1/tests/test_rewards.py:477
Method
test_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
Method
test_soft_overlong_punishment_short_completion
Test soft overlong punishment reward function with a short completion.
trl-GDPO/open-r1/tests/test_rewards.py:461
Method
test_split_equal_chunks
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:37
Method
test_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
Method
test_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
Method
test_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
Method
test_symmetry
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_gkd_trainer.py:189
Method
test_tag
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:789
Method
test_tag_count_rewards_all_correct
Test tag_count_reward with correct tags.
trl-GDPO/open-r1/tests/test_rewards.py:414
Method
test_tag_count_rewards_missing_all_tags
Test tag_count_reward with missing all tags.
trl-GDPO/open-r1/tests/test_rewards.py:444
Method
test_tag_count_rewards_missing_answer_begin
Test tag_count_reward with missing <answer> tag.
trl-GDPO/open-r1/tests/test_rewards.py:432
Method
test_tag_count_rewards_missing_answer_end
Test tag_count_reward with missing </answer> tag.
trl-GDPO/open-r1/tests/test_rewards.py:438
Method
test_tag_count_rewards_missing_think_begin
Test tag_count_reward with missing <think> tag.
trl-GDPO/open-r1/tests/test_rewards.py:420
Method
test_tag_count_rewards_missing_think_end
Test tag_count_reward with missing </think> tag.
trl-GDPO/open-r1/tests/test_rewards.py:426
Method
test_tags
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:353
Method
test_tags
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_reward_trainer.py:228
Method
test_temperature_scaling
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_gkd_trainer.py:171
Method
test_text_environment_compute_rewards
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:232
Method
test_text_environment_generate
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:119
Method
test_text_environment_max_calls
(self, mock_generate)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:202
Method
test_text_environment_run
(self, mock_generate)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:248
Method
test_text_environment_setup
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:106
Method
test_text_environment_tool_call_parsing
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:142
Method
test_text_environment_tool_truncation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:176
Method
test_text_history_append_segment
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:48
Method
test_text_history_complete
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:63
Method
test_text_history_init
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:36
Method
test_text_history_last_segment
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:75
Method
test_text_history_split_query_response
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_environments.py:83
Method
test_three_word_completion
(self)
trl-GDPO/open-r1/tests/test_rewards.py:364
Method
test_three_word_repetition_completion
(self)
trl-GDPO/open-r1/tests/test_rewards.py:371
Method
test_token_classification_task
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:385
Method
test_token_classification_task_with_ignored_tokens_0
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:399
Method
test_token_classification_task_with_ignored_tokens_1
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:413
Method
test_tokenize_and_process_tokens
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_kto_trainer.py:124
Method
test_tokenize_and_process_tokens
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_bco_trainer.py:168
Method
test_tokenize_row_completion_truncation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:140
Method
test_tokenize_row_multi_token_separator
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:196
Method
test_tokenize_row_no_truncation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:57
Method
test_tokenize_row_no_truncation_no_special_tokens
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:66
Method
test_tokenize_row_prompt_completion_truncation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:168
← previous
next →
1,801–1,900 of 2,091, ranked by callers