MCPcopy Create free account

hub / github.com/THUDM/AgentTuning / functions

Functions3,466 in github.com/THUDM/AgentTuning

Method__init__
(self, args)
AgentBench.old/src/tasks/webshop/baseline_models/agent.py:32
Method__init__
(self, filename_or_file)
AgentBench.old/src/tasks/webshop/baseline_models/logger.py:31
Method__init__
(self, filename)
AgentBench.old/src/tasks/webshop/baseline_models/logger.py:92
Method__init__
(self, filename)
AgentBench.old/src/tasks/webshop/baseline_models/logger.py:108
Method__init__
(self, filename)
AgentBench.old/src/tasks/webshop/baseline_models/logger.py:122
Method__init__
(self, dir)
AgentBench.old/src/tasks/webshop/baseline_models/logger.py:162
Method__init__
(self, n)
AgentBench.old/src/tasks/webshop/baseline_models/logger.py:304
Method__init__
(self, dir, output_formats)
AgentBench.old/src/tasks/webshop/baseline_models/logger.py:340
Method__init__
(self, dir=None, format_strs=None)
AgentBench.old/src/tasks/webshop/baseline_models/logger.py:440
Method__init__
(self, args, split, server=None, id=None)
AgentBench.old/src/tasks/webshop/baseline_models/env.py:20
Method__init__
( self, pretrained_bert=True, image=False, **kwargs )
AgentBench.old/src/tasks/webshop/baseline_models/models/bert.py:17
Method__init__
(self, input_size, dropout)
AgentBench.old/src/tasks/webshop/baseline_models/models/modules.py:121
Method__init__
(self, vocab_size, embedding_dim, hidden_dim, arch, grad, embs=None, gru_embed='embedding', get_image=0, bert_
AgentBench.old/src/tasks/webshop/baseline_models/models/rnn.py:9
Method__init__
Constructor for HTML environment Arguments: observation_mode (`str`) -- ['html' | 'text'] (default 'html') pause (`f
AgentBench.old/src/tasks/webshop/web_agent_site/envs/web_agent_site_env.py:21
Method__init__
Constructor for text environment Arguments: observation_mode (`str`) -- ['html' | 'text'] (default 'html') get_image
AgentBench.old/src/tasks/webshop/web_agent_site/envs/web_agent_text_env.py:33
Method__init__
(self, server)
AgentBench.old/src/tasks/webshop/web_agent_site/envs/web_agent_text_env.py:609
Method__init__
(self)
AgentBench.old/src/tasks/webshop/web_agent_site/models/models.py:38
Method__init__
(self)
AgentBench.old/src/tasks/webshop/web_agent_site/models/models.py:47
Method__init__
(self, **configs)
AgentBench.old/src/tasks/knowledgegraph/task.py:100
Method__init__
(self, type, program)
AgentBench.old/src/tasks/knowledgegraph/api.py:23
Method__init__
(self, url: str="http://164.107.116.56:3093/sparql")
AgentBench.old/src/tasks/knowledgegraph/utils/sparql_executer.py:21
Method__init__
(self, model_name, max_tokens, ip="0.0.0.0", address_from=23333, address_to=23334, max_new_tokens=32, temperat
AgentBench.old/src/agents/tgi_client.py:73
Method__init__
(self, sleep=None, **kwargs)
AgentBench.old/src/agents/do_nothing_agent.py:18
Method__init__
(self, docstore: Docstore)
eval_heldout/rewoo/utils/CustomDocstoreExplorer.py:8
Method__init__
(self, data="hotpot_qa", seed=2023)
eval_heldout/rewoo/utils/DataLoader.py:6
Method__init__
(self, task, dataset, algo, maxtry=3)
eval_heldout/rewoo/utils/Evaluator.py:77
Method__init__
(self, load_8bit: bool = True, base_model: str = "decapoda-research/llama-7b-hf",
eval_heldout/rewoo/alpaca/lora.py:23
Method__init__
(self, callback_func=None)
eval_heldout/rewoo/alpaca/utils/callbacks.py:16
Method__init__
(self, func, kwargs={}, callback=None)
eval_heldout/rewoo/alpaca/utils/callbacks.py:32
Method__init__
(self, template_name: str = "", verbose: bool = False)
eval_heldout/rewoo/alpaca/utils/prompter.py:14
Method__init__
(self, workers, prefix=DEFAULT_PREFIX, suffix=DEFAULT_SUFFIX, fewshot=DEFAULT_FEWSHOT, model_
eval_heldout/rewoo/nodes/Planner.py:8
Method__init__
(self, name, input_type, output_type)
eval_heldout/rewoo/nodes/Node.py:3
Method__init__
(self, name="BaseLLMNode", model_name="text-davinci-003", stop=None, input_type=str, output_type=str)
eval_heldout/rewoo/nodes/LLMNode.py:117
Method__init__
(self, name="Google")
eval_heldout/rewoo/nodes/Worker.py:22
Method__init__
(self, name="Wikipedia", docstore=None)
eval_heldout/rewoo/nodes/Worker.py:42
Method__init__
(self, name="LookUp", docstore=None)
eval_heldout/rewoo/nodes/Worker.py:68
Method__init__
(self)
eval_heldout/rewoo/nodes/Worker.py:93
Method__init__
(self, name="WolframAlpha")
eval_heldout/rewoo/nodes/Worker.py:112
Method__init__
(self, name="Calculator")
eval_heldout/rewoo/nodes/Worker.py:129
Method__init__
(self, name="ZipCodeRetriever")
eval_heldout/rewoo/nodes/Worker.py:185
Method__init__
(self, doc_name, doc_path, name="SearchDoc")
eval_heldout/rewoo/nodes/Worker.py:222
Method__init__
(self, name="SearchSOTU")
eval_heldout/rewoo/nodes/Worker.py:242
Method__init__
(self, prefix=DEFAULT_PREFIX, suffix=DEFAULT_SUFFIX, model_name="text-davinci-003", stop=None)
eval_heldout/rewoo/nodes/Solver.py:6
Method__init__
(self, fewshot, model_name="text-davinci-002", max_iter=8, verbose=True)
eval_heldout/rewoo/algos/react.py:14
Method__init__
(self, model_name="text-davinci-003", available_tools=["Google", "Calculator"], fewshot="\n",
eval_heldout/rewoo/algos/react.py:100
Method__init__
(self, fewshot="\n", model_name="text-davinci-003")
eval_heldout/rewoo/algos/notool.py:7
Method__init__
(self, fewshot="\n", model_name="text-davinci-003")
eval_heldout/rewoo/algos/notool.py:33
Method__init__
(self, fewshot=fewshots.HOTPOTQA_PWS_BASE, planner_model="text-davinci-003", solver_model="te
eval_heldout/rewoo/algos/PWS.py:128
Method__init__
(self, fewshot=fewshots.HOTPOTQA_PWS_EXTRA, planner_model="text-davinci-003", solver_model="t
eval_heldout/rewoo/algos/PWS.py:137
Method__init__
( self, env: str, rci_plan_loop: int = 1, rci_limit: int = 1, llm="cha
eval_heldout/miniwob++/llm_agent.py:134
Method__init__
(self, env: str = "click-button")
eval_heldout/miniwob++/prompt.py:5
Method__init__
( self, env_name: str, seeds: Union[list[int], None] = None, num_instances: in
eval_heldout/miniwob++/computergym/computergym/miniwob/base_env.py:55
Method__init__
Initialize a MiniWoBState. Args: utterance (unicode) fields (Fields) dom_info (dict)
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/state.py:18
Method__init__
Create a new DOMElement based on the data from getDOMInfo in JavaScript. Args: raw_dom (dict): A dict with values from getDOMInfo
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/state.py:141
Method__init__
Creates a new MiniWoBEnvironment with no instances. Must call configure() to set up instances. Args: subdomain (str): Min
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/environment.py:13
Method__init__
Initialize a Phrase. Args: text (str or unicode)
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/utils.py:56
Method__init__
(self, d)
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/fields.py:39
Method__init__
(self, left: int, top: int)
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/action.py:59
Method__init__
(self, left: int, top: int)
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/action.py:72
Method__init__
(self, left, top)
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/action.py:116
Method__init__
(self, id)
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/action.py:165
Method__init__
(self, xpath)
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/action.py:208
Method__init__
(self, text: str)
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/action.py:288
Method__init__
(self, xpath)
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/action.py:331
Method__init__
(self, xpath)
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/action.py:361
Method__init__
Starts a new Selenium WebDriver session. Args: index (int): Instance index subdomain (str): MiniWoB task name (e.g.,
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/instance.py:41
Method__init__
( self, max_page_length: int = 8192, headless: bool = True, slow_mo: int = 0,
eval_heldout/webarena/browser_env/envs.py:77
Method__init__
( self, observation_type: str, current_viewport_only: bool, viewport_size: Vie
eval_heldout/webarena/browser_env/processors.py:46
Method__init__
(self, observation_type: str)
eval_heldout/webarena/browser_env/processors.py:594
Method__init__
( self, main_observation_type: str, text_observation_type: str, image_observat
eval_heldout/webarena/browser_env/processors.py:611
Method__init__
(self, message: str)
eval_heldout/webarena/browser_env/actions.py:1451
Method__init__
( self, config_file: str, result_dir: str, action_set_tag: str )
eval_heldout/webarena/browser_env/helper_functions.py:119
Method__init__
( self, max_page_length: int = 2048, headless: bool = True, slow_mo: int = 0,
eval_heldout/webarena/browser_env/async_envs.py:27
Method__init__
(self, model_name: str)
eval_heldout/webarena/llms/tokenizers.py:7
Method__init__
(self)
eval_heldout/webarena/agent/agent.py:97
Method__init__
( self, action_set_tag: str, lm_config: lm_config.LMConfig, prompt_constructor
eval_heldout/webarena/agent/agent.py:154
Method__init__
( self, instruction_path: str | Path, lm_config: lm_config.LMConfig, tokenizer
eval_heldout/webarena/agent/prompts/prompt_constructor.py:142
Method__init__
( self, instruction_path: str | Path, lm_config: lm_config.LMConfig, tokenizer
eval_heldout/webarena/agent/prompts/prompt_constructor.py:202
Method__init__
(self, eval_tag: str = "")
eval_heldout/webarena/evaluation_harness/evaluators.py:31
Method__init__
(self)
eval_heldout/webarena/evaluation_harness/evaluators.py:291
Method__init__
(self, evaluators: list[Evaluator])
eval_heldout/webarena/evaluation_harness/evaluators.py:351
Method__init__
(self, n_tasks=100)
eval_heldout/hotpotQA/src/hotpotqa_env.py:12
Method__init__
(self, llm_name)
eval_heldout/hotpotQA/src/llms.py:34
Method__init__
(self, llm_name)
eval_heldout/hotpotQA/src/llms.py:50
Method__init__
(self, llm_name, ip, port_min, port_max)
eval_heldout/hotpotQA/src/llms.py:65
Method__init__
(self, question: str, key: str, llm, conte
eval_heldout/hotpotQA/src/agent_arch.py:231
Method__init__
(self, question: str, key: str, llm, conte
eval_heldout/hotpotQA/src/agent_arch.py:255
Method__init__
(self, question: str, key: str, llm, conte
eval_heldout/hotpotQA/src/agent_arch.py:277
Method__init__
(self, question: str, key: str, llm, conte
eval_heldout/hotpotQA/src/agent_arch.py:300
Method__init__
(self, question: str, key: str, llm, conte
eval_heldout/hotpotQA/src/agent_arch.py:338
Method__init__
Initialize the environment.
eval_heldout/hotpotQA/src/wikienv.py:29
Method__init__
(self, env, obs_format, prompt=None)
eval_heldout/hotpotQA/src/wrappers.py:31
Method__init__
(self, env, split)
eval_heldout/hotpotQA/src/wrappers.py:88
Method__init__
(self, env, folder="trajs", file_id=None)
eval_heldout/hotpotQA/src/wrappers.py:208
Method__iter__
(self)
eval_heldout/rewoo/alpaca/utils/callbacks.py:61
Method__len__
(self)
AgentBench.old/src/tasks/mind2web/dataloader.py:145
Method__len__
(self)
eval_heldout/miniwob++/computergym/computergym/miniwob/miniwob_interface/fields.py:48
Method__len__
(self)
eval_heldout/hotpotQA/src/wrappers.py:143
Method__len__
(self)
eval_heldout/hotpotQA/src/wrappers.py:203
Method__len__
(self)
eval_heldout/hotpotQA/src/wrappers.py:217
← previousnext →2,301–2,400 of 3,466, ranked by callers