Instructions to use chentianren/model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chentianren/model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("chentianren/model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use chentianren/model 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 chentianren/model:F16 # Run inference directly in the terminal: llama cli -hf chentianren/model:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf chentianren/model:F16 # Run inference directly in the terminal: llama cli -hf chentianren/model: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 chentianren/model:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf chentianren/model:F16
Use Docker
docker model run hf.co/chentianren/model:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use chentianren/model with Ollama:
ollama run hf.co/chentianren/model:F16
- Unsloth Desktop
- Docker Model Runner
How to use chentianren/model with Docker Model Runner:
docker model run hf.co/chentianren/model:F16
- Lemonade
How to use chentianren/model with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull chentianren/model:F16
Run and chat with the model
lemonade run user.model-F16
List all available models
lemonade list
- Atomic Chat
File size: 777 Bytes
8d779b8 a9c9faf | 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 | FROM ./chentianren/model/unsloth.F16.gguf
TEMPLATE """你是一个SQL生成器.{{ if .Prompt }}
### Instruction:
{{ .Prompt }}{{ end }}
### Response:
{{ .Response }}<|im_end|>"""
PARAMETER stop "<|image_pad|>"
PARAMETER stop "<|object_ref_end|>"
PARAMETER stop "<|video_pad|>"
PARAMETER stop "<|repo_name|>"
PARAMETER stop "<tool_call>"
PARAMETER stop "<|endoftext|>"
PARAMETER stop "<|file_sep|>"
PARAMETER stop "<|im_start|>"
PARAMETER stop "</tool_call>"
PARAMETER stop "<|object_ref_start|>"
PARAMETER stop "<|PAD_TOKEN|>"
PARAMETER stop "<|quad_start|>"
PARAMETER stop "<|box_start|>"
PARAMETER stop "<|quad_end|>"
PARAMETER stop "<|box_end|>"
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|fim_"
PARAMETER stop "<|vision_"
PARAMETER temperature 1.5
PARAMETER min_p 0.1 |