Instructions to use basuo/llama-law 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 basuo/llama-law 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 basuo/llama-law:Q4_K_M # Run inference directly in the terminal: llama cli -hf basuo/llama-law:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf basuo/llama-law:Q4_K_M # Run inference directly in the terminal: llama cli -hf basuo/llama-law: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 basuo/llama-law:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf basuo/llama-law:Q4_K_M
Use Docker
docker model run hf.co/basuo/llama-law:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use basuo/llama-law with Ollama:
ollama run hf.co/basuo/llama-law:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use basuo/llama-law with Docker Model Runner:
docker model run hf.co/basuo/llama-law:Q4_K_M
- Lemonade
How to use basuo/llama-law with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull basuo/llama-law:Q4_K_M
Run and chat with the model
lemonade run user.llama-law-Q4_K_M
List all available models
lemonade list
- Atomic Chat
README.md
Browse files12369 unmodified lines73747576# 模型摘要本模型是基于llama3.1-8B-Chinese-Chat预训练模型基础上再次训练的法律条文模型。* 基础型号:llama3.1-8B-Chinese-Chat69 unmodified lines```## GGUF模型1.从模型文件中下载GGUF文件;<br>2.将GGUF模型与LM Studio或Ollama结合使用;123469 unmodified lines747576777879808182838485<<<<<<< HEAD# 模型摘要本模型是基于llama3.1-8B-Chinese-Chat预训练模型基础上再次训练的法律条文模型。* 基础型号:llama3.1-8B-Chinese-Chat69 unmodified lines```## GGUF模型1.从模型文件中下载GGUF文件;<br>2.将GGUF模型与LM Studio或Ollama结合使用;=======---datasets:- Skepsun/lawyer_llama_datalanguage:- zh--->>>>>>> 17cf17be9460dc6443e8a224786421ba5b20559d
README.md+10-1