Instructions to use abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_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 abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b:BF16 # Run inference directly in the terminal: llama cli -hf abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b:BF16 # Run inference directly in the terminal: llama cli -hf abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b:BF16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b:BF16 # Run inference directly in the terminal: ./llama-cli -hf abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b:BF16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b:BF16
Use Docker
docker model run hf.co/abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b:BF16
- LM Studio
- Jan
- Ollama
How to use abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b with Ollama:
ollama run hf.co/abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b:BF16
- Unsloth Desktop
- Docker Model Runner
How to use abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b with Docker Model Runner:
docker model run hf.co/abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b:BF16
- Lemonade
How to use abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull abhijitkumarjha88192/cs_repl_ai_alpaca_lora_gemma2_2b:BF16
Run and chat with the model
lemonade run user.cs_repl_ai_alpaca_lora_gemma2_2b-BF16
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- config.json +3 -0
- unsloth.BF16.gguf +3 -0
- unsloth.Q4_K_M.gguf +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
unsloth.BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
unsloth.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "gemma2"
|
| 3 |
+
}
|
unsloth.BF16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6dbfe4da4ef4c2e740eae5ee0c5cdfa95cbb4a9185377ba2c45e642e67a36bf2
|
| 3 |
+
size 5235213856
|
unsloth.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df8b9b3e7cc51625b8941cf19aa86bfcfe72c80589cb2951e72195df1fdefc72
|
| 3 |
+
size 1708582432
|