Views
No views yet
FastLanguageModel.from_pretrained (Unsloth) atau AutoModelForCausalLM (Hugging Face) oleh tim SFT.1from transformers import AutoModelForCausalLM, AutoTokenizer, AutoProcessor
2
3model_id = "aitf-komdigi/Ministral-3-3B-CPT-PAD1-V2"
4
5# Bisa langsung dipanggil tanpa adapter tambahan!
6tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
7processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
8model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)