|
@@ -201,7 +201,7 @@ func ConvertModel(fsys fs.FS, ws io.WriteSeeker) error {
|
|
|
case "CohereForCausalLM":
|
|
|
conv = &commandrModel{}
|
|
|
default:
|
|
|
- return errors.New("unsupported architecture")
|
|
|
+ return fmt.Errorf("unsupported architecture %q", p.Architectures[0])
|
|
|
}
|
|
|
|
|
|
if err := json.Unmarshal(bts, conv); err != nil {
|