Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/allenai/lumos
/ functions
Functions
387 in github.com/allenai/lumos
⨍
Functions
387
◇
Types & classes
19
↳
Endpoints
5
↓ 1 callers
Function
get_max_idx
(x, k)
eval/strategyqa/utils.py:67
↓ 1 callers
Function
get_option_reward
Calculate reward for purchased product's options w.r.t. goal options
eval/webshop/web_agent_site/engine/goal.py:211
↓ 1 callers
Function
get_product_per_page
(top_n_products, page)
eval/webshop/web_agent_site/engine/engine.py:176
↓ 1 callers
Function
get_reward
Get cumulative reward score for purchased product and goal
eval/webshop/web_agent_site/engine/goal.py:230
↓ 1 callers
Method
get_reward
Get reward value at current step of the environment
eval/webshop/web_agent_site/envs/web_agent_site_env.py:138
↓ 1 callers
Function
get_stop_words
()
eval/webshop/web_agent_site/attributes/generate_attrs.py:22
↓ 1 callers
Function
get_synthetic_goals
(all_products, product_prices)
eval/webshop/web_agent_site/engine/goal.py:70
↓ 1 callers
Function
get_top_attrs
(attributes, k)
eval/webshop/web_agent_site/attributes/generate_attrs.py:60
↓ 1 callers
Function
get_top_n_product_from_keywords
( keywords, search_engine, all_products, product_item_dict, attribute_
eval/webshop/web_agent_site/engine/engine.py:148
↓ 1 callers
Function
get_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 callers
Function
init_search_engine
(num_products=None)
eval/webshop/web_agent_site/engine/engine.py:195
↓ 1 callers
Function
isHTML5
(unknown)
docs/static/js/bulma-carousel.js:255
↓ 1 callers
Function
isString
(unknown)
docs/static/js/bulma-slider.js:98
↓ 1 callers
Function
isVimeo
(unknown)
docs/static/js/bulma-carousel.js:264
↓ 1 callers
Function
isYoutube
(unknown)
docs/static/js/bulma-carousel.js:261
↓ 1 callers
Function
isalphain
(x)
eval/gsm/utils.py:20
↓ 1 callers
Function
isalphain
(x)
eval/svamp/utils.py:20
↓ 1 callers
Method
item_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 callers
Function
l
(t)
docs/static/js/bulma-slider.min.js:1
↓ 1 callers
Function
load_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 callers
Function
lower
(text)
eval/hotpotqa/run_eval.py:27
↓ 1 callers
Function
lumos_iterative
(args)
eval/hotpotqa/run_eval.py:198
↓ 1 callers
Function
lumos_iterative
(args)
eval/gsm/run_eval.py:60
↓ 1 callers
Function
lumos_iterative
(args)
eval/strategyqa/run_eval.py:129
↓ 1 callers
Function
lumos_iterative
(args)
eval/svamp/run_eval.py:61
↓ 1 callers
Function
lumos_iterative
(args)
eval/mind2web/run_eval.py:105
↓ 1 callers
Function
lumos_iterative
(args)
eval/webshop/run_eval.py:70
↓ 1 callers
Function
lumos_onetime
(args)
eval/hotpotqa/run_eval.py:331
↓ 1 callers
Function
lumos_onetime
(args)
eval/gsm/run_eval.py:206
↓ 1 callers
Function
lumos_onetime
(args)
eval/strategyqa/run_eval.py:257
↓ 1 callers
Function
lumos_onetime
(args)
eval/svamp/run_eval.py:196
↓ 1 callers
Function
main
()
model/finetune.py:342
↓ 1 callers
Function
main
()
model/finetune_trainer.py:141
↓ 1 callers
Function
main
(args)
data/prompt_convertion.py:287
↓ 1 callers
Function
main
(args)
data/process_for_train.py:384
↓ 1 callers
Function
maths_convertion
(args)
data/prompt_convertion.py:12
↓ 1 callers
Function
o
(t)
docs/static/js/bulma-slider.min.js:1
↓ 1 callers
Function
parse_actions
(x)
eval/hotpotqa/utils.py:114
↓ 1 callers
Function
parse_actions
(x)
eval/gsm/utils.py:109
↓ 1 callers
Function
parse_actions
(x)
eval/strategyqa/utils.py:114
↓ 1 callers
Function
parse_actions
(x)
eval/svamp/utils.py:109
↓ 1 callers
Function
parse_actions
(x)
eval/webshop/utils.py:20
↓ 1 callers
Function
parse_args
()
model/merge_lora.py:7
↓ 1 callers
Function
parse_args
()
model/finetune.py:39
↓ 1 callers
Function
parse_equation
(x)
eval/gsm/utils.py:44
↓ 1 callers
Function
parse_equation
(x)
eval/svamp/utils.py:44
↓ 1 callers
Function
parse_func_args
(x)
eval/gsm/utils.py:26
↓ 1 callers
Function
parse_func_args
(x)
eval/svamp/utils.py:26
↓ 1 callers
Function
pl
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 1 callers
Function
preloadInterpolationImages
()
docs/static/js/index.js:7
↓ 1 callers
Function
process_tag
(x)
eval/mind2web/run_eval.py:17
↓ 1 callers
Function
process_trace
(trace_file, page)
eval/mind2web/data_utils/process_trace.py:27
↓ 1 callers
Function
random_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 callers
Function
remove_articles
(text)
eval/hotpotqa/run_eval.py:17
↓ 1 callers
Function
remove_punc
(text)
eval/hotpotqa/run_eval.py:23
↓ 1 callers
Method
save_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 callers
Function
search_step
(x, typ=None)
eval/hotpotqa/utils.py:17
↓ 1 callers
Function
search_step
(x, typ=None)
eval/strategyqa/utils.py:17
↓ 1 callers
Function
sl
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 1 callers
Function
translate_action
(action)
eval/mind2web/run_eval.py:84
↓ 1 callers
Function
web_agent_convertion
(args)
data/prompt_convertion.py:226
↓ 1 callers
Function
white_space_fix
(text)
eval/hotpotqa/run_eval.py:20
↓ 1 callers
Function
xc
(c)
docs/static/js/fontawesome.all.min.js:5
↓ 1 callers
Function
yl
(a)
docs/static/js/fontawesome.all.min.js:5
Function
$c
()
docs/static/js/fontawesome.all.min.js:5
Function
Autoplay
(slider)
docs/static/js/bulma-carousel.js:1042
Function
Breakpoints
(slider)
docs/static/js/bulma-carousel.js:1216
Function
Coordinate
()
docs/static/js/bulma-carousel.js:329
Method
Count
(x)
eval/gsm/math_tool.py:48
Method
Count
(x)
eval/svamp/math_tool.py:48
Function
EventEmitter
()
docs/static/js/bulma-slider.js:286
Function
EventEmitter
()
docs/static/js/bulma-carousel.js:280
Function
Fade
(transitioner, slider)
docs/static/js/bulma-carousel.js:2054
Function
Infinite
(slider)
docs/static/js/bulma-carousel.js:1354
Function
J
()
docs/static/js/fontawesome.all.min.js:5
Function
Loop
(slider)
docs/static/js/bulma-carousel.js:1434
Function
Navigation
(slider)
docs/static/js/bulma-carousel.js:1502
Function
Pagination
(slider)
docs/static/js/bulma-carousel.js:1653
Method
SearchQuery
(x)
eval/hotpotqa/qa_tool.py:26
Method
SearchQuery
(x)
eval/strategyqa/qa_tool.py:24
Function
Sl
(c)
docs/static/js/fontawesome.all.min.js:5
Method
SolveInequality
(x)
eval/gsm/math_tool.py:42
Method
SolveInequality
(x)
eval/svamp/math_tool.py:42
Function
Swipe
(slider)
docs/static/js/bulma-carousel.js:1812
Function
Transitioner
(slider)
docs/static/js/bulma-carousel.js:1954
Function
Translate
(transitioner, slider)
docs/static/js/bulma-carousel.js:2190
Function
Vc
(c)
docs/static/js/fontawesome.all.min.js:5
Function
WA_result
(question)
eval/hotpotqa/utils.py:72
Function
WA_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
← previous
next →
201–300 of 387, ranked by callers