Norwegian models
Collection
1 item โข Updated
How to use gatepoet/Llama-2-7b-chat-norwegian-GGUF with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("gatepoet/Llama-2-7b-chat-norwegian-GGUF", device_map="auto")How to use gatepoet/Llama-2-7b-chat-norwegian-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf gatepoet/Llama-2-7b-chat-norwegian-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf gatepoet/Llama-2-7b-chat-norwegian-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf gatepoet/Llama-2-7b-chat-norwegian-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf gatepoet/Llama-2-7b-chat-norwegian-GGUF:Q4_K_M
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 gatepoet/Llama-2-7b-chat-norwegian-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf gatepoet/Llama-2-7b-chat-norwegian-GGUF:Q4_K_M
docker model run hf.co/gatepoet/Llama-2-7b-chat-norwegian-GGUF:Q4_K_M
How to use gatepoet/Llama-2-7b-chat-norwegian-GGUF with Ollama:
ollama run hf.co/gatepoet/Llama-2-7b-chat-norwegian-GGUF:Q4_K_M
How to use gatepoet/Llama-2-7b-chat-norwegian-GGUF with Docker Model Runner:
docker model run hf.co/gatepoet/Llama-2-7b-chat-norwegian-GGUF:Q4_K_M
How to use gatepoet/Llama-2-7b-chat-norwegian-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull gatepoet/Llama-2-7b-chat-norwegian-GGUF:Q4_K_M
lemonade run user.Llama-2-7b-chat-norwegian-GGUF-Q4_K_M
lemonade list
No model card