Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WangHanLinHenry/SPA-RL-Agent
/ types & classes
Types & classes
225 in github.com/WangHanLinHenry/SPA-RL-Agent
⨍
Functions
947
◇
Types & classes
225
↳
Endpoints
55
↓ 76 callers
Class
Conversation
A class that manages prompt templates and keeps all conversation history.
fastchat/conversation.py:38
↓ 8 callers
Class
Judge
fastchat/llm_judge/common.py:55
↓ 8 callers
Class
State
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 callers
Class
MatchPair
fastchat/llm_judge/common.py:73
↓ 4 callers
Class
State
fastchat/serve/gradio_web_server.py:86
↓ 4 callers
Class
UsageInfo
fastchat/protocol/openai_api_protocol.py:45
↓ 3 callers
Class
ExllamaConfig
fastchat/modules/exllama.py:6
↓ 3 callers
Class
GptqConfig
fastchat/modules/gptq.py:11
↓ 3 callers
Class
SupervisedDataset
Dataset for supervised fine-tuning.
prm/train_our_progress_model.py:343
↓ 3 callers
Class
WebAgentTextEnv
Gym environment for Text mode of WebShop environment
envs/webshop/src/webshop/web_agent_site/envs/web_agent_text_env.py:35
↓ 3 callers
Class
XftConfig
fastchat/modules/xfastertransformer.py:6
↓ 2 callers
Class
AWQConfig
fastchat/modules/awq.py:10
↓ 2 callers
Class
CLinear
Compressed Linear Layer.
fastchat/model/compression.py:39
↓ 2 callers
Class
ChatCompletionResponse
fastchat/protocol/openai_api_protocol.py:84
↓ 2 callers
Class
ChatCompletionResponseChoice
fastchat/protocol/openai_api_protocol.py:78
↓ 2 callers
Class
ChatCompletionResponseStreamChoice
fastchat/protocol/openai_api_protocol.py:98
↓ 2 callers
Class
ChatCompletionStreamResponse
fastchat/protocol/openai_api_protocol.py:104
↓ 2 callers
Class
ChatMessage
fastchat/protocol/openai_api_protocol.py:73
↓ 2 callers
Class
DPOMultiTrainer
r""" Initialize DPOTrainer. Args: model (`transformers.PreTrainedModel`): The model to train, preferably an `AutoModelFor
fastchat/train/dpo_trainer.py:58
↓ 2 callers
Class
DeltaMessage
fastchat/protocol/openai_api_protocol.py:93
↓ 2 callers
Class
MatchSingle
fastchat/llm_judge/common.py:63
↓ 2 callers
Class
ModelWorker
fastchat/serve/model_worker.py:39
↓ 2 callers
Class
RandomPolicy
envs/webshop/src/webshop/web_agent_site/models/models.py:42
↓ 2 callers
Class
StreamToLogger
Fake file-like stream object that redirects writes to a logger instance.
fastchat/utils.py:78
↓ 1 callers
Class
APITokenCheckResponse
fastchat/protocol/api_protocol.py:122
↓ 1 callers
Class
APITokenCheckResponseItem
fastchat/protocol/api_protocol.py:116
↓ 1 callers
Class
AppSettings
fastchat/serve/openai_api_server.py:96
↓ 1 callers
Class
CodeBlockStopper
fastchat/model/model_codet5p.py:50
↓ 1 callers
Class
CompletionResponse
fastchat/protocol/openai_api_protocol.py:174
↓ 1 callers
Class
CompletionResponseChoice
fastchat/protocol/openai_api_protocol.py:167
↓ 1 callers
Class
CompletionResponseStreamChoice
fastchat/protocol/openai_api_protocol.py:183
↓ 1 callers
Class
CompletionStreamResponse
fastchat/protocol/openai_api_protocol.py:190
↓ 1 callers
Class
CompressionConfig
Group-wise quantization.
fastchat/model/compression.py:24
↓ 1 callers
Class
Controller
fastchat/serve/controller.py:63
↓ 1 callers
Class
DataCollatorForSupervisedDataset
Collate examples for supervised fine-tuning.
fastchat/train/train_flant5.py:350
↓ 1 callers
Class
EmbeddingsResponse
fastchat/protocol/openai_api_protocol.py:140
↓ 1 callers
Class
ErrorResponse
fastchat/protocol/openai_api_protocol.py:9
↓ 1 callers
Class
ExllamaModel
fastchat/modules/exllama.py:12
↓ 1 callers
Class
HuggingfaceApiWorker
fastchat/serve/huggingface_api_worker.py:84
↓ 1 callers
Class
InvalidScoreLogitsProcessor
fastchat/model/model_chatglm.py:11
↓ 1 callers
Class
LogProbs
fastchat/protocol/openai_api_protocol.py:51
↓ 1 callers
Class
ModelCard
fastchat/protocol/openai_api_protocol.py:30
↓ 1 callers
Class
ModelList
fastchat/protocol/openai_api_protocol.py:40
↓ 1 callers
Class
ModelPermission
fastchat/protocol/openai_api_protocol.py:15
↓ 1 callers
Class
PPOMultiTrainer
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 callers
Class
Page
envs/webshop/src/webshop/transfer/predict_help.py:9
↓ 1 callers
Class
ProgrammaticChatIO
fastchat/serve/cli.py:152
↓ 1 callers
Class
RewardDataCollatorWithPadding
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 callers
Class
RewardTrainer
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 callers
Class
RichChatIO
fastchat/serve/cli.py:77
↓ 1 callers
Class
RwkvModel
fastchat/model/rwkv_model.py:14
↓ 1 callers
Class
SeparatorStyle
Separator styles.
fastchat/conversation.py:13
↓ 1 callers
Class
SimBrowser
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 callers
Class
SimServer
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 callers
Class
SimpleChatIO
fastchat/serve/cli.py:40
↓ 1 callers
Class
StepPPOTrainer
ppo/step_ppotrainer.py:23
↓ 1 callers
Class
StepToolPPOTrain
ppo/step_ppo.py:34
↓ 1 callers
Class
SupervisedDataset
Dataset for supervised fine-tuning.
prm/inference_prm.py:336
↓ 1 callers
Class
TrainingArguments
fastchat/train/train.py:71
↓ 1 callers
Class
VLLMWorker
fastchat/serve/vllm_worker.py:31
↓ 1 callers
Class
WebAgentSiteEnv
Gym environment for HTML mode of WebShop environment
envs/webshop/src/webshop/web_agent_site/envs/web_agent_site_env.py:18
↓ 1 callers
Class
WorkerInfo
fastchat/serve/controller.py:49
↓ 1 callers
Class
XftModel
fastchat/modules/xfastertransformer.py:18
↓ 1 callers
Class
prm_model
prm/train_our_progress_model.py:41
↓ 1 callers
Class
prm_model
prm/inference_prm.py:29
Class
APIChatCompletionRequest
fastchat/protocol/api_protocol.py:51
Class
APITokenCheckRequest
fastchat/protocol/api_protocol.py:112
Class
APITokenCheckRequestItem
fastchat/protocol/api_protocol.py:106
Class
AiroborosAdapter
The model adapter for jondurbin/airoboros-*
fastchat/model/model_adapter.py:660
Class
AlfWorldEnv
eval_agent/envs/alfworld_env.py:21
Class
AlfWorldTask
Alfworld task instance.
eval_agent/tasks/alfworld.py:25
Class
AlpacaAdapter
The model adapter for Alpaca
fastchat/model/model_adapter.py:753
Class
AquilaChatAdapter
The model adapter for BAAI/Aquila Now supports: - BAAI/AquilaChat-7B - BAAI/AquilaChat2-7B - BAAI/AquilaChat2-34B
fastchat/model/model_adapter.py:1676
Class
AzureOpenAIAdapter
The model adapter for Azure OpenAI
fastchat/model/model_adapter.py:1039
Class
BGEAdapter
The model adapter for BGE (e.g., BAAI/bge-large-en-v1.5)
fastchat/model/model_adapter.py:1618
Class
BaichuanAdapter
The model adapter for Baichuan models (e.g., baichuan-inc/Baichuan-7B)
fastchat/model/model_adapter.py:1305
Class
BaizeAdapter
The model adapter for project-baize/baize-v2-7b
fastchat/model/model_adapter.py:950
Class
BardAdapter
The model adapter for Bard
fastchat/model/model_adapter.py:1065
Class
BaseEnv
eval_agent/envs/base.py:8
Class
BaseModelAdapter
The base and the default model adapter.
fastchat/model/model_adapter.py:63
Class
BaseModelWorker
fastchat/serve/base_model_worker.py:27
Class
BasePolicy
envs/webshop/src/webshop/web_agent_site/models/models.py:10
Class
BatchAlfWorldEnv
eval_agent/envs/alfworld_env.py:108
Class
BiLLaAdapter
The model adapter for Neutralzz/BiLLa-7B-SFT
fastchat/model/model_adapter.py:1091
Class
CamelAdapter
The model adapter for camel-ai/CAMEL-13B-Combined-Data
fastchat/model/model_adapter.py:1223
Class
ChangGPTAdapter
The model adapter for lcw99/polyglot-ko-12.8b-chang-instruct-chat
fastchat/model/model_adapter.py:1212
Class
ChatCompletionRequest
fastchat/protocol/openai_api_protocol.py:58
Class
ChatCompletionResponse
fastchat/protocol/api_protocol.py:78
Class
ChatCompletionResponseChoice
fastchat/protocol/api_protocol.py:72
Class
ChatCompletionResponseStreamChoice
fastchat/protocol/api_protocol.py:92
Class
ChatCompletionStreamResponse
fastchat/protocol/api_protocol.py:98
Class
ChatGLMAdapter
The model adapter for THUDM/chatglm-6b, THUDM/chatglm2-6b
fastchat/model/model_adapter.py:765
Class
ChatGPTAdapter
The model adapter for ChatGPT
fastchat/model/model_adapter.py:1021
Class
ChatIO
fastchat/serve/inference.py:319
Class
ChatMessage
fastchat/protocol/api_protocol.py:67
Class
ClaudeAdapter
The model adapter for Claude
fastchat/model/model_adapter.py:1052
Class
CodeGeexAdapter
The model adapter for THUDM/codegeex-6b, THUDM/codegeex2-6b
fastchat/model/model_adapter.py:798
Class
CodeLlamaAdapter
The model adapter for CodeLlama (e.g., codellama/CodeLlama-34b-hf)
fastchat/model/model_adapter.py:1828
Class
CompletionRequest
fastchat/protocol/openai_api_protocol.py:147
Class
CompletionRequest
fastchat/protocol/api_protocol.py:126
next →
1–100 of 225, ranked by callers