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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
remove old function
vangmay082da69cc4f3
diff --git a/unsloth/dataprep/raw_text.py b/unsloth/dataprep/raw_text.pyindex d6a9a6a0473..b880e973389 100644--- a/unsloth/dataprep/raw_text.py+++ b/unsloth/dataprep/raw_text.py@@ -184,14 +184,6 @@ class RawTextDataLoader:return chunks- def tokenize_and_chunk(self, text):- """- Tokenize first, then chunk by token count:- 1. More precise length control- 2. Avoids mid-token splits- 3. Handles different languages better- """-def _read_file_by_format(self, file_path, file_format):"""Read file content based on detected format."""with open(file_path, "r", encoding = "utf-8") as f: