MCPcopy Create free account

hub / github.com/WangHanLinHenry/SPA-RL-Agent / functions

Functions947 in github.com/WangHanLinHenry/SPA-RL-Agent

Functionreceive_heart_beat
(request: Request)
fastchat/serve/controller.py:289
Functionrefresh_all_workers
()
fastchat/serve/controller.py:271
Functionregenerate
(state, request: gr.Request)
fastchat/serve/gradio_web_server.py:229
Functionregenerate
(state0, state1, request: gr.Request)
fastchat/serve/gradio_block_arena_named.py:120
Functionregenerate
(state0, state1, request: gr.Request)
fastchat/serve/gradio_block_arena_anony.py:132
Functionregister_worker
(request: Request)
fastchat/serve/controller.py:263
Functionremove_duplicate_edge
(input_dict)
eval_agent/main_vh.py:210
Methodrender
(self, mode='human')
envs/webshop/src/webshop/web_agent_site/envs/web_agent_site_env.py:203
Methodrender
(self, mode='human')
envs/webshop/src/webshop/web_agent_site/envs/web_agent_text_env.py:265
Methodreset
(self, game_files=None)
eval_agent/envs/virtualhome_env.py:557
Methodreset
(self)
eval_agent/envs/webshop_env.py:90
Methodreset
(self, game_files=None)
eval_agent/envs/alfworld_env.py:92
Methodreset
(self, game_files=None)
eval_agent/envs/alfworld_env.py:192
Functionrightvote_last_response
( state0, state1, model_selector0, model_selector1, request: gr.Request )
fastchat/serve/gradio_block_arena_named.py:90
Functionrightvote_last_response
( state0, state1, model_selector0, model_selector1, request: gr.Request )
fastchat/serve/gradio_block_arena_anony.py:102
Functionrun_episode
Interact with amazon to find a product given input goal. Input: text goal Output: a url of found item on amazon.
envs/webshop/src/webshop/transfer/app.py:136
Functionsearch_results
(session_id, keywords, page)
envs/webshop/src/webshop/web_agent_site/app.py:111
Functionsend_request
(results, i)
fastchat/serve/test_throughput.py:49
Functionshare_click
(state0, state1, model_selector0, model_selector1, request: gr.Request)
fastchat/serve/gradio_block_arena_named.py:139
Functionshare_click
(state0, state1, model_selector0, model_selector1, request: gr.Request)
fastchat/serve/gradio_block_arena_anony.py:153
Functionshow_available_models
()
fastchat/serve/openai_api_server.py:365
Functionskip
(*args, **kwargs)
fastchat/modules/awq.py:41
Methodstate
State that includes all information. The actual observation are likely to be a subset or reduced form of the state.
envs/webshop/src/webshop/web_agent_site/envs/web_agent_site_env.py:157
Methodstate
State that includes all information. The actual observation are likely to be a subset or reduced form of the state.
envs/webshop/src/webshop/web_agent_site/envs/web_agent_text_env.py:201
Functionstep
(self, inputStr:str)
eval_agent/utils/replace_sciworld_score.py:4
Methodstep
(self, llm_output: str)
eval_agent/envs/virtualhome_env.py:507
Methodstep
(self, llm_output: str)
eval_agent/envs/webshop_env.py:38
Methodstep
(self, llm_output: List[str])
eval_agent/envs/alfworld_env.py:136
Methodstep
Takes an action, updates WebShop environment, and returns (observation, reward, done, info) Arguments: action (`str`): An ac
envs/webshop/src/webshop/web_agent_site/envs/web_agent_text_env.py:88
Functionstr2program_list
这个代码的功能是将allowed action里面的动作给转化为virtualhome中的标准格式 比如: input: ["close address_book","close address_book","close address_book"] output:
eval_agent/main_vh.py:113
Methodstream_output
(self, output_stream)
fastchat/serve/cli.py:61
Methodstream_output
(self, output_stream)
fastchat/serve/cli.py:176
Functiontag_openai_moderation
(x)
fastchat/serve/monitor/tag_openai_moderation.py:33
Functiontag_visible
(element)
envs/webshop/src/webshop/transfer/predict_help.py:395
Functiontag_visible
Helper method to strip HTML block of extraneous tags
envs/webshop/src/webshop/web_agent_site/envs/web_agent_site_env.py:212
Functiontag_visible
(element)
envs/webshop/src/webshop/web_agent_site/envs/web_agent_text_env.py:272
Functiontievote_last_response
( state0, state1, model_selector0, model_selector1, request: gr.Request )
fastchat/serve/gradio_block_arena_named.py:100
Functiontievote_last_response
( state0, state1, model_selector0, model_selector1, request: gr.Request )
fastchat/serve/gradio_block_arena_anony.py:112
Methodto_gradio_chatbot
Convert the conversation to gradio chatbot format.
fastchat/conversation.py:281
Methodtokenize_row
Tokenize a single row from a DPO specific dataset. At this stage, we don't convert to PyTorch tensors yet; we just handle the truncation
fastchat/train/dpo_trainer.py:555
Functiontrainer_save_model_safe
(trainer: transformers.Trainer)
fastchat/train/train_ppo.py:89
Functionupdate_worker
(max_num_files, interval, elo_results_file)
fastchat/serve/monitor/monitor.py:94
Functionupvote_last_response
(state, model_selector, request: gr.Request)
fastchat/serve/gradio_web_server.py:208
Functionvalidation_exception_handler
(request, exc)
fastchat/serve/openai_api_server.py:137
Functionworker_api_generate_stream
(request: Request)
fastchat/serve/controller.py:296
Functionworker_api_get_status
(request: Request)
fastchat/serve/controller.py:303
Functionxformers_forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None, position_i
fastchat/train/llama_xformers_attn_monkey_patch.py:23
← previous901–947 of 947, ranked by callers