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
Llama-3
Daniel Han-Chen8f89ca62f14a
diff --git a/unsloth/models/mapper.py b/unsloth/models/mapper.pyindex b1d2faedb35..b6aab830694 100644--- a/unsloth/models/mapper.py+++ b/unsloth/models/mapper.py@@ -126,6 +126,14 @@ __INT_TO_FLOAT_MAPPER = \"unsloth/codegemma-7b-it","google/codegemma-7b-it",),+ "unsloth/llama-3-8b-bnb-4bit" : (+ "unsloth/llama-3-8b",+ "meta-llama/Meta-Llama-3-8B",+ ),+ "unsloth/llama-3-8b-Instruct-bnb-4bit" : (+ "unsloth/llama-3-8b-Instruct",+ "meta-llama/Meta-Llama-3-8B-Instruct",+ ),}INT_TO_FLOAT_MAPPER = {}diff --git a/unsloth/tokenizer_utils.py b/unsloth/tokenizer_utils.pyindex 132591276a3..01ad2bff7f7 100644--- a/unsloth/tokenizer_utils.py+++ b/unsloth/tokenizer_utils.py@@ -187,7 +187,7 @@ def assert_same_tokenization(slow_tokenizer, fast_tokenizer):all_special_tokens = list(set(special_tokens + slow_tokenizer.all_special_tokens))try:string = "\n".join(all_special_tokens) + \- "A quick brown fox jumps over the lazy dog!!\n\n" + \+ "A quick brown fox jumps over the lazy dog!!\n\nHi</s>\n\n" + \"".join(all_special_tokens)return slow_tokenizer(string).input_ids == fast_tokenizer(string).input_idsexcept: