Transformers
Safetensors
GGUF
English
llama
text-generation-inference
unsloth
trl
grpo
conversational
Instructions to use ericrisco/salamandra-7b-r1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ericrisco/salamandra-7b-r1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ericrisco/salamandra-7b-r1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ericrisco/salamandra-7b-r1 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 ericrisco/salamandra-7b-r1:F16 # Run inference directly in the terminal: llama cli -hf ericrisco/salamandra-7b-r1:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ericrisco/salamandra-7b-r1:F16 # Run inference directly in the terminal: llama cli -hf ericrisco/salamandra-7b-r1:F16
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 ericrisco/salamandra-7b-r1:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf ericrisco/salamandra-7b-r1:F16
Use Docker
docker model run hf.co/ericrisco/salamandra-7b-r1:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use ericrisco/salamandra-7b-r1 with Ollama:
ollama run hf.co/ericrisco/salamandra-7b-r1:F16
- Unsloth Desktop
- Docker Model Runner
How to use ericrisco/salamandra-7b-r1 with Docker Model Runner:
docker model run hf.co/ericrisco/salamandra-7b-r1:F16
- Lemonade
How to use ericrisco/salamandra-7b-r1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ericrisco/salamandra-7b-r1:F16
Run and chat with the model
lemonade run user.salamandra-7b-r1-F16
List all available models
lemonade list
- Atomic Chat
Download generation_config.json from ericrisco/salamandra-7b-r1: direct link, hf CLI and curl.
- Browser
- Download file 154 Bytes
-
https://huggingface.co/ericrisco/salamandra-7b-r1/resolve/main/generation_config.json
- Command line
-
hf download hf://ericrisco/salamandra-7b-r1/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/ericrisco/salamandra-7b-r1/resolve/main/generation_config.json
154 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "max_length": 8192, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.48.3" | |
| } | |