Text Generation
Safetensors
GGUF
English
llama
causal-lm
gqa
rope
swiglu
from-scratch
pretraining
instruction-tuned
Instructions to use sandbreak80sd/llm-350m-instruct 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 sandbreak80sd/llm-350m-instruct 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 sandbreak80sd/llm-350m-instruct:Q4_K_M # Run inference directly in the terminal: llama cli -hf sandbreak80sd/llm-350m-instruct:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf sandbreak80sd/llm-350m-instruct:Q4_K_M # Run inference directly in the terminal: llama cli -hf sandbreak80sd/llm-350m-instruct:Q4_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 sandbreak80sd/llm-350m-instruct:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf sandbreak80sd/llm-350m-instruct:Q4_K_M
Use Docker
docker model run hf.co/sandbreak80sd/llm-350m-instruct:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use sandbreak80sd/llm-350m-instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sandbreak80sd/llm-350m-instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sandbreak80sd/llm-350m-instruct", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/sandbreak80sd/llm-350m-instruct:Q4_K_M
- Ollama
How to use sandbreak80sd/llm-350m-instruct with Ollama:
ollama run hf.co/sandbreak80sd/llm-350m-instruct:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use sandbreak80sd/llm-350m-instruct with Docker Model Runner:
docker model run hf.co/sandbreak80sd/llm-350m-instruct:Q4_K_M
- Lemonade
How to use sandbreak80sd/llm-350m-instruct with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull sandbreak80sd/llm-350m-instruct:Q4_K_M
Run and chat with the model
lemonade run user.llm-350m-instruct-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download Modelfile from sandbreak80sd/llm-350m-instruct: direct link, hf CLI and curl.
- Browser
- Download file 258 Bytes
-
https://huggingface.co/sandbreak80sd/llm-350m-instruct/resolve/main/Modelfile
- Command line
-
hf download hf://sandbreak80sd/llm-350m-instruct/Modelfile
-
curl -L -o Modelfile https://huggingface.co/sandbreak80sd/llm-350m-instruct/resolve/main/Modelfile
258 Bytes
| FROM ./llm-350m-instruct-q4_k_m.gguf | |
| TEMPLATE """### Instruction: | |
| {{ .Prompt }} | |
| ### Response: | |
| """ | |
| PARAMETER stop "### Instruction:" | |
| PARAMETER stop "### Response:" | |
| PARAMETER temperature 0.7 | |
| PARAMETER top_p 0.9 | |
| PARAMETER top_k 50 | |
| PARAMETER repeat_penalty 1.1 | |