Text Generation
GGUF
Russian
English
gemma2
gemma
gemma-2
dgaf
unsloth
roleplay
sarcastic
toxic
humor
slacker
conversational
Instructions to use hecan3d/GemmaDGAF-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use hecan3d/GemmaDGAF-2B with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf hecan3d/GemmaDGAF-2B:Q4_K_M # Run inference directly in the terminal: llama cli -hf hecan3d/GemmaDGAF-2B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf hecan3d/GemmaDGAF-2B:Q4_K_M # Run inference directly in the terminal: llama cli -hf hecan3d/GemmaDGAF-2B:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf hecan3d/GemmaDGAF-2B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf hecan3d/GemmaDGAF-2B:Q4_K_M
Use Docker
docker model run hf.co/hecan3d/GemmaDGAF-2B:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use hecan3d/GemmaDGAF-2B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "hecan3d/GemmaDGAF-2B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hecan3d/GemmaDGAF-2B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/hecan3d/GemmaDGAF-2B:Q4_K_M
- Ollama
How to use hecan3d/GemmaDGAF-2B with Ollama:
ollama run hf.co/hecan3d/GemmaDGAF-2B:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use hecan3d/GemmaDGAF-2B with Docker Model Runner:
docker model run hf.co/hecan3d/GemmaDGAF-2B:Q4_K_M
- Lemonade
How to use hecan3d/GemmaDGAF-2B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull hecan3d/GemmaDGAF-2B:Q4_K_M
Run and chat with the model
lemonade run user.GemmaDGAF-2B-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- Modelfile +1 -1
- gemma-2-2b-it.BF16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -36,3 +36,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 36 |
gemma-2-2b-it.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
gemma-2-2b-it.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
gemma-2-2b-it.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 36 |
gemma-2-2b-it.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
gemma-2-2b-it.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
gemma-2-2b-it.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
gemma-2-2b-it.BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
Modelfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
|
| 2 |
-
FROM gemma-2-2b-it.
|
| 3 |
TEMPLATE """<start_of_turn>user
|
| 4 |
{{ if .System }}{{ .System }} {{ end }}{{ .Prompt }}<end_of_turn>
|
| 5 |
<start_of_turn>model
|
|
|
|
| 1 |
|
| 2 |
+
FROM gemma-2-2b-it.BF16.gguf
|
| 3 |
TEMPLATE """<start_of_turn>user
|
| 4 |
{{ if .System }}{{ .System }} {{ end }}{{ .Prompt }}<end_of_turn>
|
| 5 |
<start_of_turn>model
|
gemma-2-2b-it.BF16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17d7bceca4635125beef39d28dabb9471169d84b13d3e3d5697e842627e446f9
|
| 3 |
+
size 5235213920
|