↓ 1 callersFunctionbatched_forward_longformer 对一批 (question, cot) 做一次 encode+前向,返回 per-sample 元组列表: (keep_scores, offsets, prefix_len, full_text, orig_chars)
src/data/compressor_longformer/validate/longformer_pipeline/longformer_tokenizer_compression.py:249
↓ 1 callersFunctionbatched_forward_longformer 对一批 (question, cot) 做一次 encode+前向,返回 per-sample 元组列表: (keep_scores, offsets, prefix_len, full_text, orig_chars)
src/data/sft/longformer_pipeline/longformer_compressor.py:220
↓ 1 callersFunctionbuild_selected_record(
original: Dict[str, Any],
keep_keys: List[str],
derived: Dict[str, Any],
fill_missing_with_n
src/data/sft/metamath_145k_query/filter_correct_answer.py:71
↓ 1 callersFunctioncall_ranges_api(view: Dict[str,Any], model:str, max_tokens:int, temperature:float, force_json:bool)
src/data/compressor/dataset_preparation/API/api_result_completiness/retry_empty_chunks.py:329
↓ 1 callersFunctioncompress_with_llmlingua_by_chunks Strict 512-style chunking, per-chunk compression, then concatenate per ratio. Returns: ratio -> {"compressed_text", "orig_tok", "kept_tok", "
src/data/compressor_longformer/eval/compare_longformer_llmlingua2/compare.py:141