Instructions to use cmp-nct/xcomposer2_gguf_for_llama.cpp_development with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use cmp-nct/xcomposer2_gguf_for_llama.cpp_development with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="cmp-nct/xcomposer2_gguf_for_llama.cpp_development", filename="ggml-model-q3ks.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use cmp-nct/xcomposer2_gguf_for_llama.cpp_development 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 cmp-nct/xcomposer2_gguf_for_llama.cpp_development:F16 # Run inference directly in the terminal: llama cli -hf cmp-nct/xcomposer2_gguf_for_llama.cpp_development:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf cmp-nct/xcomposer2_gguf_for_llama.cpp_development:F16 # Run inference directly in the terminal: llama cli -hf cmp-nct/xcomposer2_gguf_for_llama.cpp_development:F16
Use pre-built binary
# 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 cmp-nct/xcomposer2_gguf_for_llama.cpp_development:F16 # Run inference directly in the terminal: ./llama-cli -hf cmp-nct/xcomposer2_gguf_for_llama.cpp_development:F16
Build from source code
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 cmp-nct/xcomposer2_gguf_for_llama.cpp_development:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf cmp-nct/xcomposer2_gguf_for_llama.cpp_development:F16
Use Docker
docker model run hf.co/cmp-nct/xcomposer2_gguf_for_llama.cpp_development:F16
- LM Studio
- Jan
- Ollama
How to use cmp-nct/xcomposer2_gguf_for_llama.cpp_development with Ollama:
ollama run hf.co/cmp-nct/xcomposer2_gguf_for_llama.cpp_development:F16
- Unsloth Studio
How to use cmp-nct/xcomposer2_gguf_for_llama.cpp_development with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for cmp-nct/xcomposer2_gguf_for_llama.cpp_development to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for cmp-nct/xcomposer2_gguf_for_llama.cpp_development to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for cmp-nct/xcomposer2_gguf_for_llama.cpp_development to start chatting
- Atomic Chat new
- Docker Model Runner
How to use cmp-nct/xcomposer2_gguf_for_llama.cpp_development with Docker Model Runner:
docker model run hf.co/cmp-nct/xcomposer2_gguf_for_llama.cpp_development:F16
- Lemonade
How to use cmp-nct/xcomposer2_gguf_for_llama.cpp_development with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cmp-nct/xcomposer2_gguf_for_llama.cpp_development:F16
Run and chat with the model
lemonade run user.xcomposer2_gguf_for_llama.cpp_development-F16
List all available models
lemonade list
Upload 2 files
Browse files- .gitattributes +2 -0
- ggml-model-q4k.gguf +3 -0
- mmproj-model-f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
ggml-model-q3ks.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
mmproj-model-f16-q5_k.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
ggml-model-q3ks.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
mmproj-model-f16-q5_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
ggml-model-q4k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
mmproj-model-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
ggml-model-q4k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4bb04e1793645d92579032aea59921a54a3dece3a33aa7730e4f3726332dd24c
|
| 3 |
+
size 4947638048
|
mmproj-model-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:500b0364cc5410a0764e456b22d1554167cb963cadec0b47a41600336b9f20bd
|
| 3 |
+
size 625763520
|