From 59ee04021cf31901291dff6f9cc6f148c93af8ae Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Tue, 11 Mar 2025 23:35:46 -0700 Subject: [PATCH] Update mapper.py --- unsloth/models/mapper.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/unsloth/models/mapper.py b/unsloth/models/mapper.py index 152ce5a85c..47dbb325ef 100644 --- a/unsloth/models/mapper.py +++ b/unsloth/models/mapper.py @@ -638,6 +638,38 @@ __INT_TO_FLOAT_MAPPER = \ "Qwen/QwQ-32B", "unsloth/QwQ-32B-bnb-4bit", ), + "unsloth/gemma-3-1b-it" : ( + "unsloth/gemma-3-1b-it", + "google/gemma-3-1b-it", + ), + "unsloth/gemma-3-4b-it" : ( + "unsloth/gemma-3-4b-it", + "google/gemma-3-4b-it", + ), + "unsloth/gemma-3-12b-it" : ( + "unsloth/gemma-3-12b-it", + "google/gemma-3-12b-it", + ), + "unsloth/gemma-3-27b-it" : ( + "unsloth/gemma-3-27b-it", + "google/gemma-3-27b-it", + ), + "unsloth/gemma-3-1b-pt" : ( + "unsloth/gemma-3-1b-pt", + "google/gemma-3-1b-pt", + ), + "unsloth/gemma-3-4b-pt" : ( + "unsloth/gemma-3-4b-pt", + "google/gemma-3-4b-pt", + ), + "unsloth/gemma-3-12b-pt" : ( + "unsloth/gemma-3-12b-pt", + "google/gemma-3-12b-pt", + ), + "unsloth/gemma-3-27b-pt" : ( + "unsloth/gemma-3-27b-pt", + "google/gemma-3-27b-pt", + ), } INT_TO_FLOAT_MAPPER = {}