unsloth/studio/backend/core
Daniel Han 34d24bcf97 Studio RAG trim: remove late-chunking strategy
Late chunking (the Jina single-pass technique) is a non-default embedding
path (chunking_strategy defaults to 'standard'). It adds a second full-document
forward pass with windowed token pooling for a marginal long-document gain that
the standard per-chunk encoder already covers at R@5 = 1.0 on the gold set.

- remove late_chunk_encode / _windowed_late_chunk_encode / _pool_spans /
  _encode_tokens from embeddings.py (205 lines)
- remove the chunking_strategy == 'late' branch and _run_late_chunking from
  ingestion.py (75 lines); 'late' now degrades to standard chunking

42 RAG tests pass.
2026-05-31 14:18:03 +00:00
..
data_recipe Recipe Studio local model selector (#5769) 2026-05-26 02:37:24 -07:00
export studio: ROCm cleanups follow-up to #5301 (#5874) 2026-05-30 03:06:47 -07:00
inference Studio RAG trim: remove cross-encoder reranker 2026-05-31 14:14:52 +00:00
rag Studio RAG trim: remove late-chunking strategy 2026-05-31 14:18:03 +00:00
training studio: ROCm cleanups follow-up to #5301 (#5874) 2026-05-30 03:06:47 -07:00
__init__.py [Studio] Show non exported models in chat UI (#4892) 2026-04-14 15:03:58 +04:00
_torchao_stub.py studio: ROCm cleanups follow-up to #5301 (#5874) 2026-05-30 03:06:47 -07:00
tool_healing.py Studio: add remote MCP server support (#5750) 2026-05-27 07:01:11 -07:00