Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mwie1024/Extra-CoT
/ functions
Functions
1,850 in github.com/Mwie1024/Extra-CoT
⨍
Functions
1,850
◇
Types & classes
174
↳
Endpoints
4
Method
set_abort
(self)
llamafactory/src/llamafactory/webui/runner.py:69
Method
setup
(self, args: "TrainingArguments", state: "TrainerState", model: "PreTrainedModel", **kwargs)
llamafactory/src/llamafactory/train/trainer_utils.py:716
Method
split_arg
(arg)
llamafactory/src/llamafactory/hparams/finetuning_args.py:518
Method
split_arg
(arg)
llamafactory/src/llamafactory/hparams/data_args.py:142
Function
split_on_strong_seps_tokenaware
(s: str, a: int, b: int, toks: List[Token])
src/data/compressor/dataset_preparation/camel/camel_chunk_cot_and_answer/math_tokenizer_no_space.py:381
Method
stream
()
llamafactory/src/llamafactory/chat/hf_engine.py:304
Method
stream
r"""Generate output text in stream. Inputs: infer.chatbot, infer.messages, infer.system, infer.tools, infer.image, infer.video, ... O
llamafactory/src/llamafactory/webui/chatter.py:193
Method
stream_chat
( self, messages: list[dict[str, str]], system: Optional[str] = None, tools: O
llamafactory/src/llamafactory/chat/vllm_engine.py:240
Method
stream_chat
r"""Get the response token-by-token of the chat model.
llamafactory/src/llamafactory/chat/base_engine.py:78
Method
stream_chat
( self, messages: list[dict[str, str]], system: Optional[str] = None, tools: O
llamafactory/src/llamafactory/chat/sglang_engine.py:258
Method
stream_chat
( self, messages: list[dict[str, str]], system: Optional[str] = None, tools: O
llamafactory/src/llamafactory/chat/hf_engine.py:366
Method
stream_request
()
llamafactory/src/llamafactory/chat/sglang_engine.py:209
Function
strip_special_tokens_from_text
(text: str, tokenizer)
src/eval/qwen1p7b_eval/special_token_vllm.py:219
Function
switch_hub
r"""Switch model hub. Inputs: top.hub_name
llamafactory/src/llamafactory/webui/control.py:41
Function
test_4d_attention_mask
()
llamafactory/tests/data/test_collator.py:129
Function
test_add_tokens
(special_tokens: bool)
llamafactory/tests/model/model_utils/test_add_tokens.py:29
Function
test_alpaca_converter
()
llamafactory/tests/data/test_converter.py:21
Function
test_attention
()
llamafactory/tests/model/model_utils/test_attention.py:33
Function
test_base
()
llamafactory/tests/model/test_base.py:38
Function
test_base_collator
()
llamafactory/tests/data/test_collator.py:31
Function
test_base_plugin
()
llamafactory/tests/data/test_mm_plugin.py:173
Function
test_chat
()
llamafactory/tests/e2e/test_chat.py:38
Function
test_default_multi_tool_extractor
()
llamafactory/tests/data/test_formatter.py:92
Function
test_default_tool_extractor
()
llamafactory/tests/data/test_formatter.py:86
Function
test_default_tool_formatter
()
llamafactory/tests/data/test_formatter.py:68
Function
test_empty_formatter
()
llamafactory/tests/data/test_formatter.py:39
Function
test_encode_multiturn
(use_fast: bool)
llamafactory/tests/data/test_template.py:108
Function
test_encode_oneturn
(use_fast: bool)
llamafactory/tests/data/test_template.py:93
Function
test_eval_template_en
()
llamafactory/tests/eval/test_eval_template.py:18
Function
test_eval_template_zh
()
llamafactory/tests/eval/test_eval_template.py:56
Function
test_expanded_modules
()
llamafactory/tests/model/model_utils/test_misc.py:28
Function
test_export
()
llamafactory/tests/e2e/test_train.py:68
Function
test_feedback_data
(num_samples: int)
llamafactory/tests/data/processor/test_feedback.py:46
Function
test_freeze_inference
()
llamafactory/tests/model/test_freeze.py:68
Function
test_freeze_train_all_modules
()
llamafactory/tests/model/test_freeze.py:46
Function
test_freeze_train_extra_modules
()
llamafactory/tests/model/test_freeze.py:57
Function
test_full_inference
()
llamafactory/tests/model/test_full.py:53
Function
test_full_train
()
llamafactory/tests/model/test_full.py:46
Function
test_function_formatter
()
llamafactory/tests/data/test_formatter.py:49
Function
test_gemma2_template
(use_fast: bool)
llamafactory/tests/data/test_template.py:231
Function
test_gemma3_plugin
()
llamafactory/tests/data/test_mm_plugin.py:182
Function
test_gemma_template
(use_fast: bool)
llamafactory/tests/data/test_template.py:218
Function
test_get_seqlens_in_batch
(attention_mask, golden_seq_lens)
llamafactory/tests/model/model_utils/test_packing.py:37
Function
test_get_stop_token_ids
()
llamafactory/tests/data/test_template.py:210
Function
test_get_unpad_data
(attention_mask, golden_indices, golden_cu_seqlens, golden_max_seqlen)
llamafactory/tests/model/model_utils/test_packing.py:63
Function
test_glm4_function_formatter
()
llamafactory/tests/data/test_formatter.py:104
Function
test_glm4_tool_extractor
()
llamafactory/tests/data/test_formatter.py:120
Function
test_glm4_tool_formatter
()
llamafactory/tests/data/test_formatter.py:110
Function
test_infer_seqlen
(test_input: tuple[int, int, int], test_output: tuple[int, int])
llamafactory/tests/data/processor/test_processor_utils.py:33
Function
test_internvl_plugin
()
llamafactory/tests/data/test_mm_plugin.py:203
Function
test_jinja_template
(use_fast: bool)
llamafactory/tests/data/test_template.py:184
Function
test_llama3_function_formatter
()
llamafactory/tests/data/test_formatter.py:126
Function
test_llama3_multi_function_formatter
()
llamafactory/tests/data/test_formatter.py:134
Function
test_llama3_multi_tool_extractor
()
llamafactory/tests/data/test_formatter.py:163
Function
test_llama3_template
(use_fast: bool)
llamafactory/tests/data/test_template.py:244
Function
test_llama3_tool_extractor
()
llamafactory/tests/data/test_formatter.py:157
Function
test_llama3_tool_formatter
()
llamafactory/tests/data/test_formatter.py:144
Function
test_llama4_plugin
()
llamafactory/tests/data/test_mm_plugin.py:221
Function
test_llama4_template
(use_fast: bool)
llamafactory/tests/data/test_template.py:258
Function
test_llava_next_plugin
()
llamafactory/tests/data/test_mm_plugin.py:254
Function
test_llava_next_video_plugin
()
llamafactory/tests/data/test_mm_plugin.py:267
Function
test_llava_plugin
()
llamafactory/tests/data/test_mm_plugin.py:241
Function
test_load_eval_data
()
llamafactory/tests/data/test_loader.py:53
Function
test_load_train_only
()
llamafactory/tests/data/test_loader.py:41
Function
test_load_val_size
()
llamafactory/tests/data/test_loader.py:47
Function
test_lora_inference
()
llamafactory/tests/model/test_lora.py:106
Function
test_lora_train_all_modules
()
llamafactory/tests/model/test_lora.py:70
Function
test_lora_train_extra_modules
()
llamafactory/tests/model/test_lora.py:76
Function
test_lora_train_new_adapters
()
llamafactory/tests/model/test_lora.py:88
Function
test_lora_train_old_adapters
()
llamafactory/tests/model/test_lora.py:82
Function
test_lora_train_qv_modules
()
llamafactory/tests/model/test_lora.py:64
Function
test_lora_train_valuehead
()
llamafactory/tests/model/test_lora.py:97
Function
test_mistral_function_formatter
()
llamafactory/tests/data/test_formatter.py:175
Function
test_mistral_multi_function_formatter
()
llamafactory/tests/data/test_formatter.py:184
Function
test_mistral_multi_tool_extractor
()
llamafactory/tests/data/test_formatter.py:209
Function
test_mistral_tool_extractor
()
llamafactory/tests/data/test_formatter.py:203
Function
test_mistral_tool_formatter
()
llamafactory/tests/data/test_formatter.py:195
Function
test_multi_function_formatter
()
llamafactory/tests/data/test_formatter.py:58
Function
test_ollama_modelfile
()
llamafactory/tests/data/test_template.py:193
Function
test_pairwise_data
(num_samples: int)
llamafactory/tests/data/processor/test_pairwise.py:55
Function
test_paligemma_plugin
()
llamafactory/tests/data/test_mm_plugin.py:281
Function
test_parse_llama3_template
()
llamafactory/tests/data/test_template.py:320
Function
test_parse_qwen3_template
()
llamafactory/tests/data/test_template.py:346
Function
test_parse_qwen_template
()
llamafactory/tests/data/test_template.py:334
Function
test_phi4_template
(use_fast: bool)
llamafactory/tests/data/test_template.py:276
Function
test_pissa_inference
()
llamafactory/tests/model/test_pissa.py:60
Function
test_pissa_train
()
llamafactory/tests/model/test_pissa.py:53
Function
test_pixtral_plugin
()
llamafactory/tests/data/test_mm_plugin.py:300
Function
test_qwen2_5_template
(use_fast: bool)
llamafactory/tests/data/test_template.py:289
Function
test_qwen2_omni_plugin
()
llamafactory/tests/data/test_mm_plugin.py:322
Function
test_qwen2_vl_plugin
()
llamafactory/tests/data/test_mm_plugin.py:344
Function
test_qwen3_template
(use_fast: bool, cot_messages: bool)
llamafactory/tests/data/test_template.py:303
Function
test_qwen_function_formatter
()
llamafactory/tests/data/test_formatter.py:221
Function
test_qwen_multi_function_formatter
()
llamafactory/tests/data/test_formatter.py:229
Function
test_qwen_multi_tool_extractor
()
llamafactory/tests/data/test_formatter.py:258
Function
test_qwen_tool_extractor
()
llamafactory/tests/data/test_formatter.py:252
Function
test_qwen_tool_formatter
()
llamafactory/tests/data/test_formatter.py:239
Function
test_reasoning_encode_multiturn
(use_fast: bool, cot_messages: bool, enable_thinking: bool)
llamafactory/tests/data/test_template.py:157
Function
test_reasoning_encode_oneturn
(use_fast: bool, cot_messages: bool, enable_thinking: bool)
llamafactory/tests/data/test_template.py:131
Function
test_run_exp
(stage: str, dataset: str)
llamafactory/tests/e2e/test_train.py:62
← previous
next →
1,701–1,800 of 1,850, ranked by callers