I think that the closest notebook would be https://colab.research.google.com/github/unslothai/notebooks/blob/main/nb/Mistral_Small_(22B)-Alpaca.ipynb
in theory it should work if you just replace model_name = "unsloth/Mistral-Small-Instruct-2409" -> model_name = "unsloth/Mistral-Small-3.1-24B-Instruct-2503-unsloth-bnb-4bit" but I haven't tested it
#New Mistral 3.1 24b model finetune
10 messages · Page 1 of 1 (latest)
which error did you get?
You should always show or link the relevant code sample and/or error messages when asking for help
(preferably as text rather than a screenshot)
🦥 Unsloth: Will patch your computer to enable 2x faster free finetuning.
🦥 Unsloth Zoo will now patch everything to make training faster!
AttributeError Traceback (most recent call last)
<ipython-input-3-9911bfabd51a> in <cell line: 0>()
21 ] # More models at https://huggingface.co/unsloth
22
---> 23 model, tokenizer = FastLanguageModel.from_pretrained(
24 model_name = "unsloth/Mistral-Small-3.1-24B-Base-2503-unsloth-bnb-4bit",
25 max_seq_length = max_seq_length,
4 frames
/usr/local/lib/python3.11/dist-packages/unsloth_zoo/compiler.py in <module>
AttributeError: module 'transformers.models.mistral3.modeling_mistral3' has no attribute 'logger'
on this one
huh, double check if you installed the right version
idk im pretty new to this i just click on the playbuttons and if it doesnt work i paste it in openai lol
unsloth/Mistral-Small-3.1-24B-Base-2503-unsloth-bnb-4bit this is what i want to finetune
I have hit this same error with mistral small 3.1 fwiw
looks like the problem runs way deeper than i thought, problems with versions and vision and whatever, ill try to just finetune it normal i guess