Skip to content

Commit

Permalink
feat: Update Llamafile version, add larger Llamafile models
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspermarstal committed Nov 21, 2024
1 parent 1e7a4f0 commit 2e64b0a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Cellm/appsettings.Local.Anthropic.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"AnthropicConfiguration": {
"DefaultModel": "claude-3-5-sonnet-20241022",
"ApiKey": "YOUR_ANTHROPIC_APIKEY"
"ApiKey": "YOUR_ANTHROPIC_API_KEY"
},
"CellmConfiguration": {
"DefaultProvider": "Anthropic",
Expand Down
4 changes: 3 additions & 1 deletion src/Cellm/appsettings.Local.Llamafile.GPU.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"DefaultModel": "gemma-2-2b",
"Models": {
"gemma-2-2b": "https://huggingface.co/bartowski/gemma-2-2b-it-GGUF/resolve/main/gemma-2-2b-it-Q6_K.gguf",
"gemma-2-9b": "https://huggingface.co/bartowski/gemma-2-9b-it-GGUF/resolve/main/gemma-2-9b-it-Q4_K_L.gguf",
"llama-3.2-1b": "https://huggingface.co/bartowski/Llama-3.2-1B-Instruct-GGUF/resolve/main/Llama-3.2-1B-Instruct-Q6_K_L.gguf",
"llama-3.2-3b": "https://huggingface.co/bartowski/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_L.gguf"
"llama-3.2-3b": "https://huggingface.co/bartowski/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_L.gguf",
"ministral-8b": "https://huggingface.co/bartowski/Ministral-8B-Instruct-2410-GGUF/resolve/main/Ministral-8B-Instruct-2410-Q5_K_L.gguf"
},
"GPU": true,
"GpuLayers": 999
Expand Down
6 changes: 4 additions & 2 deletions src/Cellm/appsettings.Local.Llamafile.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"LlamafileConfiguration": {
"LlamafileUrl": "https://github.com/Mozilla-Ocho/llamafile/releases/download/0.8.13/llamafile-0.8.13",
"LlamafileUrl": "https://github.com/Mozilla-Ocho/llamafile/releases/download/0.8.16/llamafile-0.8.16",
"BaseAddress": "http://127.0.0.1",
"DefaultModel": "gemma-2-2b",
"Models": {
"gemma-2-2b": "https://huggingface.co/bartowski/gemma-2-2b-it-GGUF/resolve/main/gemma-2-2b-it-Q6_K.gguf",
"gemma-2-9b": "https://huggingface.co/bartowski/gemma-2-9b-it-GGUF/resolve/main/gemma-2-9b-it-Q4_K_L.gguf",
"llama-3.2-1b": "https://huggingface.co/bartowski/Llama-3.2-1B-Instruct-GGUF/resolve/main/Llama-3.2-1B-Instruct-Q6_K_L.gguf",
"llama-3.2-3b": "https://huggingface.co/bartowski/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_L.gguf"
"llama-3.2-3b": "https://huggingface.co/bartowski/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_L.gguf",
"ministral-8b": "https://huggingface.co/bartowski/Ministral-8B-Instruct-2410-GGUF/resolve/main/Ministral-8B-Instruct-2410-Q5_K_L.gguf"
}
},
"CellmConfiguration": {
Expand Down
2 changes: 1 addition & 1 deletion src/Cellm/appsettings.Local.Mistral.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"OpenAiConfiguration": {
"BaseAddress": "https://api.mistral.ai",
"DefaultModel": "mistral-small-latest",
"ApiKey": "YOUR_MISTRAL_APIKEY"
"ApiKey": "YOUR_MISTRAL_API_KEY"
},
"CellmConfiguration": {
"DefaultProvider": "OpenAI",
Expand Down
2 changes: 1 addition & 1 deletion src/Cellm/appsettings.Local.OpenAi.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"OpenAiConfiguration": {
"DefaultModel": "gpt-4o-mini",
"ApiKey": "YOUR_OPENAI_APIKEY"
"ApiKey": "YOUR_OPENAI_API_KEY"
},
"CellmConfiguration": {
"DefaultProvider": "OpenAI",
Expand Down

0 comments on commit 2e64b0a

Please sign in to comment.