MCPcopy Create free account

hub / github.com/allenai/lumos / functions

Functions387 in github.com/allenai/lumos

↓ 79 callersMethodget
Set browser variables to corresponding link, page HTML for URL
eval/webshop/web_agent_site/envs/web_agent_text_env.py:618
↓ 45 callersFunction$
(a)
docs/static/js/fontawesome.all.min.js:5
↓ 33 callersFunctionn
(t,e)
docs/static/js/bulma-carousel.min.js:1
↓ 32 callersFunction__webpack_require__
(moduleId)
docs/static/js/bulma-carousel.js:16
↓ 31 callersFunctioni
(t)
docs/static/js/bulma-carousel.min.js:1
↓ 28 callersFunctiongenerate_completions
(model, tokenizer, prompts, batch_size=1, stop_id_sequences=None, disable_tqdm=False, **generation_kwargs)
eval/utils.py:30
↓ 26 callersFunctiondefineProperties
(target, props)
docs/static/js/bulma-carousel.js:273
↓ 19 callersFunctionload_hf_lm_and_tokenizer
( model_name_or_path, tokenizer_name_or_path=None, device_map="auto", load_
eval/utils.py:187
↓ 17 callersFunctionc
()
docs/static/js/fontawesome.all.min.js:5
↓ 13 callersFunction_classCallCheck
(instance, Constructor)
docs/static/js/bulma-carousel.js:277
↓ 12 callersFunctionz
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 10 callersFunctiongenerate_from_openai_chat_completion
Generate from OpenAI Chat Completion API. Args: full_contexts: List of full contexts to generate from. prompt_template: Prompt te
data/fast_prompt.py:164
↓ 10 callersFunctionnormalize_answer
(s)
eval/hotpotqa/run_eval.py:16
↓ 9 callersMethodclick
Wrapper for `receive` handler for performing click action on current page
eval/webshop/web_agent_site/envs/web_agent_text_env.py:625
↓ 8 callersMethodstep
Takes an action, updates WebShop environment, and returns (observation, reward, done, info) Arguments: action (`str`): An ac
eval/webshop/web_agent_site/envs/web_agent_site_env.py:52
↓ 7 callersFunctionWA_result
(question)
eval/gsm/utils.py:13
↓ 7 callersFunctionWA_result
(question)
eval/svamp/utils.py:13
↓ 7 callersFunctiona
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 7 callersMethodclose
(self)
eval/webshop/web_agent_site/envs/web_agent_site_env.py:209
↓ 7 callersFunctionget_str
(str_idx)
eval/mind2web/data_utils/dom_utils.py:52
↓ 7 callersFunctionl
(l)
docs/static/js/fontawesome.all.min.js:5
↓ 6 callersMethodCalculator
(x, isfunc)
eval/gsm/math_tool.py:10
↓ 6 callersMethodCalculator
(x, isfunc)
eval/svamp/math_tool.py:10
↓ 6 callersMethodQA
(x, model_config)
eval/hotpotqa/qa_tool.py:69
↓ 6 callersMethodQA
(x, model_config)
eval/strategyqa/qa_tool.py:67
↓ 6 callersFunctionbc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 6 callersFunctionget_tree_repr
( tree, max_value_length=5, max_length=20, id_mapping={}, keep_html_brackets=False )
eval/mind2web/data_utils/dom_utils.py:326
↓ 5 callersFunctionextract_key_info
(env, query, previous_actions, rank, action_name=None, op=None, text=None)
eval/mind2web/run_eval.py:26
↓ 5 callersFunctionfc
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 5 callersFunctionkl
()
docs/static/js/fontawesome.all.min.js:5
↓ 5 callersFunctionmain
(trace_files, args)
eval/mind2web/data_utils/process_trace.py:199
↓ 5 callersFunctionmap_action_to_html
(action, **kwargs)
eval/webshop/web_agent_site/engine/engine.py:44
↓ 5 callersFunctionpc
()
docs/static/js/fontawesome.all.min.js:5
↓ 5 callersFunctionr
(t)
docs/static/js/bulma-carousel.min.js:1
↓ 5 callersFunctionr
(t,e)
docs/static/js/bulma-slider.min.js:1
↓ 5 callersFunctionread_html_template
(path)
eval/webshop/web_agent_site/engine/engine.py:111
↓ 5 callersMethodreset
Create a new session and reset environment variables
eval/webshop/web_agent_site/envs/web_agent_site_env.py:192
↓ 5 callersFunctions
(t)
docs/static/js/bulma-carousel.min.js:1
↓ 4 callersFunctionH
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 4 callersFunctionJc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 4 callersMethodKnowledgeQuery
(x, typ=None)
eval/hotpotqa/qa_tool.py:23
↓ 4 callersMethodKnowledgeQuery
(x, typ=None)
eval/strategyqa/qa_tool.py:21
↓ 4 callersFunctionTl
()
docs/static/js/fontawesome.all.min.js:5
↓ 4 callersFunctionWc
()
docs/static/js/fontawesome.all.min.js:5
↓ 4 callersFunction_concat_messages
(messages)
model/finetune.py:273
↓ 4 callersMethod_parse_html
Returns web request result wrapped in BeautifulSoup object Arguments: url (`str`): If no url or html is provided, use the cu
eval/webshop/web_agent_site/envs/web_agent_text_env.py:168
↓ 4 callersFunctionconvert_qa_to_human_solution
(x, data_fn)
data/prompt_convertion.py:89
↓ 4 callersFunctiondefineProperties
(target, props)
docs/static/js/bulma-slider.js:86
↓ 4 callersMethodget_page_name
Determine which page (i.e. item_page, search_results) the given URL is pointing at
eval/webshop/web_agent_site/envs/web_agent_text_env.py:594
↓ 4 callersFunctionh
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 4 callersFunctionllm_accuracy_score
(question, prediction, ground_truth)
eval/hotpotqa/run_eval.py:54
↓ 4 callersFunctionmc
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 4 callersMethodrender
(self, mode='human')
eval/webshop/web_agent_site/envs/web_agent_site_env.py:205
↓ 4 callersMethodsearch
Wrapper for `receive` handler for performing search action on current page
eval/webshop/web_agent_site/envs/web_agent_text_env.py:636
↓ 4 callersFunctionxl
(l,c)
docs/static/js/fontawesome.all.min.js:5
↓ 4 callersFunctionyc
(h)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionAc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionBc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionCl
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionIc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionLl
(z,a)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionM
(c,z)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersMethodParagraphRetrieve
(x)
eval/hotpotqa/qa_tool.py:46
↓ 3 callersMethodParagraphRetrieve
(x)
eval/strategyqa/qa_tool.py:44
↓ 3 callersFunctionTc
(c,l,h,z)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionXc
()
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersMethod_parse_html
Returns web request result wrapped in BeautifulSoup object Arguments: url (`str`): If no url or html is provided, use the cu
eval/webshop/web_agent_site/envs/web_agent_site_env.py:122
↓ 3 callersFunction_toConsumableArray
(arr)
docs/static/js/bulma-carousel.js:275
↓ 3 callersFunctionaggregate_multi_datasets
(domain)
data/process_for_train.py:55
↓ 3 callersFunctionclean_str
(p)
eval/hotpotqa/utils.py:79
↓ 3 callersFunctionclean_str
(p)
eval/strategyqa/utils.py:79
↓ 3 callersFunctionclean_text
(text)
eval/mind2web/data_utils/dom_utils.py:135
↓ 3 callersFunctione
()
docs/static/js/bulma-carousel.min.js:1
↓ 3 callersFunctione
()
docs/static/js/bulma-slider.min.js:1
↓ 3 callersFunctionexecute
(action, inter_results, subgoals=None, idx=None, orig_question=None)
eval/hotpotqa/run_eval.py:81
↓ 3 callersFunctionexecute
(action, inter_results, subgoals=None, idx=None)
eval/strategyqa/run_eval.py:25
↓ 3 callersFunctionget_data_split
(data)
eval/mind2web/dataloader.py:76
↓ 3 callersFunctionget_max_idx
(x, k)
eval/webshop/shop_tool.py:18
↓ 3 callersFunctionget_page_obs
(page, num=None)
eval/hotpotqa/utils.py:85
↓ 3 callersFunctionget_page_obs
(page, num=None)
eval/strategyqa/utils.py:85
↓ 3 callersFunctionn
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionparse_action
Parse action string to action name and its arguments.
eval/webshop/web_agent_site/engine/engine.py:117
↓ 3 callersFunctionprune_tree
( dom_tree, candidate_set, max_depth=5, max_children=50, max_sibling=3, )
eval/mind2web/data_utils/dom_utils.py:205
↓ 3 callersFunctionqc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersMethodreceive
Map action to the corresponding page
eval/webshop/web_agent_site/envs/web_agent_text_env.py:508
↓ 3 callersFunctionsave_with_accelerate
(accelerator, model, tokenizer, output_dir, args)
model/finetune.py:324
↓ 3 callersFunctiontc
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionv
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 3 callersFunctionwc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionAl
(n,V)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionGc
(c,l,h)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionHc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionMc
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionOc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionQc
(c,l)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionSc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionW
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionZc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersFunctionZl
()
docs/static/js/fontawesome.all.min.js:5
↓ 2 callersMethod__init__
(self)
eval/webshop/web_agent_site/models/models.py:13
next →1–100 of 387, ranked by callers