Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WangHanLinHenry/SPA-RL-Agent
/ functions
Functions
947 in github.com/WangHanLinHenry/SPA-RL-Agent
⨍
Functions
947
◇
Types & classes
225
↳
Endpoints
55
Function
receive_heart_beat
(request: Request)
fastchat/serve/controller.py:289
Function
refresh_all_workers
()
fastchat/serve/controller.py:271
Function
regenerate
(state, request: gr.Request)
fastchat/serve/gradio_web_server.py:229
Function
regenerate
(state0, state1, request: gr.Request)
fastchat/serve/gradio_block_arena_named.py:120
Function
regenerate
(state0, state1, request: gr.Request)
fastchat/serve/gradio_block_arena_anony.py:132
Function
register_worker
(request: Request)
fastchat/serve/controller.py:263
Function
remove_duplicate_edge
(input_dict)
eval_agent/main_vh.py:210
Method
render
(self, mode='human')
envs/webshop/src/webshop/web_agent_site/envs/web_agent_site_env.py:203
Method
render
(self, mode='human')
envs/webshop/src/webshop/web_agent_site/envs/web_agent_text_env.py:265
Method
reset
(self, game_files=None)
eval_agent/envs/virtualhome_env.py:557
Method
reset
(self)
eval_agent/envs/webshop_env.py:90
Method
reset
(self, game_files=None)
eval_agent/envs/alfworld_env.py:92
Method
reset
(self, game_files=None)
eval_agent/envs/alfworld_env.py:192
Function
rightvote_last_response
( state0, state1, model_selector0, model_selector1, request: gr.Request )
fastchat/serve/gradio_block_arena_named.py:90
Function
rightvote_last_response
( state0, state1, model_selector0, model_selector1, request: gr.Request )
fastchat/serve/gradio_block_arena_anony.py:102
Function
run_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
Function
search_results
(session_id, keywords, page)
envs/webshop/src/webshop/web_agent_site/app.py:111
Function
send_request
(results, i)
fastchat/serve/test_throughput.py:49
Function
share_click
(state0, state1, model_selector0, model_selector1, request: gr.Request)
fastchat/serve/gradio_block_arena_named.py:139
Function
share_click
(state0, state1, model_selector0, model_selector1, request: gr.Request)
fastchat/serve/gradio_block_arena_anony.py:153
Function
show_available_models
()
fastchat/serve/openai_api_server.py:365
Function
skip
(*args, **kwargs)
fastchat/modules/awq.py:41
Method
state
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
Method
state
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
Function
step
(self, inputStr:str)
eval_agent/utils/replace_sciworld_score.py:4
Method
step
(self, llm_output: str)
eval_agent/envs/virtualhome_env.py:507
Method
step
(self, llm_output: str)
eval_agent/envs/webshop_env.py:38
Method
step
(self, llm_output: List[str])
eval_agent/envs/alfworld_env.py:136
Method
step
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
Function
str2program_list
这个代码的功能是将allowed action里面的动作给转化为virtualhome中的标准格式 比如: input: ["close address_book","close address_book","close address_book"] output:
eval_agent/main_vh.py:113
Method
stream_output
(self, output_stream)
fastchat/serve/cli.py:61
Method
stream_output
(self, output_stream)
fastchat/serve/cli.py:176
Function
tag_openai_moderation
(x)
fastchat/serve/monitor/tag_openai_moderation.py:33
Function
tag_visible
(element)
envs/webshop/src/webshop/transfer/predict_help.py:395
Function
tag_visible
Helper method to strip HTML block of extraneous tags
envs/webshop/src/webshop/web_agent_site/envs/web_agent_site_env.py:212
Function
tag_visible
(element)
envs/webshop/src/webshop/web_agent_site/envs/web_agent_text_env.py:272
Function
tievote_last_response
( state0, state1, model_selector0, model_selector1, request: gr.Request )
fastchat/serve/gradio_block_arena_named.py:100
Function
tievote_last_response
( state0, state1, model_selector0, model_selector1, request: gr.Request )
fastchat/serve/gradio_block_arena_anony.py:112
Method
to_gradio_chatbot
Convert the conversation to gradio chatbot format.
fastchat/conversation.py:281
Method
tokenize_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
Function
trainer_save_model_safe
(trainer: transformers.Trainer)
fastchat/train/train_ppo.py:89
Function
update_worker
(max_num_files, interval, elo_results_file)
fastchat/serve/monitor/monitor.py:94
Function
upvote_last_response
(state, model_selector, request: gr.Request)
fastchat/serve/gradio_web_server.py:208
Function
validation_exception_handler
(request, exc)
fastchat/serve/openai_api_server.py:137
Function
worker_api_generate_stream
(request: Request)
fastchat/serve/controller.py:296
Function
worker_api_get_status
(request: Request)
fastchat/serve/controller.py:303
Function
xformers_forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None, position_i
fastchat/train/llama_xformers_attn_monkey_patch.py:23
← previous
901–947 of 947, ranked by callers