MCPcopy Create free account

hub / github.com/NVlabs/GDPO / functions

Functions2,091 in github.com/NVlabs/GDPO

Methodtest_tokenize_row_prompt_truncation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:112
Methodtest_tokenize_row_train_on_last_step_only
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:85
Methodtest_tokenize_row_with_special_tokens
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:112
Methodtest_tokenize_row_with_truncation
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:89
Methodtest_tokenize_row_with_truncation_and_special_tokens
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:135
Methodtest_torch_dtype
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:946
Methodtest_tr_dpo_trainer
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:496
Methodtest_train
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:966
Methodtest_train
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:173
Methodtest_train
(self, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_bco_trainer.py:40
Methodtest_train_eval
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_bco_trainer.py:115
Methodtest_train_full
(self, train_on_last_step_only)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:232
Methodtest_train_full
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_reward_trainer.py:62
Methodtest_train_full_pretokenized
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:253
Methodtest_train_full_pretokenized
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_reward_trainer.py:79
Methodtest_train_lora
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_prm_trainer.py:308
Methodtest_train_lora
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_reward_trainer.py:99
Methodtest_train_lora_pretokenized
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_reward_trainer.py:145
Methodtest_train_loss_types
(self, loss_type)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:220
Methodtest_train_model
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:991
Methodtest_train_model_torch_dtype
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:1017
Methodtest_train_offloading
Test that activation offloading works with SFTTrainer.
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_sft_slow.py:426
Methodtest_train_padding_free
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:1202
Methodtest_train_peft_model
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:1047
Methodtest_train_udm
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_bco_trainer.py:264
Methodtest_train_with_data_collator_for_completion_only_and_padding_free
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:1173
Methodtest_train_with_iterable_dataset
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:1148
Methodtest_train_with_length_desensitization
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:1261
Methodtest_train_with_non_chatml_conversational_data
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:1086
Methodtest_train_with_precompute
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_bco_trainer.py:77
Methodtest_train_with_pretokenized_data
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:1117
Methodtest_train_without_providing_ref_model
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_bco_trainer.py:229
Methodtest_train_without_providing_ref_model_with_lora
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_bco_trainer.py:315
Methodtest_training
(self, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_online_dpo_trainer.py:48
Methodtest_training
(self, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:227
Methodtest_training_delta_clipping
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:1151
Methodtest_training_different_reward_model
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:432
Methodtest_training_loss_types
(self, loss_type)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:258
Methodtest_training_multiple_iterations
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:313
Methodtest_training_multiple_mixed_reward_funcs
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:672
Methodtest_training_multiple_reward_funcs
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:543
Methodtest_training_multiple_reward_funcs_with_None_output
Test that a valid math reward function is processed correctly while the code reward function returns None.
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:582
Methodtest_training_multiple_reward_funcs_with_weights
Test that GRPOTrainer can handle multiple reward functions with weights.
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:627
Methodtest_training_no_scale_rewards
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:999
Methodtest_training_num_generations_larger_than_batch_size
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:1120
Methodtest_training_peft
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:345
Methodtest_training_peft_with_gradient_checkpointing
Test that training works with PEFT and gradient checkpointing enabled.
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:382
Methodtest_training_pre_pefted_model_implicit_ref
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_xpo_trainer.py:164
Methodtest_training_pre_pefted_model_implicit_ref_with_reward_model
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_nash_md_trainer.py:164
Methodtest_training_reward_func_additional_column
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:707
Methodtest_training_reward_func_conversational
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:507
Methodtest_training_reward_func_standard
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:472
Methodtest_training_vllm
Test that training works with vLLM for generation.
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:748
Methodtest_training_vllm_and_peft
Test that training works with vLLM for generation.
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:845
Methodtest_training_vllm_guided_decoding
Test that training works with vLLM for generation with guided decoding.
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:891
Methodtest_training_vllm_with_additional_generation_kwargs
Test that training works with vLLM and additional generation kwargs.
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:962
Methodtest_training_with_additional_generation_kwargs
Test that training works with additional generation kwargs.
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:924
Methodtest_training_with_eval
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:289
Methodtest_training_with_judge
(self, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_online_dpo_trainer.py:219
Methodtest_training_with_liger_grpo_loss
(self, model_name)
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_grpo_slow.py:47
Methodtest_training_with_liger_grpo_loss_and_peft
(self, model_name)
trl-GDPO/trl-0.18.0-gdpo/tests/slow/test_grpo_slow.py:88
Methodtest_training_with_mask_truncated_completions
Test that training works with mask_truncated_completions=True parameter.
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:1031
Methodtest_training_with_mask_truncated_completions_all_masked
Test that when all generated completions are truncated (i.e., none contain an EOS token), and mask_truncated_completions=True, the mo
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:1081
Methodtest_training_with_peft
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_nash_md_trainer.py:73
Methodtest_training_with_peft
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_xpo_trainer.py:73
Methodtest_training_with_peft
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_online_dpo_trainer.py:124
Methodtest_training_with_peft_and_ref_model
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_nash_md_trainer.py:102
Methodtest_training_with_peft_and_ref_model
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_xpo_trainer.py:102
Methodtest_training_with_peft_and_ref_model
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_online_dpo_trainer.py:154
Methodtest_training_with_peft_model_and_peft_config
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_nash_md_trainer.py:132
Methodtest_training_with_peft_model_and_peft_config
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_xpo_trainer.py:132
Methodtest_training_with_peft_model_and_peft_config
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_online_dpo_trainer.py:185
Methodtest_training_with_ref_model
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_online_dpo_trainer.py:74
Methodtest_training_with_sync_ref_model
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_grpo_trainer.py:780
Methodtest_training_with_vllm
(self, config_name)
trl-GDPO/trl-0.18.0-gdpo/tests/test_online_dpo_trainer.py:248
Methodtest_transformers_bf16_kwargs
r""" Test if the transformers kwargs are correctly passed Here we check that loading a model in half precision works as expected, i.e.
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_value_head.py:264
Methodtest_transformers_bf16_kwargs
r""" Test if the transformers kwargs are correctly passed Here we check that loading a model in half precision works as expected, i.e.
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_value_head.py:403
Methodtest_two_word_completion
(self)
trl-GDPO/open-r1/tests/test_rewards.py:357
Methodtest_uncorrect_data
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_sft_trainer.py:296
Methodtest_uneven_split
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:35
Methodtest_uniform_distribution
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_gkd_trainer.py:137
Methodtest_unpair_preference_dataset
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:253
Methodtest_unpair_preference_dataset_dict
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:262
Methodtest_unparseable_solution
Test len_reward with unparseable solution.
trl-GDPO/open-r1/tests/test_rewards.py:270
Methodtest_unweighted_mixture
Mix train and test splits of the same dataset.
trl-GDPO/open-r1/tests/utils/test_data.py:37
Methodtest_update_model_params
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:110
Methodtest_update_model_params
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:189
Methodtest_update_model_params
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:252
Methodtest_update_model_params
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_vllm_client_server.py:314
Methodtest_val_none
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_utils.py:209
Methodtest_valid_format
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_rewards.py:21
Methodtest_value_head
r""" Test if the v-head is added to the model successfully
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_value_head.py:57
Methodtest_value_head_init_random
r""" Test if the v-head has been randomly initialized. We can check that by making sure the bias is different than
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_value_head.py:73
Methodtest_value_head_not_str
r""" Test if the v-head is added to the model successfully, by passing a non `PretrainedModel` as an argument to `from_pretrai
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_value_head.py:85
Methodtest_value_head_shape
r""" Test if the v-head has the correct shape
trl-GDPO/trl-0.18.0-gdpo/tests/test_modeling_value_head.py:65
Methodtest_vdpo_trainer
(self, model_id)
trl-GDPO/trl-0.18.0-gdpo/tests/test_dpo_trainer.py:1303
Methodtest_weighted_mixture
Test loading a dataset mixture with weights.
trl-GDPO/open-r1/tests/utils/test_data.py:52
Methodtest_with_conversations_key
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:521
Methodtest_with_dataset
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:427
Methodtest_with_dataset
(self)
trl-GDPO/trl-0.18.0-gdpo/tests/test_data_utils.py:443
← previousnext →1,901–2,000 of 2,091, ranked by callers