Unverified Commit 30fb7e19 authored by Michael Yang's avatar Michael Yang Committed by GitHub
Browse files

remove extra field attr (#11205)

parent d3450dd5
...@@ -18,7 +18,7 @@ type Model struct { ...@@ -18,7 +18,7 @@ type Model struct {
model.Base model.Base
model.SentencePieceModel model.SentencePieceModel
*VisionModel `gguf:"v,vision"` *VisionModel `gguf:"v"`
*TextModel *TextModel
*MultiModalProjector `gguf:"mm"` *MultiModalProjector `gguf:"mm"`
......
...@@ -18,7 +18,7 @@ type Model struct { ...@@ -18,7 +18,7 @@ type Model struct {
model.BytePairEncoding model.BytePairEncoding
ImageProcessor ImageProcessor
*VisionModel `gguf:"v,vision"` *VisionModel `gguf:"v"`
*Projector `gguf:"mm"` *Projector `gguf:"mm"`
*TextModel *TextModel
} }
......
...@@ -18,7 +18,7 @@ type Model struct { ...@@ -18,7 +18,7 @@ type Model struct {
model.BytePairEncoding model.BytePairEncoding
*TextModel *TextModel
*VisionModel `gguf:"v,vision"` *VisionModel `gguf:"v"`
*MultiModalProjector `gguf:"mm"` *MultiModalProjector `gguf:"mm"`
ImageProcessor ImageProcessor
......
...@@ -17,7 +17,7 @@ type Model struct { ...@@ -17,7 +17,7 @@ type Model struct {
model.Base model.Base
model.BytePairEncoding model.BytePairEncoding
*VisionModel `gguf:"v,vision"` *VisionModel `gguf:"v"`
*TextModel *TextModel
Projector *nn.Linear `gguf:"mm.0"` Projector *nn.Linear `gguf:"mm.0"`
......
...@@ -18,7 +18,7 @@ type Model struct { ...@@ -18,7 +18,7 @@ type Model struct {
model.BytePairEncoding model.BytePairEncoding
*TextModel *TextModel
*VisionModel `gguf:"v,vision"` *VisionModel `gguf:"v"`
ImageProcessor ImageProcessor
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment