Method__init__(
self,
dataset,
tokenizer: Callable,
max_length: int,
strategy,
train/R3RAG_OpenRLHF/openrlhf/datasets/reward_dataset.py:59
Method__init__(
self, beta: float, desirable_weight: float, undesirable_weight: float, world_size: int, device: torc
train/R3RAG_OpenRLHF/openrlhf/models/loss.py:216
Method__init__(self, config, system_prompt="", user_prompt="", reference_template=None, enable_chat=True)
tool/FlashRAG/flashrag/prompt/base_prompt.py:14
Method__init__(
self,
retrieval_method,
model_path,
corpus_path,
save_dir,
m
tool/FlashRAG/flashrag/retriever/index_builder.py:20
Method__init__(self, model_name, model_path, pooling_method, max_length, use_fp16, instruction)
tool/FlashRAG/flashrag/retriever/encoder.py:27
Method__init__(self, model_name, model_path, max_length, use_fp16, instruction)
tool/FlashRAG/flashrag/retriever/encoder.py:101
Method__init__(self, config, prompt_template=None, iter_num=3, retriever=None, generator=None)
tool/FlashRAG/flashrag/pipeline/active_pipeline.py:15
Method__init__(
self,
config,
threshold=0.2,
max_depth=2,
beam_width=2,
w_re
tool/FlashRAG/flashrag/pipeline/active_pipeline.py:99
Method__init__(self, config, prompt_template=None, max_iter=5, single_hop=True, retriever=None, generator=None)
tool/FlashRAG/flashrag/pipeline/active_pipeline.py:810
Method__init__(
self, config, prompt_template=None, max_iter=2, retriever=None, generator=None
)
tool/FlashRAG/flashrag/pipeline/active_pipeline.py:930