model: conversion and hyperparameter fixes for ministral and devstral (#13424)

This commit is contained in:
Jeffrey Morgan
2025-12-11 13:04:00 -08:00
committed by GitHub
parent 1c4e85b4df
commit a838421ea3
4 changed files with 250 additions and 12 deletions

View File

@@ -182,6 +182,8 @@ func ConvertModel(fsys fs.FS, f *os.File) error {
conv = &llama4Model{}
case "Mistral3ForConditionalGeneration":
conv = &mistral3Model{}
case "Ministral3ForCausalLM":
conv = &mistral3CausalModel{}
case "MixtralForCausalLM":
conv = &mixtralModel{}
case "GemmaForCausalLM":