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
File size: 555 Bytes
1d4831d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | {
"bos_token": {
"content": "<bos>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"eos_token": {
"content": "<eos>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<pad>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"unk_token": {
"content": "<unk>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}
|