Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Fix RawTextDataLoader import issue

vangmayfe36643c6643
diff --git a/unsloth/__init__.py b/unsloth/__init__.py
index 8b48ce3ba04..b77af7c2425 100644
--- a/unsloth/__init__.py
+++ b/unsloth/__init__.py
@@ -247,6 +247,8 @@ from .save import *
from .chat_templates import *
from .tokenizer_utils import *
from .trainer import *
+# Export dataprep utilities for CLI and downstream users
+from .dataprep.raw_text import RawTextDataLoader, TextPreprocessor
from unsloth_zoo.rl_environments import (
check_python_modules,
create_locked_down_function,