KALE-LM for Science
Collection
Knowledge And Logic Enhanced Large Model for Science โข 3 items โข Updated โข 1
How to use USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf:Q4_K_S # Run inference directly in the terminal: llama cli -hf USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf:Q4_K_S
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf:Q4_K_S # Run inference directly in the terminal: llama cli -hf USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf:Q4_K_S
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 USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf:Q4_K_S # Run inference directly in the terminal: ./build/bin/llama cli -hf USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf:Q4_K_S
docker model run hf.co/USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf:Q4_K_S
How to use USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf:Q4_K_S
How to use USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf with Ollama:
ollama run hf.co/USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf:Q4_K_S
How to use USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf with Docker Model Runner:
docker model run hf.co/USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf:Q4_K_S
How to use USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B-gguf:Q4_K_S
lemonade run user.Llama3-KALE-LM-Chem-8B-gguf-Q4_K_S
lemonade list
This is a direct GGUF conversion of USTC-KnowledgeComputingLab/Llama3-KALE-LM-Chem-8B
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit