Michael Yang 3 bulan lalu
induk
melakukan
58382892ad
2 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 0 1
      convert/convert_qwen2.go
  2. 1 1
      llm/server.go

+ 0 - 1
convert/convert_qwen2.go

@@ -2,7 +2,6 @@ package convert
 
 
 import "github.com/ollama/ollama/fs/ggml"
 import "github.com/ollama/ollama/fs/ggml"
 
 
-
 type qwen2Model struct {
 type qwen2Model struct {
 	ModelParameters
 	ModelParameters
 	MaxPositionEmbeddings uint32  `json:"max_position_embeddings"`
 	MaxPositionEmbeddings uint32  `json:"max_position_embeddings"`

+ 1 - 1
llm/server.go

@@ -28,8 +28,8 @@ import (
 	"github.com/ollama/ollama/discover"
 	"github.com/ollama/ollama/discover"
 	"github.com/ollama/ollama/envconfig"
 	"github.com/ollama/ollama/envconfig"
 	"github.com/ollama/ollama/format"
 	"github.com/ollama/ollama/format"
-	"github.com/ollama/ollama/llama"
 	"github.com/ollama/ollama/fs/ggml"
 	"github.com/ollama/ollama/fs/ggml"
+	"github.com/ollama/ollama/llama"
 )
 )
 
 
 type LlamaServer interface {
 type LlamaServer interface {