MCPcopy Create free account

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

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

Method__init__
( self, controller_addr: str, worker_addr: str, worker_id: str, model_
core_training/fastchat/serve/lightllm_worker.py:43
Method__init__
(self, multiline: bool = False)
core_training/fastchat/serve/cli.py:41
Method__init__
(self, multiline: bool = False, mouse: bool = False)
core_training/fastchat/serve/cli.py:84
Method__init__
( self, controller_addr: str, worker_addr: str, worker_id: str, model_
core_training/fastchat/serve/vllm_worker.py:32
Method__init__
(self, model_name)
core_training/fastchat/serve/gradio_web_server.py:99
Method__init__
( self, controller_addr: str, worker_addr: str, worker_id: str, model_
core_training/fastchat/serve/sglang_worker.py:44
Method__init__
(self, dispatch_method: str)
core_training/fastchat/serve/controller.py:65
Method__init__
( self, controller_addr: str, worker_addr: str, worker_id: str, model_
core_training/fastchat/serve/base_model_worker.py:28
Method__init__
(self, log_dir: str)
core_training/fastchat/serve/call_monitor.py:18
Method__init__
( self, controller_addr: str, worker_addr: str, worker_id: str, model_
core_training/fastchat/serve/mlx_worker.py:40
Method__init__
(self, model_path)
core_training/fastchat/model/rwkv_model.py:15
Method__init__
( self, dim, ratio, max_position_embeddings=2048, base=10000, device=None )
core_training/fastchat/model/llama_condense_monkey_patch.py:11
Method__init__
(self, weight=None, bias=None, device=None)
core_training/fastchat/model/compression.py:42
Method__init__
Initialize the mathematical reasoning data collector Args: model_path: Path to the language model output_dir
data_collection/math_reasoning_collector.py:35
Method__init__
(self, data)
data_collection/alfworld_collection.py:198
Method__init__
Initialize the ALFWorld task data collector Args: model_path: Path to the language model dataset_path: Path
data_collection/alfworld_task_collector.py:46
Method__init__
(self, data)
data_collection/math_collection.py:304
Method__init__
(self, task_id: str, task_content: str, plan_output: str,
data_collection/base_data_collector.py:75
Method__init__
(self, output_dir: str = "collected_data", max_shard_size_gb: float = 2.0,
data_collection/base_data_collector.py:113
Method__init__
(self, storage_manager: DataStorageManager)
data_collection/base_data_collector.py:271
Method__init__
(self, model_path: str, device_id: int = 0, torch_dtype: to
data_collection/base_data_collector.py:428
Method__init__
(self, data_items: List[Any])
data_collection/base_data_collector.py:546
Method__init__
(self, model_path: str, output_dir: str = "collected_data",
data_collection/base_data_collector.py:566
Method__init__
(self, hidden_size: int)
compression_training/compress.py:135
Method__init__
(self, teacher, tokenizer, student_lm, K=128, beta=2.0, lambda_pref=2.0)
compression_training/compress.py:221
Method__init__
(self, dataset_name: str)
compression_training/compress.py:557
Method__init__
(self, raw_data, tokenizer: PreTrainedTokenizerBase, conv_template_model_path: str)
compression_training/compress.py:788
Method__init__
(self, tokenizer: PreTrainedTokenizerBase)
compression_training/compress.py:839
Method__init__
( self, model: nn.Module, track_patterns: Optional[Sequence[str]] = None, topn
compression_training/callbacks.py:59
Method__init__
( self, metric_for_best: str, greater_is_better: bool, patience: int,
compression_training/callbacks.py:151
Method__len__
(self)
core_training/data_processor.py:413
Method__len__
(self)
core_training/data_processor.py:443
Method__len__
(self)
data_collection/alfworld_collection.py:201
Method__len__
(self)
data_collection/math_collection.py:307
Method__len__
(self)
data_collection/base_data_collector.py:549
Method__len__
(self)
compression_training/compress.py:818
Function_add_to_set
(s, new_stop)
eval/alfworld/eval_agent/agents/hidden_agent.py:26
Method_avg_ce_masked
(self, logits, labels, attn_mask)
core_training/hidden_model/custom_model.py:648
Function_clean_prefix
去掉常见前缀 'module.' 和 'model.',以适配 Trainer/DDP 保存命名。
eval/alfworld/eval_agent/agents/hidden_agent.py:49
Method_forward_with_hidden_states
( self, input_ids, attention_mask, inputs_embeds, labels, human_end_positions, prepend
eval/alfworld/eval_agent/agents/model_insert_hidden.py:1029
Method_generator
(self, prompt, temperature)
core_training/fastchat/guidance/model.py:59
Method_js_bits_masked
(self, logits_p, logits_q, labels, attn_mask)
core_training/hidden_model/custom_model.py:658
Method_log_grads
(self, model, header)
core_training/callbacks.py:478
Method_log_weights
(self, model, header)
core_training/callbacks.py:493
Method_pool_mean
(z_list: List[torch.Tensor])
compression_training/compress.py:521
Method_to_py
(v)
core_training/hidden_model/custom_model.py:806
Functionabort_request
()
core_training/fastchat/serve/lightllm_worker.py:205
Functionabort_request
()
core_training/fastchat/serve/vllm_worker.py:189
Functionabort_request
()
core_training/fastchat/serve/mlx_worker.py:182
Methodadd_system_message
( self, messages: List[Dict[str, str]] )
eval/alfworld/eval_agent/agents/base.py:19
Functionadd_text
(state, model_selector, text, image, request: gr.Request)
core_training/fastchat/serve/gradio_web_server.py:273
Functionadd_text
( state0, state1, model_selector0, model_selector1, text, request: gr.Request )
core_training/fastchat/serve/gradio_block_arena_named.py:146
Functionadd_text
( state0, state1, model_selector0, model_selector1, text, request: gr.Request )
core_training/fastchat/serve/gradio_block_arena_anony.py:483
Methodadjust_weights_dynamically
基于loss动态调整权重
eval/alfworld/eval_agent/agents/model_insert_hidden.py:891
Functionapi_count_token
(request: Request)
core_training/fastchat/serve/huggingface_api_worker.py:261
Functionapi_count_token
(request: Request)
core_training/fastchat/serve/lightllm_worker.py:245
Functionapi_count_token
(request: Request)
core_training/fastchat/serve/multi_model_worker.py:137
Functionapi_count_token
(request: Request)
core_training/fastchat/serve/vllm_worker.py:229
Functionapi_count_token
(request: Request)
core_training/fastchat/serve/sglang_worker.py:221
Functionapi_count_token
(request: Request)
core_training/fastchat/serve/base_model_worker.py:229
Functionapi_count_token
(request: Request)
core_training/fastchat/serve/mlx_worker.py:221
Functionapi_generate
(request: Request)
core_training/fastchat/serve/huggingface_api_worker.py:232
Functionapi_generate
(request: Request)
core_training/fastchat/serve/lightllm_worker.py:227
Functionapi_generate
(request: Request)
core_training/fastchat/serve/multi_model_worker.py:108
Functionapi_generate
(request: Request)
core_training/fastchat/serve/vllm_worker.py:211
Functionapi_generate
(request: Request)
core_training/fastchat/serve/sglang_worker.py:207
Functionapi_generate
(request: Request)
core_training/fastchat/serve/base_model_worker.py:206
Functionapi_generate
(request: Request)
core_training/fastchat/serve/mlx_worker.py:203
Functionapi_generate_stream
(request: Request)
core_training/fastchat/serve/huggingface_api_worker.py:222
Functionapi_generate_stream
(request: Request)
core_training/fastchat/serve/lightllm_worker.py:215
Functionapi_generate_stream
(request: Request)
core_training/fastchat/serve/multi_model_worker.py:98
Functionapi_generate_stream
(request: Request)
core_training/fastchat/serve/vllm_worker.py:199
Functionapi_generate_stream
(request: Request)
core_training/fastchat/serve/sglang_worker.py:198
Functionapi_generate_stream
(request: Request)
core_training/fastchat/serve/base_model_worker.py:197
Functionapi_generate_stream
(request: Request)
core_training/fastchat/serve/mlx_worker.py:192
Functionapi_get_conv
(request: Request)
core_training/fastchat/serve/huggingface_api_worker.py:268
Functionapi_get_conv
(request: Request)
core_training/fastchat/serve/lightllm_worker.py:251
Functionapi_get_conv
(request: Request)
core_training/fastchat/serve/multi_model_worker.py:144
Functionapi_get_conv
(request: Request)
core_training/fastchat/serve/vllm_worker.py:235
Functionapi_get_conv
(request: Request)
core_training/fastchat/serve/sglang_worker.py:227
Functionapi_get_conv
(request: Request)
core_training/fastchat/serve/base_model_worker.py:235
Functionapi_get_conv
(request: Request)
core_training/fastchat/serve/mlx_worker.py:227
Functionapi_get_embeddings
(request: Request)
core_training/fastchat/serve/huggingface_api_worker.py:242
Functionapi_get_embeddings
(request: Request)
core_training/fastchat/serve/multi_model_worker.py:118
Functionapi_get_embeddings
(request: Request)
core_training/fastchat/serve/base_model_worker.py:215
Functionapi_get_status
(request: Request)
core_training/fastchat/serve/huggingface_api_worker.py:252
Functionapi_get_status
(request: Request)
core_training/fastchat/serve/lightllm_worker.py:240
Functionapi_get_status
(request: Request)
core_training/fastchat/serve/multi_model_worker.py:128
Functionapi_get_status
(request: Request)
core_training/fastchat/serve/vllm_worker.py:224
Functionapi_get_status
(request: Request)
core_training/fastchat/serve/sglang_worker.py:216
Functionapi_get_status
(request: Request)
core_training/fastchat/serve/base_model_worker.py:224
Functionapi_get_status
(request: Request)
core_training/fastchat/serve/mlx_worker.py:216
Functionapi_model_details
(request: Request)
core_training/fastchat/serve/huggingface_api_worker.py:275
Functionapi_model_details
(request: Request)
core_training/fastchat/serve/lightllm_worker.py:256
Functionapi_model_details
(request: Request)
core_training/fastchat/serve/multi_model_worker.py:151
Functionapi_model_details
(request: Request)
core_training/fastchat/serve/vllm_worker.py:240
Functionapi_model_details
(request: Request)
core_training/fastchat/serve/sglang_worker.py:232
Functionapi_model_details
(request: Request)
core_training/fastchat/serve/base_model_worker.py:240
Functionapi_model_details
(request: Request)
core_training/fastchat/serve/mlx_worker.py:232
Functionapp_startup
()
core_training/fastchat/serve/call_monitor.py:163
← previousnext →501–600 of 1,013, ranked by callers