Skip to content

Commit

Permalink
change model to 13b by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ili16 committed Mar 25, 2024
1 parent 39fcd20 commit 7fe8c02
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ollama/ollama.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ func GenerateResponse(prompt map[string]interface{}) (weaviate.ResponseData, err

completePrompt := instruct + " " + code

model, ok := prompt["model"].(string)
if !ok {
model = "codellama:34b-instruct"
}

var context int
if len(completePrompt) < 2048 {
context = 2048
Expand Down

0 comments on commit 7fe8c02

Please sign in to comment.