MCPcopy Create free account

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

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

↓ 2 callersMethodtraining_step_actor
(self, experience: Experience)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_trainer.py:335
↓ 2 callersMethodtraining_step_critic
(self, experience: Experience)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_trainer.py:421
↓ 2 callersFunctiontruncate_after_first_occurrence
(str1, str2)
data/construct/02sample_from_dataset/mainv1.py:102
↓ 2 callersFunctiontruncate_after_first_occurrence
(str1, str2)
data/construct/02sample_from_dataset/main.py:100
↓ 2 callersMethodupdate_config
(self)
tool/FlashRAG/flashrag/generator/openai_generator.py:50
↓ 2 callersMethodupdate_config
(self)
tool/FlashRAG/flashrag/generator/generator.py:33
↓ 2 callersMethodupdate_config
(self)
tool/FlashRAG/flashrag/retriever/retriever.py:129
↓ 2 callersMethodwrap_encoder
Wrap T5 encoder to obtain a Fusion-in-Decoder model.
tool/FlashRAG/flashrag/generator/fid.py:57
↓ 2 callersMethodwrap_encoder
Wrap T5 encoder to obtain a Fusion-in-Decoder model.
tool/FlashRAG/flashrag/generator/fid.py:163
↓ 2 callersMethodzero_grad
(self, set_to_none: bool = True)
train/LLaMA-Factory/src/llamafactory/train/trainer_utils.py:76
↓ 1 callersFunctionApplyChatTemplate
(SystemInput)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_prm_orm.py:1636
↓ 1 callersFunctionApplyChatTemplate
(SystemInput)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_orm.py:1638
↓ 1 callersFunctionApplyChatTemplate
(SystemInput)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_only_prm.py:1636
↓ 1 callersFunctionApplyChatTemplate
(SystemInput)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker.py:1636
↓ 1 callersFunctionGenerateTrainingData
(data_one)
data/construct/format_single_query/format.py:9
↓ 1 callersFunctionGetRetrieval
(query, retriver_url)
startup/R3-RAG.py:95
↓ 1 callersFunctionGetRetrieval
(retrieve_url, querys)
benchmark/NaiveRAG/src/inference.py:79
↓ 1 callersFunctionGetRetrieval
(retrieve_url, querys)
benchmark/retriever/call_retriever_in_time.py:18
↓ 1 callersFunctionGetRetrieval
(retrieve_url, querys)
tool/utils/retriever/call_retriever_in_time.py:18
↓ 1 callersFunctionGetRetrieval
(query)
tool/utils/retriever/call_retriever_in_timev2.py:18
↓ 1 callersFunctionGetStepbystepRetrieval
(mydict, retrieved_ids, documents, config)
startup/RRAG.py:101
↓ 1 callersFunctionGetStepbystepRetrieval
(mydict, retrieved_ids, documents, config)
startup/R3-RAG.py:109
↓ 1 callersFunctionGetStepbystepRetrieval
(mydict, retrieved_ids, documents)
data/construct/02sample_from_dataset/mainv1.py:234
↓ 1 callersFunctionGetStepbystepRetrieval
(mydict, retrieved_ids, documents)
data/construct/02sample_from_dataset/main.py:232
↓ 1 callersFunctionGetStepbystepRetrieval
(mydict, retrieved_ids, documents)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_prm_orm.py:1544
↓ 1 callersFunctionGetStepbystepRetrieval
(mydict, retrieved_ids, documents)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_orm.py:1546
↓ 1 callersFunctionGetStepbystepRetrieval
(mydict, retrieved_ids, documents)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_only_prm.py:1544
↓ 1 callersFunctionGetStepbystepRetrieval
(mydict, retrieved_ids, documents)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker.py:1544
↓ 1 callersFunctionGetStepbystepRetrievalv2
(mydict, retrieved_ids, documents, config)
startup/RRAG.py:123
↓ 1 callersFunctionGetStepbystepRetrievalv2
(mydict, retrieved_ids, documents, client, model)
data/construct/02sample_from_dataset/mainv1.py:253
↓ 1 callersFunctionGetStepbystepRetrievalv2
(mydict, retrieved_ids, documents)
data/construct/02sample_from_dataset/main.py:251
↓ 1 callersFunctionGetStepbystepRetrievalv2
(mydict, retrieved_ids, documents)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_prm_orm.py:1565
↓ 1 callersFunctionGetStepbystepRetrievalv2
(mydict, retrieved_ids, documents)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_orm.py:1567
↓ 1 callersFunctionGetStepbystepRetrievalv2
(mydict, retrieved_ids, documents)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_only_prm.py:1565
↓ 1 callersFunctionGetStepbystepRetrievalv2
(mydict, retrieved_ids, documents)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker.py:1565
↓ 1 callersMethod__chunk_context
(self, origin_text, chunk_end_tokens)
tool/FlashRAG/flashrag/refiner/llmlingua_compressor.py:2167
↓ 1 callersMethod__get_context_prob
( self, context_list: list, token_to_word="mean", force_tokens: List[str] = []
tool/FlashRAG/flashrag/refiner/llmlingua_compressor.py:2094
↓ 1 callersMethod__getattr__
(self, attr_name: str)
tool/FlashRAG/flashrag/dataset/dataset.py:37
↓ 1 callersMethod__init__
(self, *args, **kwargs)
train/R3RAG_OpenRLHF/openrlhf/trainer/ray/vllm_engine.py:21
↓ 1 callersMethod__init__
( self, actor: Actor, critic: nn.Module, reward_model: nn.Module, init
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_prm_orm.py:162
↓ 1 callersMethod__init__
( self, actor: Actor, critic: nn.Module, reward_model: nn.Module, init
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_orm.py:162
↓ 1 callersMethod__init__
( self, actor: Actor, critic: nn.Module, reward_model: nn.Module, init
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_only_prm.py:162
↓ 1 callersMethod__init__
( self, actor: Actor, critic: nn.Module, reward_model: nn.Module, init
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker.py:162
↓ 1 callersMethod__init__
(self, config: AutoConfig)
train/R3RAG_OpenRLHF/openrlhf/models/model.py:163
↓ 1 callersMethod__init__
(self, config: "LlavaConfig")
train/LLaMA-Factory/src/llamafactory/model/model_utils/visual.py:74
↓ 1 callersMethod__init__
(self, image_token: Optional[str], video_token: Optional[str])
train/LLaMA-Factory/src/llamafactory/data/mm_plugin.py:63
↓ 1 callersMethod__init__
(self, manager: "Manager", demo_mode: bool = False, lazy_init: bool = True)
train/LLaMA-Factory/src/llamafactory/webui/chatter.py:38
↓ 1 callersMethod__init__
(self, model_path, device='cpu', max_input_len=4096)
tool/FlashRAG/flashrag/generator/multimodal_generator.py:60
↓ 1 callersMethod__init__
(self, config)
tool/FlashRAG/flashrag/judger/judger.py:42
↓ 1 callersMethod__init__
(self, config)
tool/FlashRAG/flashrag/retriever/reranker.py:112
↓ 1 callersMethod__init__
(self, config, prompt_template=None, retriever=None, generator=None)
tool/FlashRAG/flashrag/pipeline/branching_pipeline.py:65
↓ 1 callersMethod__init__
( self, config, prompt_template = None, retriever = None,
tool/FlashRAG/webui/chat_pipelines/conditional_pipeline.py:57
↓ 1 callersMethod__str__
Return a string representation of the item with its main attributes.
tool/FlashRAG/flashrag/dataset/dataset.py:70
↓ 1 callersFunction_apply_llama_patch
()
train/LLaMA-Factory/src/llamafactory/model/model_utils/longlora.py:352
↓ 1 callersMethod_batch_search_with_rerank
(self, *args, **kwargs)
tool/FlashRAG/flashrag/retriever/retriever.py:209
↓ 1 callersMethod_build_yaml_loader
(self)
tool/FlashRAG/flashrag/config/config.py:30
↓ 1 callersFunction_calculate_final_score
(scores, doc_precheck)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_prm_orm.py:1415
↓ 1 callersFunction_calculate_final_score
(scores, doc_precheck)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_orm.py:1417
↓ 1 callersFunction_calculate_final_score
(scores, doc_precheck)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_only_prm.py:1415
↓ 1 callersFunction_calculate_final_score
(scores, doc_precheck)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker.py:1415
↓ 1 callersMethod_calculate_lexical_unit
(self, tokens, self_info)
tool/FlashRAG/flashrag/refiner/selective_context_compressor.py:184
↓ 1 callersMethod_check_contain_doc
r"""Check if the index contains document content
tool/FlashRAG/flashrag/retriever/retriever.py:267
↓ 1 callersMethod_check_dir
r"""Check if the dir path exists and if there is content.
tool/FlashRAG/flashrag/retriever/index_builder.py:111
↓ 1 callersMethod_check_final_config
(self)
tool/FlashRAG/flashrag/config/config.py:94
↓ 1 callersMethod_collect_metrics
Collect all classes based on ```BaseMetric```.
tool/FlashRAG/flashrag/evaluator/evaluator.py:26
↓ 1 callersFunction_create_adam_mini_optimizer
( model: "PreTrainedModel", training_args: "TrainingArguments", )
train/LLaMA-Factory/src/llamafactory/train/trainer_utils.py:472
↓ 1 callersFunction_create_apollo_optimizer
( model: "PreTrainedModel", training_args: "TrainingArguments", finetuning_args: "FinetuningArgume
train/LLaMA-Factory/src/llamafactory/train/trainer_utils.py:287
↓ 1 callersFunction_create_badam_optimizer
( model: "PreTrainedModel", training_args: "TrainingArguments", finetuning_args: "FinetuningArgume
train/LLaMA-Factory/src/llamafactory/train/trainer_utils.py:411
↓ 1 callersFunction_create_galore_optimizer
( model: "PreTrainedModel", training_args: "TrainingArguments", finetuning_args: "FinetuningArgume
train/LLaMA-Factory/src/llamafactory/train/trainer_utils.py:199
↓ 1 callersFunction_create_loraplus_optimizer
( model: "PreTrainedModel", training_args: "TrainingArguments", finetuning_args: "FinetuningArgume
train/LLaMA-Factory/src/llamafactory/train/trainer_utils.py:371
↓ 1 callersMethod_ds_init_eval_model
(self, model)
train/R3RAG_OpenRLHF/openrlhf/utils/deepspeed/deepspeed.py:243
↓ 1 callersMethod_ds_init_train_model
(self, model, optim, scheduler)
train/R3RAG_OpenRLHF/openrlhf/utils/deepspeed/deepspeed.py:202
↓ 1 callersFunction_encode_feedback_example
( prompt: Sequence[Dict[str, str]], response: Sequence[Dict[str, str]], kl_response: Sequence[Dict
train/LLaMA-Factory/src/llamafactory/data/processors/feedback.py:34
↓ 1 callersFunction_encode_pairwise_example
( prompt: Sequence[Dict[str, str]], response: Sequence[Dict[str, str]], system: Optional[str],
train/LLaMA-Factory/src/llamafactory/data/processors/pairwise.py:34
↓ 1 callersFunction_encode_unsupervised_example
( prompt: Sequence[Dict[str, str]], response: Sequence[Dict[str, str]], system: Optional[str],
train/LLaMA-Factory/src/llamafactory/data/processors/unsupervised.py:34
↓ 1 callersFunction_fetch_package_name
()
train/R3RAG_OpenRLHF/setup.py:38
↓ 1 callersFunction_fetch_readme
()
train/R3RAG_OpenRLHF/setup.py:21
↓ 1 callersFunction_fetch_requirements
(path)
train/R3RAG_OpenRLHF/setup.py:16
↓ 1 callersFunction_fetch_version
()
train/R3RAG_OpenRLHF/setup.py:26
↓ 1 callersMethod_finalize
(self, lang: str, finish_info: str)
train/LLaMA-Factory/src/llamafactory/webui/runner.py:100
↓ 1 callersMethod_generate_async
(self, input_list: List, batch_size=None, return_scores=False, **params)
tool/FlashRAG/flashrag/generator/openai_generator.py:83
↓ 1 callersMethod_generate_vllm
(self, all_prompts: List[str], **kwargs)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_prm_orm.py:1052
↓ 1 callersMethod_generate_vllm
(self, all_prompts: List[str], **kwargs)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_orm.py:1054
↓ 1 callersMethod_generate_vllm
(self, all_prompts: List[str], **kwargs)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker_only_prm.py:1052
↓ 1 callersMethod_generate_vllm
(self, all_prompts: List[str], **kwargs)
train/R3RAG_OpenRLHF/openrlhf/trainer/ppo_utils/experience_maker.py:1052
↓ 1 callersMethod_get_batch_logps
Compute the log probabilities of the given labels under the given logits. Args: logits: Logits of the model (unnormalized). Shape
train/R3RAG_OpenRLHF/openrlhf/trainer/dpo_trainer.py:366
↓ 1 callersMethod_get_batch_response
(self, input_list: List[List], batch_size, **params)
tool/FlashRAG/flashrag/generator/openai_generator.py:74
↓ 1 callersFunction_get_critic_model
(base_pretrained_model, base_llm_model, value_head_prefix="score", packing_samples=False)
train/R3RAG_OpenRLHF/openrlhf/models/model.py:232
↓ 1 callersMethod_get_current_node_ip
()
train/R3RAG_OpenRLHF/openrlhf/trainer/ray/launcher.py:38
↓ 1 callersFunction_get_default_logging_level
r""" Returns the default logging level.
train/LLaMA-Factory/src/llamafactory/extras/logging.py:84
↓ 1 callersMethod_get_final_config
(self)
tool/FlashRAG/flashrag/config/config.py:87
↓ 1 callersMethod_get_free_port
()
train/R3RAG_OpenRLHF/openrlhf/trainer/ray/launcher.py:44
↓ 1 callersMethod_get_internal_config
(self)
tool/FlashRAG/flashrag/config/config.py:80
↓ 1 callersFunction_get_jinja_template
r""" Returns the jinja template.
train/LLaMA-Factory/src/llamafactory/data/template.py:308
↓ 1 callersMethod_get_mm_inputs
r""" Processes visual inputs for mllama because its image processor only accepts List[List[ImageInput]]. Returns: pixel_v
train/LLaMA-Factory/src/llamafactory/data/mm_plugin.py:593
↓ 1 callersFunction_get_paligemma_token_type_ids
r""" Gets paligemma token type ids for computing loss. Returns: batch_token_type_ids: shape (batch_size, sequence_length)
train/LLaMA-Factory/src/llamafactory/data/mm_plugin.py:45
↓ 1 callersFunction_get_quantization_dataset
r""" Prepares the tokenized dataset to perform AutoGPTQ. Do not use tensor output for JSON serialization.
train/LLaMA-Factory/src/llamafactory/model/model_utils/quantization.py:59
↓ 1 callersMethod_get_response
(self, messages: List, **params)
tool/FlashRAG/flashrag/generator/openai_generator.py:66
↓ 1 callersFunction_get_reward_model
(base_pretrained_model, base_llm_model, value_head_prefix="score", packing_samples=False)
train/R3RAG_OpenRLHF/openrlhf/models/model.py:159
↓ 1 callersMethod_init_device
(self)
tool/FlashRAG/flashrag/config/config.py:103
← previousnext →401–500 of 1,737, ranked by callers