MCPcopy Create free account

hub / github.com/XiaoDu-flying/Interlat / functions

Functions1,013 in github.com/XiaoDu-flying/Interlat

Functionbot_response_multi
( state0, state1, temperature, top_p, max_new_tokens, request: gr.Request, )
core_training/fastchat/serve/gradio_block_arena_named.py:211
Functionbot_response_multi
( state0, state1, temperature, top_p, max_new_tokens, request: gr.Request, )
core_training/fastchat/serve/gradio_block_arena_anony.py:560
Functionbothbad_vote_last_response
( state0, state1, model_selector0, model_selector1, request: gr.Request )
core_training/fastchat/serve/gradio_block_arena_named.py:109
Functionbothbad_vote_last_response
( state0, state1, model_selector0, model_selector1, request: gr.Request )
core_training/fastchat/serve/gradio_block_arena_anony.py:121
Functioncheck_api_key
( auth: Optional[HTTPAuthorizationCredentials] = Depends(get_bearer_token), )
core_training/fastchat/serve/openai_api_server.py:112
Functionclean_flant5_ckpt
Flan-t5 trained with HF+FSDP saves corrupted weights for shared embeddings, Use this function to make sure it can be correctly loaded.
core_training/fastchat/utils.py:188
Functioncleanup_at_exit
()
core_training/fastchat/serve/mlx_worker.py:239
Functionclear_history
(request: gr.Request)
core_training/fastchat/serve/gradio_web_server.py:243
Functionclear_history
(request: gr.Request)
core_training/fastchat/serve/gradio_block_arena_named.py:127
Functionclear_history
(request: gr.Request)
core_training/fastchat/serve/gradio_block_arena_anony.py:139
Functionclear_history_example
(request: gr.Request)
core_training/fastchat/serve/gradio_block_arena_vision.py:42
Functioncompress_module
(module, target_device)
core_training/fastchat/model/compression.py:59
Functioncount_tokens
Checks the token count for each message in your list This is not part of the OpenAI API spec.
core_training/fastchat/serve/openai_api_server.py:768
Functioncreate_chat_completion
Creates a completion for the chat message
core_training/fastchat/serve/openai_api_server.py:413
Functioncreate_completion
(request: CompletionRequest)
core_training/fastchat/serve/openai_api_server.py:544
Functioncreate_config_for_model
Create configuration optimized for a specific model Args: model_path: Path to the model task_type: Type of task ("math", "al
data_collection/config.py:280
Functioncreate_custom_config
Create custom configuration with specified parameters
eval/math/config.py:152
Functioncreate_embeddings
Creates embeddings for the text
core_training/fastchat/serve/openai_api_server.py:709
Methodcreate_prompt_for_task
Create a prompt for the given task item
data_collection/base_data_collector.py:679
Functiondebug_mask_for_conversation
Visualize which tokens in a sample are ignored (not contributing to loss) and which tokens are supervised. Tokens are grouped into contin
core_training/data_processor.py:29
Functiondecode_targets
Decode a single sample's target (label tensor) into a string. ignore_token_id (default -100) and pad_token_id are skipped.
core_training/data_processor.py:130
Functiondetect_language
Detect the langauge of a string.
core_training/fastchat/utils.py:270
Methoddict
(self)
core_training/fastchat/conversation.py:403
Functiondisable_torch_init
Disable the redundant torch default initialization to accelerate model creation.
core_training/fastchat/utils.py:119
Methoddistribute_dataset
Distribute dataset across processes with proper task ID offsetting Returns: Local dataset portion for this process
data_collection/math_reasoning_collector.py:103
Methoddistribute_dataset
Distribute dataset across processes with proper task ID offsetting Returns: Local dataset portion for this process
data_collection/alfworld_task_collector.py:100
Functiondownvote_last_response
(state, model_selector, request: gr.Request)
core_training/fastchat/serve/gradio_web_server.py:222
Methodenable_attention_analysis
启用注意力分析功能
eval/alfworld/eval_agent/agents/hidden_agent.py:500
Methodenable_input_require_grads
(self)
compression_training/compress.py:276
Methodextract_balanced_braces
Extract content within balanced braces starting at start_pos
eval/math/math_evaluator.py:68
Functionflag_last_response
(state, model_selector, request: gr.Request)
core_training/fastchat/serve/gradio_web_server.py:229
Functionflash_buttons
()
core_training/fastchat/serve/gradio_block_arena_named.py:268
Methodflush
(self)
core_training/fastchat/utils.py:112
Functionforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None, position_i
core_training/fastchat/model/monkey_patch_non_inplace.py:30
Methodforward
(self, x)
eval/alfworld/eval_agent/agents/model_insert_hidden.py:673
Methodforward
完整前向传播
eval/alfworld/eval_agent/agents/model_insert_hidden.py:792
Methodforward
(self, ctx: torch.Tensor)
eval/alfworld/eval_agent/agents/align_block.py:56
Methodforward
(self, x: torch.Tensor, ctx_pool: torch.Tensor)
eval/alfworld/eval_agent/agents/align_block.py:75
Methodforward
(self, ctx_pool: torch.Tensor)
eval/alfworld/eval_agent/agents/align_block.py:93
Methodforward
(self, hidden: torch.Tensor, context: torch.Tensor, *, save_attn=False)
eval/alfworld/eval_agent/agents/align_block.py:214
Methodforward
( self, input_ids=None, attention_mask=None, past_key_values=None, inp
eval/alfworld/eval_agent/agents/plan_agent.py:29
Methodforward
(self, x)
core_training/train.py:129
Methodforward
(self, x)
core_training/hidden_model/custom_model.py:43
Methodforward
Complete forward pass (hidden processing only)
core_training/hidden_model/custom_model.py:172
Methodforward
(self, x, seq_len=None)
core_training/fastchat/model/llama_condense_monkey_patch.py:42
Methodforward
(self, x: torch.Tensor)
compression_training/compress.py:150
Methodforward
(self, x: torch.Tensor)
compression_training/compress.py:173
Methodforward
( self, input_ids: torch.Tensor, attention_mask: torch.Tensor, labels: torch.T
compression_training/compress.py:350
Methodgenerate
(self, *args, **kwargs)
eval/alfworld/eval_agent/agents/model_insert_hidden.py:1523
Methodgenerate
(self, *args, **kwargs)
core_training/hidden_model/custom_model.py:781
Methodgenerate_gate
(self, params)
core_training/fastchat/serve/model_worker.py:146
Methodgenerate_gate
(self, params)
core_training/fastchat/serve/base_model_worker.py:173
Functiongenerate_stream_chatglm
( model, tokenizer, params, device, context_len=2048, stream_interval=2, judge_sen
core_training/fastchat/model/model_chatglm.py:66
Functiongenerate_stream_codet5p
( model, tokenizer, params, device, context_len=2048, stream_interval=2, judge_sen
core_training/fastchat/model/model_codet5p.py:14
Functiongenerate_stream_exllama
( model, tokenizer, params: Dict, device: str, context_len: int, stream_interval: int
core_training/fastchat/model/model_exllama.py:8
Functiongenerate_stream_falcon
( model, tokenizer, params, device, context_len=2048, stream_interval=2, judge_sen
core_training/fastchat/model/model_falcon.py:13
Functiongenerate_stream_peft
( model, tokenizer, params: Dict, device: str, con
core_training/fastchat/model/model_adapter.py:418
Functiongenerate_stream_xft
( model, tokenizer, params, device, context_len=8192, stream_interval=2, judge_sen
core_training/fastchat/model/model_xfastertransformer.py:9
Functiongenerate_stream_yuan2
( model, tokenizer, params, device, context_len=2048, stream_interval=2, judge_sen
core_training/fastchat/model/model_yuan2.py:13
Methodgenerator
()
eval/alfworld/eval_agent/tasks/alfworld.py:111
Functionget_alfworld_config
Get configuration for ALFWorld data collection
data_collection/config.py:347
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:126
Methodget_default_conv_template
Uses the conv template of the base model
core_training/fastchat/model/model_adapter.py:665
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:700
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:725
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:773
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:806
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:818
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:846
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:871
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:895
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:906
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:927
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:941
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:951
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:974
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1001
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1025
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1045
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1057
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1067
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1084
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1097
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1110
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1126
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1139
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1152
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1165
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1178
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1188
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1208
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1220
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1232
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1245
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1257
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1275
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1299
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1310
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1322
Methodget_default_conv_template
(self, model_path: str)
core_training/fastchat/model/model_adapter.py:1334
← previousnext →601–700 of 1,013, ranked by callers