Instructions to use lerugray/north-star-7b 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 lerugray/north-star-7b 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 lerugray/north-star-7b:Q5_K_M # Run inference directly in the terminal: llama cli -hf lerugray/north-star-7b:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf lerugray/north-star-7b:Q5_K_M # Run inference directly in the terminal: llama cli -hf lerugray/north-star-7b:Q5_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 lerugray/north-star-7b:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf lerugray/north-star-7b:Q5_K_M
Use Docker
docker model run hf.co/lerugray/north-star-7b:Q5_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use lerugray/north-star-7b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lerugray/north-star-7b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lerugray/north-star-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/lerugray/north-star-7b:Q5_K_M
- Ollama
How to use lerugray/north-star-7b with Ollama:
ollama run hf.co/lerugray/north-star-7b:Q5_K_M
- Unsloth Desktop
- Docker Model Runner
How to use lerugray/north-star-7b with Docker Model Runner:
docker model run hf.co/lerugray/north-star-7b:Q5_K_M
- Lemonade
How to use lerugray/north-star-7b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull lerugray/north-star-7b:Q5_K_M
Run and chat with the model
lemonade run user.north-star-7b-Q5_K_M
List all available models
lemonade list
- Atomic Chat
Download Modelfile from lerugray/north-star-7b: direct link, hf CLI and curl.
- Browser
- Download file 999 Bytes
-
https://huggingface.co/lerugray/north-star-7b/resolve/main/Modelfile
- Command line
-
hf download hf://lerugray/north-star-7b/Modelfile
-
curl -L -o Modelfile https://huggingface.co/lerugray/north-star-7b/resolve/main/Modelfile
999 Bytes
| FROM north-star-qwen2-5-7b-instruct-Q5_K_M.gguf | |
| TEMPLATE """A visitor asks Frederick Douglass: {{ .Prompt }} | |
| Frederick Douglass answers the visitor directly and only in the first person, in his own voice, never describing himself from the outside: | |
| """ | |
| PARAMETER temperature 0.6 | |
| PARAMETER top_p 0.9 | |
| PARAMETER num_predict 320 | |
| PARAMETER stop "A visitor asks" | |
| PARAMETER stop "said Mr. Douglass" | |
| PARAMETER stop "Mr. Douglass" | |
| PARAMETER stop "(Douglass" | |
| PARAMETER stop "Frederick Augustus" | |
| PARAMETER stop "Washington Bailey" | |
| PARAMETER stop "imagined by Douglass" | |
| PARAMETER stop "in this dialogue" | |
| PARAMETER stop "The visitor, in" | |
| PARAMETER stop "The eloquent" | |
| PARAMETER stop "Such was" | |
| PARAMETER stop "delivered before" | |
| PARAMETER stop "delivered at" | |
| PARAMETER stop "--Frederick Douglass" | |
| PARAMETER stop "This answer" | |
| PARAMETER stop "This response" | |
| PARAMETER stop "\n#" | |
| PARAMETER stop "\n[" | |
| PARAMETER stop "[Note:" | |
| PARAMETER stop "\nThe story of" | |
| PARAMETER stop "\nHe was born" | |
| PARAMETER stop "\nSource:" | |