(Trained with Unsloth) 7940729 verified
黄烨 commited on
How to use YellowLeaves/model with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("YellowLeaves/model", device_map="auto")How to use YellowLeaves/model with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf YellowLeaves/model:F16 # Run inference directly in the terminal: llama cli -hf YellowLeaves/model:F16
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf YellowLeaves/model:F16 # Run inference directly in the terminal: llama cli -hf YellowLeaves/model:F16
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf YellowLeaves/model:F16 # Run inference directly in the terminal: ./llama-cli -hf YellowLeaves/model:F16
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf YellowLeaves/model:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf YellowLeaves/model:F16
docker model run hf.co/YellowLeaves/model:F16
How to use YellowLeaves/model with Ollama:
ollama run hf.co/YellowLeaves/model:F16
How to use YellowLeaves/model with Docker Model Runner:
docker model run hf.co/YellowLeaves/model:F16
How to use YellowLeaves/model with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull YellowLeaves/model:F16
lemonade run user.model-F16
lemonade list