Skip to content

Commit

Permalink
Gemma added to downloadable models
Browse files Browse the repository at this point in the history
  • Loading branch information
guinmoon committed May 4, 2024
1 parent 745dc45 commit 367669f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 9 deletions.
4 changes: 2 additions & 2 deletions LLMFarm/Chats/LLMTextInput.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ public struct LLMTextInput: View {
.resizable()
.aspectRatio(contentMode: .fit)
.frame(maxWidth: 30,maxHeight: 40)
.clipShape(Circle())
// .clipShape(Circle())
#endif
// image!
}
.cornerRadius(20) /// make the background rounded
.cornerRadius(5) /// make the background rounded
.overlay( /// apply a rounded border
RoundedRectangle(cornerRadius: 5)
.stroke(.gray, lineWidth: 1)
Expand Down
43 changes: 36 additions & 7 deletions LLMFarm/Settings/downloadable_models.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,31 @@
]
},
{
"name": "Phi 2 2.7B",
"name": "Gemma 1.1 2B it",
"models": [
{
"file_name": "phi-2.Q4_K_M.gguf",
"url": "https://huggingface.co/TheBloke/phi-2-GGUF/resolve/main/phi-2.Q4_K_M.gguf?download=true",
"size": "1.48",
"Q": "Q4_K_M"
"url": "https://huggingface.co/guinmoon/LLMFarm_Models/resolve/main/gemma-2b-it-Q5_K_M.gguf?download=true",
"file_name": "gemma-2b-it-Q5_K_M.gguf",
"size": "",
"Q": "Q5_K_M"
},
{
"url": "https://huggingface.co/ggml-org/models/resolve/main/phi-2/ggml-model-q8_0.gguf?download=true",
"file_name": "phi-2-q8_0.gguf",
"url": "https://huggingface.co/guinmoon/LLMFarm_Models/resolve/main/gemma-2b-it.Q8_0.gguf?download=true",
"file_name": "gemma-2b-it.Q8_0.gguf",
"size": "",
"Q": "Q8_0"
},
{
"url": "https://huggingface.co/guinmoon/LLMFarm_Models/resolve/main/gemma-2b-it-IQ4_NL.gguf?download=true",
"file_name": "gemma-2b-it-IQ4_NL.gguf",
"size": "",
"Q": "IQ4_NL"
},
{
"url": "https://huggingface.co/guinmoon/LLMFarm_Models/resolve/main/gemma-2b-it-IQ3_S.gguf?download=true",
"file_name": "gemma-2b-it-IQ3_S.gguf",
"size": "",
"Q": "IQ3_S"
}
]
},
Expand All @@ -57,6 +69,23 @@
}
]
},
{
"name": "Phi 2 2.7B",
"models": [
{
"file_name": "phi-2.Q4_K_M.gguf",
"url": "https://huggingface.co/TheBloke/phi-2-GGUF/resolve/main/phi-2.Q4_K_M.gguf?download=true",
"size": "1.48",
"Q": "Q4_K_M"
},
{
"url": "https://huggingface.co/ggml-org/models/resolve/main/phi-2/ggml-model-q8_0.gguf?download=true",
"file_name": "phi-2-q8_0.gguf",
"size": "",
"Q": "Q8_0"
}
]
},
{
"name": "MobileVLM 1.7B",
"models": [
Expand Down

0 comments on commit 367669f

Please sign in to comment.