Instructions to use taide/TAIDE-LX-7B-Chat-4bit 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 taide/TAIDE-LX-7B-Chat-4bit 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 taide/TAIDE-LX-7B-Chat-4bit:Q4_K_M # Run inference directly in the terminal: llama cli -hf taide/TAIDE-LX-7B-Chat-4bit:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf taide/TAIDE-LX-7B-Chat-4bit:Q4_K_M # Run inference directly in the terminal: llama cli -hf taide/TAIDE-LX-7B-Chat-4bit: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 taide/TAIDE-LX-7B-Chat-4bit:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf taide/TAIDE-LX-7B-Chat-4bit:Q4_K_M
Use Docker
docker model run hf.co/taide/TAIDE-LX-7B-Chat-4bit:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use taide/TAIDE-LX-7B-Chat-4bit with Ollama:
ollama run hf.co/taide/TAIDE-LX-7B-Chat-4bit:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use taide/TAIDE-LX-7B-Chat-4bit with Docker Model Runner:
docker model run hf.co/taide/TAIDE-LX-7B-Chat-4bit:Q4_K_M
- Lemonade
How to use taide/TAIDE-LX-7B-Chat-4bit with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull taide/TAIDE-LX-7B-Chat-4bit:Q4_K_M
Run and chat with the model
lemonade run user.TAIDE-LX-7B-Chat-4bit-Q4_K_M
List all available models
lemonade list
- Atomic Chat
授權問題
#4
by HCCRen - opened
我已經獲得授權,為何還說我沒有權限?
code:
from ctransformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("taide/TAIDE-LX-7B-Chat-4bit", model_file="taide-7b-a.2-q4_k_m.gguf", model_type="llama", gpu_layers=50, token="HF_token")
error:
Cannot access gated repo for url https://huggingface.co/api/models/taide/TAIDE-LX-7B-Chat-4bit/revision/main.
Repo model taide/TAIDE-LX-7B-Chat-4bit is gated. You must be authenticated to access it.
您好,
- 需要確認此環境,是否有登入您的 huggingface account。
參考:https://huggingface.co/welcome
或是
- 使用 User Access Tokens 的方式,存取 huggingface。
參考:https://huggingface.co/docs/hub/security-tokens#user-access-tokens
Best regards.