MCPcopy Create free account

hub / github.com/allenai/lumos / functions

Functions387 in github.com/allenai/lumos

↓ 1 callersFunctionget_max_idx
(x, k)
eval/strategyqa/utils.py:67
↓ 1 callersFunctionget_option_reward
Calculate reward for purchased product's options w.r.t. goal options
eval/webshop/web_agent_site/engine/goal.py:211
↓ 1 callersFunctionget_product_per_page
(top_n_products, page)
eval/webshop/web_agent_site/engine/engine.py:176
↓ 1 callersFunctionget_reward
Get cumulative reward score for purchased product and goal
eval/webshop/web_agent_site/engine/goal.py:230
↓ 1 callersMethodget_reward
Get reward value at current step of the environment
eval/webshop/web_agent_site/envs/web_agent_site_env.py:138
↓ 1 callersFunctionget_stop_words
()
eval/webshop/web_agent_site/attributes/generate_attrs.py:22
↓ 1 callersFunctionget_synthetic_goals
(all_products, product_prices)
eval/webshop/web_agent_site/engine/goal.py:70
↓ 1 callersFunctionget_top_attrs
(attributes, k)
eval/webshop/web_agent_site/attributes/generate_attrs.py:60
↓ 1 callersFunctionget_top_n_product_from_keywords
( keywords, search_engine, all_products, product_item_dict, attribute_
eval/webshop/web_agent_site/engine/engine.py:148
↓ 1 callersFunctionget_type_reward
Determines the type reward - captures whether chosen product is in the same category
eval/webshop/web_agent_site/engine/goal.py:132
↓ 1 callersFunctioninit_search_engine
(num_products=None)
eval/webshop/web_agent_site/engine/engine.py:195
↓ 1 callersFunctionisHTML5
(unknown)
docs/static/js/bulma-carousel.js:255
↓ 1 callersFunctionisString
(unknown)
docs/static/js/bulma-slider.js:98
↓ 1 callersFunctionisVimeo
(unknown)
docs/static/js/bulma-carousel.js:264
↓ 1 callersFunctionisYoutube
(unknown)
docs/static/js/bulma-carousel.js:261
↓ 1 callersFunctionisalphain
(x)
eval/gsm/utils.py:20
↓ 1 callersFunctionisalphain
(x)
eval/svamp/utils.py:20
↓ 1 callersMethoditem_sub_page
Render and return the HTML for a product's sub page (i.e. description, features)
eval/webshop/web_agent_site/envs/web_agent_text_env.py:442
↓ 1 callersFunctionl
(t)
docs/static/js/bulma-slider.min.js:1
↓ 1 callersFunctionload_products
Loads products from the `items.json` file and combine them with reviews through `asin`. Return: dict[asin, product]
eval/webshop/web_agent_site/attributes/generate_attrs.py:28
↓ 1 callersFunctionlower
(text)
eval/hotpotqa/run_eval.py:27
↓ 1 callersFunctionlumos_iterative
(args)
eval/hotpotqa/run_eval.py:198
↓ 1 callersFunctionlumos_iterative
(args)
eval/gsm/run_eval.py:60
↓ 1 callersFunctionlumos_iterative
(args)
eval/strategyqa/run_eval.py:129
↓ 1 callersFunctionlumos_iterative
(args)
eval/svamp/run_eval.py:61
↓ 1 callersFunctionlumos_iterative
(args)
eval/mind2web/run_eval.py:105
↓ 1 callersFunctionlumos_iterative
(args)
eval/webshop/run_eval.py:70
↓ 1 callersFunctionlumos_onetime
(args)
eval/hotpotqa/run_eval.py:331
↓ 1 callersFunctionlumos_onetime
(args)
eval/gsm/run_eval.py:206
↓ 1 callersFunctionlumos_onetime
(args)
eval/strategyqa/run_eval.py:257
↓ 1 callersFunctionlumos_onetime
(args)
eval/svamp/run_eval.py:196
↓ 1 callersFunctionmain
()
model/finetune.py:342
↓ 1 callersFunctionmain
()
model/finetune_trainer.py:141
↓ 1 callersFunctionmain
(args)
data/prompt_convertion.py:287
↓ 1 callersFunctionmain
(args)
data/process_for_train.py:384
↓ 1 callersFunctionmaths_convertion
(args)
data/prompt_convertion.py:12
↓ 1 callersFunctiono
(t)
docs/static/js/bulma-slider.min.js:1
↓ 1 callersFunctionparse_actions
(x)
eval/hotpotqa/utils.py:114
↓ 1 callersFunctionparse_actions
(x)
eval/gsm/utils.py:109
↓ 1 callersFunctionparse_actions
(x)
eval/strategyqa/utils.py:114
↓ 1 callersFunctionparse_actions
(x)
eval/svamp/utils.py:109
↓ 1 callersFunctionparse_actions
(x)
eval/webshop/utils.py:20
↓ 1 callersFunctionparse_args
()
model/merge_lora.py:7
↓ 1 callersFunctionparse_args
()
model/finetune.py:39
↓ 1 callersFunctionparse_equation
(x)
eval/gsm/utils.py:44
↓ 1 callersFunctionparse_equation
(x)
eval/svamp/utils.py:44
↓ 1 callersFunctionparse_func_args
(x)
eval/gsm/utils.py:26
↓ 1 callersFunctionparse_func_args
(x)
eval/svamp/utils.py:26
↓ 1 callersFunctionpl
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 1 callersFunctionpreloadInterpolationImages
()
docs/static/js/index.js:7
↓ 1 callersFunctionprocess_tag
(x)
eval/mind2web/run_eval.py:17
↓ 1 callersFunctionprocess_trace
(trace_file, page)
eval/mind2web/data_utils/process_trace.py:27
↓ 1 callersFunctionrandom_idx
Generate random index by sampling uniformly from sum of all weights, then selecting the `min` between the position to keep the list sorted (via bi
eval/webshop/web_agent_site/utils.py:22
↓ 1 callersFunctionremove_articles
(text)
eval/hotpotqa/run_eval.py:17
↓ 1 callersFunctionremove_punc
(text)
eval/hotpotqa/run_eval.py:23
↓ 1 callersMethodsave_model
Will save the model, so you can reload it using `from_pretrained()`. Will only save from the main process.
model/safe_save_trainer.py:26
↓ 1 callersFunctionsearch_step
(x, typ=None)
eval/hotpotqa/utils.py:17
↓ 1 callersFunctionsearch_step
(x, typ=None)
eval/strategyqa/utils.py:17
↓ 1 callersFunctionsl
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 1 callersFunctiontranslate_action
(action)
eval/mind2web/run_eval.py:84
↓ 1 callersFunctionweb_agent_convertion
(args)
data/prompt_convertion.py:226
↓ 1 callersFunctionwhite_space_fix
(text)
eval/hotpotqa/run_eval.py:20
↓ 1 callersFunctionxc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 1 callersFunctionyl
(a)
docs/static/js/fontawesome.all.min.js:5
Function$c
()
docs/static/js/fontawesome.all.min.js:5
FunctionAutoplay
(slider)
docs/static/js/bulma-carousel.js:1042
FunctionBreakpoints
(slider)
docs/static/js/bulma-carousel.js:1216
FunctionCoordinate
()
docs/static/js/bulma-carousel.js:329
MethodCount
(x)
eval/gsm/math_tool.py:48
MethodCount
(x)
eval/svamp/math_tool.py:48
FunctionEventEmitter
()
docs/static/js/bulma-slider.js:286
FunctionEventEmitter
()
docs/static/js/bulma-carousel.js:280
FunctionFade
(transitioner, slider)
docs/static/js/bulma-carousel.js:2054
FunctionInfinite
(slider)
docs/static/js/bulma-carousel.js:1354
FunctionJ
()
docs/static/js/fontawesome.all.min.js:5
FunctionLoop
(slider)
docs/static/js/bulma-carousel.js:1434
FunctionNavigation
(slider)
docs/static/js/bulma-carousel.js:1502
FunctionPagination
(slider)
docs/static/js/bulma-carousel.js:1653
MethodSearchQuery
(x)
eval/hotpotqa/qa_tool.py:26
MethodSearchQuery
(x)
eval/strategyqa/qa_tool.py:24
FunctionSl
(c)
docs/static/js/fontawesome.all.min.js:5
MethodSolveInequality
(x)
eval/gsm/math_tool.py:42
MethodSolveInequality
(x)
eval/svamp/math_tool.py:42
FunctionSwipe
(slider)
docs/static/js/bulma-carousel.js:1812
FunctionTransitioner
(slider)
docs/static/js/bulma-carousel.js:1954
FunctionTranslate
(transitioner, slider)
docs/static/js/bulma-carousel.js:2190
FunctionVc
(c)
docs/static/js/fontawesome.all.min.js:5
FunctionWA_result
(question)
eval/hotpotqa/utils.py:72
FunctionWA_result
(question)
eval/strategyqa/utils.py:72
Method__call__
(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
eval/utils.py:17
Method__getitem__
(self, idx)
eval/mind2web/action_dataloader.py:150
Method__getitem__
(self, idx)
eval/mind2web/dataloader.py:54
Method__init__
(self, stop_id_sequences)
eval/utils.py:13
Method__init__
( self, data, tokenizer, neg_ratio=5, num_candidates=5, max_co
eval/mind2web/action_dataloader.py:129
Method__init__
(self, data=None, neg_ratio=5)
eval/mind2web/dataloader.py:47
Method__init__
Constructor for HTML environment Arguments: observation_mode (`str`) -- ['html' | 'text'] (default 'html') pause (`f
eval/webshop/web_agent_site/envs/web_agent_site_env.py:23
Method__init__
Constructor for text environment Arguments: observation_mode (`str`) -- ['html' | 'text'] (default 'html') get_image
eval/webshop/web_agent_site/envs/web_agent_text_env.py:35
Method__init__
(self, server)
eval/webshop/web_agent_site/envs/web_agent_text_env.py:612
Method__init__
(self)
eval/webshop/web_agent_site/models/models.py:36
Method__init__
(self)
eval/webshop/web_agent_site/models/models.py:45
← previousnext →201–300 of 387, ranked by callers