MCPcopy Create free account

hub / github.com/Yuan-Li-FNLP/R3-RAG / functions

Functions1,737 in github.com/Yuan-Li-FNLP/R3-RAG

↓ 1 callersMethodrun_item
(self, item)
tool/FlashRAG/flashrag/pipeline/active_pipeline.py:846
↓ 1 callersFunctionrun_kto
( model_args: "ModelArguments", data_args: "DataArguments", training_args: "Seq2SeqTrainingArgumen
train/LLaMA-Factory/src/llamafactory/train/kto/workflow.py:35
↓ 1 callersFunctionrun_ppo
( model_args: "ModelArguments", data_args: "DataArguments", training_args: "Seq2SeqTrainingArgumen
train/LLaMA-Factory/src/llamafactory/train/ppo/workflow.py:34
↓ 1 callersFunctionrun_pt
( model_args: "ModelArguments", data_args: "DataArguments", training_args: "Seq2SeqTrainingArgumen
train/LLaMA-Factory/src/llamafactory/train/pt/workflow.py:36
↓ 1 callersFunctionrun_rm
( model_args: "ModelArguments", data_args: "DataArguments", training_args: "Seq2SeqTrainingArgumen
train/LLaMA-Factory/src/llamafactory/train/rm/workflow.py:35
↓ 1 callersFunctionrun_scheduler
运行调度器
benchmark/retriever/call_retriever_in_time.py:74
↓ 1 callersFunctionrun_scheduler
运行调度器
tool/utils/retriever/call_retriever_in_time.py:74
↓ 1 callersFunctionrun_scheduler
运行调度器
tool/utils/retriever/call_retriever_in_timev2.py:79
↓ 1 callersFunctionrun_sft
( model_args: "ModelArguments", data_args: "DataArguments", training_args: "Seq2SeqTrainingArgumen
train/LLaMA-Factory/src/llamafactory/train/sft/workflow.py:40
↓ 1 callersMethodrun_single_beam
(self, prompt, item_retrieval_result=None)
tool/FlashRAG/flashrag/pipeline/active_pipeline.py:393
↓ 1 callersFunctionrun_web_demo
()
train/LLaMA-Factory/src/llamafactory/webui/interface.py:96
↓ 1 callersFunctionrun_web_ui
()
train/LLaMA-Factory/src/llamafactory/webui/interface.py:89
↓ 1 callersFunctionsave_cmd
r""" Saves arguments to launch training.
train/LLaMA-Factory/src/llamafactory/webui/utils.py:125
↓ 1 callersMethodsave_data
Save the evaluated data, including the raw data and the score of each data sample on each metric.
tool/FlashRAG/flashrag/evaluator/evaluator.py:75
↓ 1 callersFunctionsave_jsonl
(documents, file_path)
tool/FlashRAG/scripts/chunk_doc_corpus.py:19
↓ 1 callersMethodsave_logs_and_checkpoints
(self, args, global_step, step_bar, logs_dict={}, client_states={})
train/R3RAG_OpenRLHF/openrlhf/trainer/prm_trainer.py:185
↓ 1 callersMethodsave_logs_and_checkpoints
(self, args, global_step, step_bar, logs_dict={}, client_states={})
train/R3RAG_OpenRLHF/openrlhf/trainer/kto_trainer.py:191
↓ 1 callersMethodsave_logs_and_checkpoints
(self, args, global_step, step_bar, logs_dict={}, client_states={})
train/R3RAG_OpenRLHF/openrlhf/trainer/rm_trainer.py:208
↓ 1 callersMethodsave_logs_and_checkpoints
(self, args, global_step, step_bar, logs_dict={}, client_states={})
train/R3RAG_OpenRLHF/openrlhf/trainer/dpo_trainer.py:223
↓ 1 callersMethodsave_logs_and_checkpoints
(self, args, global_step, step_bar, logs_dict={}, client_states={})
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_trainer.py:474
↓ 1 callersMethodsave_logs_and_checkpoints
(self, args, global_step, step_bar, logs_dict={}, client_states={})
train/R3RAG_OpenRLHF/openrlhf/trainer/sft_trainer.py:211
↓ 1 callersMethodsave_logs_and_checkpoints
(self, args, global_step, step_bar, logs_dict={}, client_states={})
train/R3RAG_OpenRLHF/openrlhf/trainer/kd_trainer.py:184
↓ 1 callersMethodsave_metric_score
(self, result_dict, file_name="metric_score.txt")
tool/FlashRAG/flashrag/evaluator/evaluator.py:69
↓ 1 callersMethodsave_predictions
r""" Saves model predictions to `output_dir`. A custom behavior that not contained in Seq2SeqTrainer.
train/LLaMA-Factory/src/llamafactory/train/rm/trainer.py:119
↓ 1 callersMethodsave_predictions
r""" Saves model predictions to `output_dir`. A custom behavior that not contained in Seq2SeqTrainer.
train/LLaMA-Factory/src/llamafactory/train/sft/trainer.py:137
↓ 1 callersFunctionsearch_for_fit
r""" Finds the index of largest number that fits into the knapsack with the given capacity.
train/LLaMA-Factory/src/llamafactory/data/processors/processor_utils.py:19
↓ 1 callersMethodsegment_structured_context
( self, context: List[str], global_rate: float, )
tool/FlashRAG/flashrag/refiner/llmlingua_compressor.py:2030
↓ 1 callersMethodselect_best_path_single_turn
(self, final_outputs)
tool/FlashRAG/flashrag/pipeline/active_pipeline.py:1220
↓ 1 callersMethodselect_best_prediction
(self, results)
tool/FlashRAG/flashrag/pipeline/active_pipeline.py:376
↓ 1 callersMethodself_info_mask
(self, sents: List[str], self_info: List[float], mask_level)
tool/FlashRAG/flashrag/refiner/selective_context_compressor.py:243
↓ 1 callersFunctionset_default_instruction
(model_name, is_query=True, is_zh=False)
tool/FlashRAG/flashrag/retriever/utils.py:82
↓ 1 callersFunctionset_ring_attn_group
(group)
train/R3RAG_OpenRLHF/openrlhf/models/ring_attn_utils.py:9
↓ 1 callersMethodsetup_ring_attn
(self)
train/R3RAG_OpenRLHF/openrlhf/utils/deepspeed/deepspeed.py:90
↓ 1 callersFunctionsetup_schedule
设置定时任务 参数: interval_type: 时间间隔类型,可选值: "seconds", "minutes", "hours", "days", "weeks" interval_value: 时间间隔值,默认为1
benchmark/retriever/call_retriever_in_time.py:49
↓ 1 callersFunctionsetup_schedule
设置定时任务 参数: interval_type: 时间间隔类型,可选值: "seconds", "minutes", "hours", "days", "weeks" interval_value: 时间间隔值,默认为1
tool/utils/retriever/call_retriever_in_time.py:49
↓ 1 callersFunctionsetup_schedule
设置定时任务 参数: interval_type: 时间间隔类型,可选值: "seconds", "minutes", "hours", "days", "weeks" interval_value: 时间间隔值,默认为1
tool/utils/retriever/call_retriever_in_timev2.py:54
↓ 1 callersMethodsimpo_loss
r""" Computes SimPO loss for batched log probabilities of the policy model.
train/LLaMA-Factory/src/llamafactory/train/dpo/trainer.py:149
↓ 1 callersMethodsingle_batch_encode
(self, query_list: Union[List[str], str], is_query=True)
tool/FlashRAG/flashrag/retriever/encoder.py:38
↓ 1 callersMethodsingle_batch_encode
(self, query_list: Union[List[str], str], modal="image")
tool/FlashRAG/flashrag/retriever/encoder.py:182
↓ 1 callersFunctionskip_check_imports
r""" Avoids flash attention import error in custom model files.
train/LLaMA-Factory/src/llamafactory/extras/misc.py:240
↓ 1 callersFunctionsolve
(args)
benchmark/NaiveRAG/src/inference.py:92
↓ 1 callersFunctionsolve
(args)
benchmark/NaiveGeneration/src/inference.py:72
↓ 1 callersFunctionsolve
(args)
benchmark/R3-RAG/src/inference_4gpu.py:130
↓ 1 callersFunctionsolve
(args)
benchmark/R3-RAG/src/inference_new.py:131
↓ 1 callersFunctionsolve
(args)
benchmark/R3-RAG/src/cal_metric.py:265
↓ 1 callersFunctionsolve
(args)
benchmark/R3-RAG/src/inference.py:130
↓ 1 callersFunctionsolve_core
(args, records, llm, temperature=0)
benchmark/R3-RAG/src/cal_metric.py:288
↓ 1 callersFunctionsolve_core
(args, records, llm, temperature=0)
benchmark/batch_check/batch_check.py:121
↓ 1 callersFunctionsolve_directly
(args, ckpt, records, temperature=0)
benchmark/NaiveRAG/src/inference.py:200
↓ 1 callersFunctionsolve_directly
(args, ckpt, records, temperature=0)
benchmark/NaiveGeneration/src/inference.py:166
↓ 1 callersFunctionsolve_init
(args)
benchmark/NaiveRAG/src/inference.py:106
↓ 1 callersFunctionsolve_init
(args)
benchmark/NaiveGeneration/src/inference.py:86
↓ 1 callersFunctionsolve_init
(args)
benchmark/R3-RAG/src/inference_4gpu.py:154
↓ 1 callersFunctionsolve_init
(args)
benchmark/R3-RAG/src/inference_new.py:155
↓ 1 callersFunctionsolve_init
(args)
benchmark/R3-RAG/src/cal_metric.py:282
↓ 1 callersFunctionsolve_init
(args)
benchmark/R3-RAG/src/inference.py:154
↓ 1 callersFunctionsolve_init
()
benchmark/batch_check/batch_check.py:43
↓ 1 callersFunctionsolve_main
(args, ckpt, records, temperature=0)
benchmark/NaiveRAG/src/inference.py:186
↓ 1 callersFunctionsolve_main
(args, ckpt, records, temperature=0)
benchmark/NaiveGeneration/src/inference.py:152
↓ 1 callersFunctionsolve_main
(args, ckpt, records, temperature=0)
benchmark/R3-RAG/src/inference_4gpu.py:195
↓ 1 callersFunctionsolve_main
(args, ckpt, records, temperature=0)
benchmark/R3-RAG/src/inference_new.py:197
↓ 1 callersFunctionsolve_main
(args, ckpt, records, temperature=0)
benchmark/R3-RAG/src/inference.py:195
↓ 1 callersFunctionsplit_answer
(response_text)
benchmark/R3-RAG/src/cal_metric.py:59
↓ 1 callersFunctionsplit_answer
(response_text)
benchmark/batch_check/batch_check.py:112
↓ 1 callersFunctionsplit_answer
(response_text)
data/construct/02sample_from_dataset/mainv1.py:225
↓ 1 callersFunctionsplit_answer
(response_text)
data/construct/02sample_from_dataset/main.py:223
↓ 1 callersFunctionsplit_answer
(response_text)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_prm_orm.py:1267
↓ 1 callersFunctionsplit_answer
(response_text)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_orm.py:1269
↓ 1 callersFunctionsplit_answer
(response_text)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_only_prm.py:1267
↓ 1 callersFunctionsplit_answer
(response_text)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker.py:1267
↓ 1 callersFunctionsplit_by_question_mark
(text)
benchmark/R3-RAG/src/inference_4gpu.py:13
↓ 1 callersFunctionsplit_by_question_mark
(text)
benchmark/R3-RAG/src/inference_new.py:13
↓ 1 callersFunctionsplit_by_question_mark
(text)
benchmark/R3-RAG/src/inference.py:13
↓ 1 callersFunctionsplit_dataset
r""" Splits the dataset and returns a dataset dict containing train set and validation set. Supports both map dataset and iterable dataset.
train/LLaMA-Factory/src/llamafactory/data/data_utils.py:76
↓ 1 callersFunctionsplit_experience_batch
(experience: Experience)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/replay_buffer.py:39
↓ 1 callersFunctionsplit_jsonl
(chunk_size: int, input_file: str, output_dir: str)
data/construct/01split_dataset/split.py:6
↓ 1 callersFunctionsplit_list
Split a list into n roughly equal parts.
tool/FlashRAG/scripts/preprocess_wiki_old.py:147
↓ 1 callersFunctionsplit_list
Split a list into n roughly equal parts.
tool/FlashRAG/scripts/preprocess_wiki.py:133
↓ 1 callersMethodsplit_model
(self)
tool/FlashRAG/flashrag/generator/multimodal_generator.py:134
↓ 1 callersFunctionsplit_prompt
(query)
benchmark/R3-RAG/src/split_server.py:29
↓ 1 callersFunctionsplit_query
(query, config)
startup/RRAG.py:179
↓ 1 callersFunctionsplit_query
(querys : list)
benchmark/R3-RAG/src/split_server.py:55
↓ 1 callersFunctionsplit_query
(query, client, model)
data/construct/02sample_from_dataset/mainv1.py:284
↓ 1 callersFunctionsplit_query
(query)
data/construct/02sample_from_dataset/main.py:282
↓ 1 callersFunctionsplit_query
(query)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_prm_orm.py:1620
↓ 1 callersFunctionsplit_query
(query)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_orm.py:1622
↓ 1 callersFunctionsplit_query
(query)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_only_prm.py:1620
↓ 1 callersFunctionsplit_query
(query)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker.py:1620
↓ 1 callersFunctionsplit_query_remote
(split_url, querys : list)
benchmark/R3-RAG/src/inference_4gpu.py:101
↓ 1 callersFunctionsplit_query_remote
(split_url, querys : list)
benchmark/R3-RAG/src/inference_new.py:102
↓ 1 callersFunctionsplit_query_remote
(split_url, querys : list)
benchmark/R3-RAG/src/inference.py:101
↓ 1 callersFunctionsplit_response
(response)
startup/RRAG.py:51
↓ 1 callersFunctionsplit_response
(response)
startup/R3-RAG.py:61
↓ 1 callersFunctionsplit_response
(response)
benchmark/NaiveRAG/src/inference.py:45
↓ 1 callersFunctionsplit_response
(response)
benchmark/NaiveGeneration/src/inference.py:38
↓ 1 callersFunctionsplit_response
(response)
data/construct/02sample_from_dataset/mainv1.py:115
↓ 1 callersFunctionsplit_response
(response)
data/construct/02sample_from_dataset/main.py:113
↓ 1 callersFunctionsplit_response
(response)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_prm_orm.py:1188
↓ 1 callersFunctionsplit_response
(response)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_orm.py:1190
↓ 1 callersFunctionsplit_response
(response)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_only_prm.py:1188
← previousnext →901–1,000 of 1,737, ranked by callers