MCPcopy Create free account

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

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

Method__getitem__
(self, i)
fastchat/train/train_mistral.py:215
Method__getitem__
(self, i)
fastchat/train/train_mistral.py:239
Method__getitem__
(self, i)
fastchat/train/train_baichuan.py:199
Method__getitem__
(self, i)
fastchat/train/train_baichuan.py:221
Method__getitem__
(self, i)
prm/train_our_progress_model.py:365
Method__getitem__
(self, i)
prm/inference_prm.py:358
Method__init__
The history should be a format like: [ {"role": "system", "content": "You are a helpful assistant."}, {"role"
eval_agent/utils/datatypes.py:14
Method__init__
( self, task_path, **kwargs, )
eval_agent/envs/virtualhome_env.py:393
Method__init__
( self, instruction_path: str, icl_path: str, icl_format: str = "first",
eval_agent/envs/base.py:9
Method__init__
( self, task: WebShopTask, env: WebAgentTextEnv, **kwargs, )
eval_agent/envs/webshop_env.py:17
Method__init__
( self, task: AlfWorldTask, batch_size: int, **kwargs, )
eval_agent/envs/alfworld_env.py:109
Method__init__
( self, session_id: str, **kwargs, )
eval_agent/tasks/webshop.py:14
Method__init__
(self, **kwargs)
eval_agent/tasks/base.py:17
Method__init__
( self, game_file: str, env: envs.AlfredTWEnv, obs: str, **kwargs,
eval_agent/tasks/alfworld.py:30
Method__init__
( self, idx: Any, env: SqlEnv, obs: str, **kwargs, )
eval_agent/tasks/intercode_sql.py:24
Method__init__
(self, config)
eval_agent/agents/openai_lm_agent.py:11
Method__init__
(self, config: Mapping[str, Any])
eval_agent/agents/base.py:10
Method__init__
( self, config )
eval_agent/agents/fastchat_agent.py:26
Method__init__
(self, args)
ppo/step_ppo.py:49
Method__init__
Constructor for HTML environment Arguments: observation_mode (`str`) -- ['html' | 'text'] (default 'html') pause (`f
envs/webshop/src/webshop/web_agent_site/envs/web_agent_site_env.py:21
Method__init__
Constructor for text environment Arguments: observation_mode (`str`) -- ['html' | 'text'] (default 'html') get_image
envs/webshop/src/webshop/web_agent_site/envs/web_agent_text_env.py:37
Method__init__
(self, server)
envs/webshop/src/webshop/web_agent_site/envs/web_agent_text_env.py:754
Method__init__
(self)
envs/webshop/src/webshop/web_agent_site/models/models.py:34
Method__init__
(self)
envs/webshop/src/webshop/web_agent_site/models/models.py:43
Method__init__
(self, logger, log_level=logging.INFO)
fastchat/utils.py:83
Method__init__
(self, xft_model, xft_config)
fastchat/modules/xfastertransformer.py:19
Method__init__
(self, exllama_model, exllama_cache)
fastchat/modules/exllama.py:13
Method__init__
( self, controller_addr: str, worker_addr: str, worker_id: str, model_
fastchat/serve/model_worker.py:40
Method__init__
( self, controller_addr: str, worker_addr: str, worker_id: str, model_
fastchat/serve/huggingface_api_worker.py:85
Method__init__
(self, multiline: bool = False)
fastchat/serve/cli.py:41
Method__init__
(self, multiline: bool = False, mouse: bool = False)
fastchat/serve/cli.py:84
Method__init__
( self, controller_addr: str, worker_addr: str, worker_id: str, model_
fastchat/serve/vllm_worker.py:32
Method__init__
(self, model_name)
fastchat/serve/gradio_web_server.py:87
Method__init__
(self, dispatch_method: str)
fastchat/serve/controller.py:64
Method__init__
( self, controller_addr: str, worker_addr: str, worker_id: str, model_
fastchat/serve/base_model_worker.py:28
Method__init__
(self, model_path)
fastchat/model/rwkv_model.py:15
Method__init__
( self, dim, ratio, max_position_embeddings=2048, base=10000, device=None )
fastchat/model/llama_condense_monkey_patch.py:11
Method__init__
(self, weight=None, bias=None, device=None)
fastchat/model/compression.py:42
Method__init__
(self, raw_data, tokenizer: transformers.PreTrainedTokenizer, model_path: str = None)
fastchat/train/train.py:429
Method__init__
( self, data_path: str, tokenizer: transformers.PreTrainedTokenizer, preproces
fastchat/train/train_flant5.py:269
Method__init__
(self, raw_data, tokenizer: transformers.PreTrainedTokenizer, model_path: str = None)
fastchat/train/train_mistral.py:226
Method__init__
(self, raw_data, tokenizer: transformers.PreTrainedTokenizer)
fastchat/train/train_baichuan.py:210
Method__init__
( self, model: Union[PreTrainedModel, nn.Module, str] = None, ref_model: Optional[Unio
fastchat/train/dpo_trainer.py:127
Method__init__
Initialize PPOTrainer. Args: config (`PPOConfig`): Configuration object for PPOTrainer. Check the docume
fastchat/train/ppo_trainer.py:130
Method__init__
Initialize RewardTrainer. Args: model (`transformers.PreTrainedModel`): The model to train, preferably a
fastchat/train/reward_trainer.py:125
Method__init__
(self, raw_data, tokenizer: transformers.PreTrainedTokenizer, model_path: str = None)
prm/train_our_progress_model.py:346
Method__init__
(self, raw_data, tokenizer: transformers.PreTrainedTokenizer, model_path: str = None)
prm/inference_prm.py:339
Method__len__
(self)
fastchat/train/train.py:415
Method__len__
(self)
fastchat/train/train.py:439
Method__len__
(self)
fastchat/train/train_flant5.py:342
Method__len__
(self)
fastchat/train/train_mistral.py:212
Method__len__
(self)
fastchat/train/train_mistral.py:236
Method__len__
(self)
fastchat/train/train_baichuan.py:196
Method__len__
(self)
fastchat/train/train_baichuan.py:218
Method__len__
(self)
prm/train_our_progress_model.py:362
Method__len__
(self)
prm/inference_prm.py:355
Method_filter_kwargs
filter the keyword arguments that are supported by the target function. Args: kwargs (dict): Keyword arg
fastchat/train/ppo_trainer.py:351
Function_format_arg
(arg)
eval_agent/main_vh.py:120
Function_format_arg
(arg)
eval_agent/envs/virtualhome_env.py:312
Function_prepare_decoder_attention_mask
( self, attention_mask, input_shape, inputs_embeds, past_key_values_length )
fastchat/train/llama_flash_attn_monkey_patch.py:90
Method_save_pretrained
(self, save_directory: str)
fastchat/train/ppo_trainer.py:1389
Method_show_tokens
(self, tokens, masks)
fastchat/train/ppo_trainer.py:1394
Functionabort_request
()
fastchat/serve/vllm_worker.py:174
Methodaction_space
(self)
envs/webshop/src/webshop/web_agent_site/envs/web_agent_site_env.py:182
Methodadd_system_message
( self, messages: List[Dict[str, str]] )
eval_agent/agents/base.py:19
Functionadd_text
(state, model_selector, text, request: gr.Request)
fastchat/serve/gradio_web_server.py:251
Functionadd_text
( state0, state1, model_selector0, model_selector1, text, request: gr.Request )
fastchat/serve/gradio_block_arena_named.py:147
Functionadd_text
( state0, state1, model_selector0, model_selector1, text, request: gr.Request )
fastchat/serve/gradio_block_arena_anony.py:323
Functionapi_count_token
(request: Request)
fastchat/serve/huggingface_api_worker.py:255
Functionapi_count_token
(request: Request)
fastchat/serve/multi_model_worker.py:137
Functionapi_count_token
(request: Request)
fastchat/serve/vllm_worker.py:212
Functionapi_count_token
(request: Request)
fastchat/serve/base_model_worker.py:226
Functionapi_generate
(request: Request)
fastchat/serve/huggingface_api_worker.py:226
Functionapi_generate
(request: Request)
fastchat/serve/multi_model_worker.py:108
Functionapi_generate
(request: Request)
fastchat/serve/vllm_worker.py:195
Functionapi_generate
(request: Request)
fastchat/serve/base_model_worker.py:203
Functionapi_generate_stream
(request: Request)
fastchat/serve/huggingface_api_worker.py:216
Functionapi_generate_stream
(request: Request)
fastchat/serve/multi_model_worker.py:98
Functionapi_generate_stream
(request: Request)
fastchat/serve/vllm_worker.py:184
Functionapi_generate_stream
(request: Request)
fastchat/serve/base_model_worker.py:194
Functionapi_get_conv
(request: Request)
fastchat/serve/huggingface_api_worker.py:262
Functionapi_get_conv
(request: Request)
fastchat/serve/multi_model_worker.py:144
Functionapi_get_conv
(request: Request)
fastchat/serve/vllm_worker.py:218
Functionapi_get_conv
(request: Request)
fastchat/serve/base_model_worker.py:232
Functionapi_get_embeddings
(request: Request)
fastchat/serve/huggingface_api_worker.py:236
Functionapi_get_embeddings
(request: Request)
fastchat/serve/multi_model_worker.py:118
Functionapi_get_embeddings
(request: Request)
fastchat/serve/base_model_worker.py:212
Functionapi_get_status
(request: Request)
fastchat/serve/huggingface_api_worker.py:246
Functionapi_get_status
(request: Request)
fastchat/serve/multi_model_worker.py:128
Functionapi_get_status
(request: Request)
fastchat/serve/vllm_worker.py:207
Functionapi_get_status
(request: Request)
fastchat/serve/base_model_worker.py:221
Functionapi_model_details
(request: Request)
fastchat/serve/huggingface_api_worker.py:269
Functionapi_model_details
(request: Request)
fastchat/serve/multi_model_worker.py:151
Functionapi_model_details
(request: Request)
fastchat/serve/vllm_worker.py:223
Functionapi_model_details
(request: Request)
fastchat/serve/base_model_worker.py:237
Functionbot_response_multi
( state0, state1, temperature, top_p, max_new_tokens, request: gr.Request, )
fastchat/serve/gradio_block_arena_named.py:212
Functionbot_response_multi
( state0, state1, temperature, top_p, max_new_tokens, request: gr.Request, )
fastchat/serve/gradio_block_arena_anony.py:400
Functionbothbad_vote_last_response
( state0, state1, model_selector0, model_selector1, request: gr.Request )
fastchat/serve/gradio_block_arena_named.py:110
Functionbothbad_vote_last_response
( state0, state1, model_selector0, model_selector1, request: gr.Request )
fastchat/serve/gradio_block_arena_anony.py:122
Functionchange_obj_index
(graph, program, id, specific_objects, last_obj_id)
eval_agent/main_vh.py:223
← previousnext →501–600 of 947, ranked by callers