MCPcopy Create free account

hub / github.com/WangHanLinHenry/SPA-RL-Agent / types & classes

Types & classes225 in github.com/WangHanLinHenry/SPA-RL-Agent

↓ 76 callersClassConversation
A class that manages prompt templates and keeps all conversation history.
fastchat/conversation.py:38
↓ 8 callersClassJudge
fastchat/llm_judge/common.py:55
↓ 8 callersClassState
This should contains everything needed to continue the conversation. For example, the history of the conversation, the current task (success/fail
eval_agent/utils/datatypes.py:8
↓ 4 callersClassMatchPair
fastchat/llm_judge/common.py:73
↓ 4 callersClassState
fastchat/serve/gradio_web_server.py:86
↓ 4 callersClassUsageInfo
fastchat/protocol/openai_api_protocol.py:45
↓ 3 callersClassExllamaConfig
fastchat/modules/exllama.py:6
↓ 3 callersClassGptqConfig
fastchat/modules/gptq.py:11
↓ 3 callersClassSupervisedDataset
Dataset for supervised fine-tuning.
prm/train_our_progress_model.py:343
↓ 3 callersClassWebAgentTextEnv
Gym environment for Text mode of WebShop environment
envs/webshop/src/webshop/web_agent_site/envs/web_agent_text_env.py:35
↓ 3 callersClassXftConfig
fastchat/modules/xfastertransformer.py:6
↓ 2 callersClassAWQConfig
fastchat/modules/awq.py:10
↓ 2 callersClassCLinear
Compressed Linear Layer.
fastchat/model/compression.py:39
↓ 2 callersClassChatCompletionResponse
fastchat/protocol/openai_api_protocol.py:84
↓ 2 callersClassChatCompletionResponseChoice
fastchat/protocol/openai_api_protocol.py:78
↓ 2 callersClassChatCompletionResponseStreamChoice
fastchat/protocol/openai_api_protocol.py:98
↓ 2 callersClassChatCompletionStreamResponse
fastchat/protocol/openai_api_protocol.py:104
↓ 2 callersClassChatMessage
fastchat/protocol/openai_api_protocol.py:73
↓ 2 callersClassDPOMultiTrainer
r""" Initialize DPOTrainer. Args: model (`transformers.PreTrainedModel`): The model to train, preferably an `AutoModelFor
fastchat/train/dpo_trainer.py:58
↓ 2 callersClassDeltaMessage
fastchat/protocol/openai_api_protocol.py:93
↓ 2 callersClassMatchSingle
fastchat/llm_judge/common.py:63
↓ 2 callersClassModelWorker
fastchat/serve/model_worker.py:39
↓ 2 callersClassRandomPolicy
envs/webshop/src/webshop/web_agent_site/models/models.py:42
↓ 2 callersClassStreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
fastchat/utils.py:78
↓ 1 callersClassAPITokenCheckResponse
fastchat/protocol/api_protocol.py:122
↓ 1 callersClassAPITokenCheckResponseItem
fastchat/protocol/api_protocol.py:116
↓ 1 callersClassAppSettings
fastchat/serve/openai_api_server.py:96
↓ 1 callersClassCodeBlockStopper
fastchat/model/model_codet5p.py:50
↓ 1 callersClassCompletionResponse
fastchat/protocol/openai_api_protocol.py:174
↓ 1 callersClassCompletionResponseChoice
fastchat/protocol/openai_api_protocol.py:167
↓ 1 callersClassCompletionResponseStreamChoice
fastchat/protocol/openai_api_protocol.py:183
↓ 1 callersClassCompletionStreamResponse
fastchat/protocol/openai_api_protocol.py:190
↓ 1 callersClassCompressionConfig
Group-wise quantization.
fastchat/model/compression.py:24
↓ 1 callersClassController
fastchat/serve/controller.py:63
↓ 1 callersClassDataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
fastchat/train/train_flant5.py:350
↓ 1 callersClassEmbeddingsResponse
fastchat/protocol/openai_api_protocol.py:140
↓ 1 callersClassErrorResponse
fastchat/protocol/openai_api_protocol.py:9
↓ 1 callersClassExllamaModel
fastchat/modules/exllama.py:12
↓ 1 callersClassHuggingfaceApiWorker
fastchat/serve/huggingface_api_worker.py:84
↓ 1 callersClassInvalidScoreLogitsProcessor
fastchat/model/model_chatglm.py:11
↓ 1 callersClassLogProbs
fastchat/protocol/openai_api_protocol.py:51
↓ 1 callersClassModelCard
fastchat/protocol/openai_api_protocol.py:30
↓ 1 callersClassModelList
fastchat/protocol/openai_api_protocol.py:40
↓ 1 callersClassModelPermission
fastchat/protocol/openai_api_protocol.py:15
↓ 1 callersClassPPOMultiTrainer
The PPOTrainer uses Proximal Policy Optimization to optimise language models. Note, this trainer is heavily inspired by the original OpenAI l
fastchat/train/ppo_trainer.py:96
↓ 1 callersClassPage
envs/webshop/src/webshop/transfer/predict_help.py:9
↓ 1 callersClassProgrammaticChatIO
fastchat/serve/cli.py:152
↓ 1 callersClassRewardDataCollatorWithPadding
r""" Reward DataCollator class that pads the inputs to the maximum length of the batch. Args: tokenizer (`PreTrainedTokenizerBase`):
fastchat/train/reward_trainer.py:44
↓ 1 callersClassRewardTrainer
r""" The RewardTrainer can be used to train your custom Reward Model. It is a subclass of the `transformers.Trainer` class and inherits all of
fastchat/train/reward_trainer.py:103
↓ 1 callersClassRichChatIO
fastchat/serve/cli.py:77
↓ 1 callersClassRwkvModel
fastchat/model/rwkv_model.py:14
↓ 1 callersClassSeparatorStyle
Separator styles.
fastchat/conversation.py:13
↓ 1 callersClassSimBrowser
Simulated browser for rendering the HTML source of WebShop environment pages
envs/webshop/src/webshop/web_agent_site/envs/web_agent_text_env.py:752
↓ 1 callersClassSimServer
Lightweight simulator of WebShop Flask application for generating HTML observations
envs/webshop/src/webshop/web_agent_site/envs/web_agent_text_env.py:279
↓ 1 callersClassSimpleChatIO
fastchat/serve/cli.py:40
↓ 1 callersClassStepPPOTrainer
ppo/step_ppotrainer.py:23
↓ 1 callersClassStepToolPPOTrain
ppo/step_ppo.py:34
↓ 1 callersClassSupervisedDataset
Dataset for supervised fine-tuning.
prm/inference_prm.py:336
↓ 1 callersClassTrainingArguments
fastchat/train/train.py:71
↓ 1 callersClassVLLMWorker
fastchat/serve/vllm_worker.py:31
↓ 1 callersClassWebAgentSiteEnv
Gym environment for HTML mode of WebShop environment
envs/webshop/src/webshop/web_agent_site/envs/web_agent_site_env.py:18
↓ 1 callersClassWorkerInfo
fastchat/serve/controller.py:49
↓ 1 callersClassXftModel
fastchat/modules/xfastertransformer.py:18
↓ 1 callersClassprm_model
prm/train_our_progress_model.py:41
↓ 1 callersClassprm_model
prm/inference_prm.py:29
ClassAPIChatCompletionRequest
fastchat/protocol/api_protocol.py:51
ClassAPITokenCheckRequest
fastchat/protocol/api_protocol.py:112
ClassAPITokenCheckRequestItem
fastchat/protocol/api_protocol.py:106
ClassAiroborosAdapter
The model adapter for jondurbin/airoboros-*
fastchat/model/model_adapter.py:660
ClassAlfWorldEnv
eval_agent/envs/alfworld_env.py:21
ClassAlfWorldTask
Alfworld task instance.
eval_agent/tasks/alfworld.py:25
ClassAlpacaAdapter
The model adapter for Alpaca
fastchat/model/model_adapter.py:753
ClassAquilaChatAdapter
The model adapter for BAAI/Aquila Now supports: - BAAI/AquilaChat-7B - BAAI/AquilaChat2-7B - BAAI/AquilaChat2-34B
fastchat/model/model_adapter.py:1676
ClassAzureOpenAIAdapter
The model adapter for Azure OpenAI
fastchat/model/model_adapter.py:1039
ClassBGEAdapter
The model adapter for BGE (e.g., BAAI/bge-large-en-v1.5)
fastchat/model/model_adapter.py:1618
ClassBaichuanAdapter
The model adapter for Baichuan models (e.g., baichuan-inc/Baichuan-7B)
fastchat/model/model_adapter.py:1305
ClassBaizeAdapter
The model adapter for project-baize/baize-v2-7b
fastchat/model/model_adapter.py:950
ClassBardAdapter
The model adapter for Bard
fastchat/model/model_adapter.py:1065
ClassBaseEnv
eval_agent/envs/base.py:8
ClassBaseModelAdapter
The base and the default model adapter.
fastchat/model/model_adapter.py:63
ClassBaseModelWorker
fastchat/serve/base_model_worker.py:27
ClassBasePolicy
envs/webshop/src/webshop/web_agent_site/models/models.py:10
ClassBatchAlfWorldEnv
eval_agent/envs/alfworld_env.py:108
ClassBiLLaAdapter
The model adapter for Neutralzz/BiLLa-7B-SFT
fastchat/model/model_adapter.py:1091
ClassCamelAdapter
The model adapter for camel-ai/CAMEL-13B-Combined-Data
fastchat/model/model_adapter.py:1223
ClassChangGPTAdapter
The model adapter for lcw99/polyglot-ko-12.8b-chang-instruct-chat
fastchat/model/model_adapter.py:1212
ClassChatCompletionRequest
fastchat/protocol/openai_api_protocol.py:58
ClassChatCompletionResponse
fastchat/protocol/api_protocol.py:78
ClassChatCompletionResponseChoice
fastchat/protocol/api_protocol.py:72
ClassChatCompletionResponseStreamChoice
fastchat/protocol/api_protocol.py:92
ClassChatCompletionStreamResponse
fastchat/protocol/api_protocol.py:98
ClassChatGLMAdapter
The model adapter for THUDM/chatglm-6b, THUDM/chatglm2-6b
fastchat/model/model_adapter.py:765
ClassChatGPTAdapter
The model adapter for ChatGPT
fastchat/model/model_adapter.py:1021
ClassChatIO
fastchat/serve/inference.py:319
ClassChatMessage
fastchat/protocol/api_protocol.py:67
ClassClaudeAdapter
The model adapter for Claude
fastchat/model/model_adapter.py:1052
ClassCodeGeexAdapter
The model adapter for THUDM/codegeex-6b, THUDM/codegeex2-6b
fastchat/model/model_adapter.py:798
ClassCodeLlamaAdapter
The model adapter for CodeLlama (e.g., codellama/CodeLlama-34b-hf)
fastchat/model/model_adapter.py:1828
ClassCompletionRequest
fastchat/protocol/openai_api_protocol.py:147
ClassCompletionRequest
fastchat/protocol/api_protocol.py:126
next →1–100 of 225, ranked by callers