Instructions to use gghfez/dots.llm1.base-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use gghfez/dots.llm1.base-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="gghfez/dots.llm1.base-GGUF", filename="dots.llm1.base.q4_k-00001-of-00002.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use gghfez/dots.llm1.base-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf gghfez/dots.llm1.base-GGUF # Run inference directly in the terminal: llama-cli -hf gghfez/dots.llm1.base-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf gghfez/dots.llm1.base-GGUF # Run inference directly in the terminal: llama-cli -hf gghfez/dots.llm1.base-GGUF
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 gghfez/dots.llm1.base-GGUF # Run inference directly in the terminal: ./llama-cli -hf gghfez/dots.llm1.base-GGUF
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 gghfez/dots.llm1.base-GGUF # Run inference directly in the terminal: ./build/bin/llama-cli -hf gghfez/dots.llm1.base-GGUF
Use Docker
docker model run hf.co/gghfez/dots.llm1.base-GGUF
- LM Studio
- Jan
- Ollama
How to use gghfez/dots.llm1.base-GGUF with Ollama:
ollama run hf.co/gghfez/dots.llm1.base-GGUF
- Unsloth Studio new
How to use gghfez/dots.llm1.base-GGUF 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 gghfez/dots.llm1.base-GGUF 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 gghfez/dots.llm1.base-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for gghfez/dots.llm1.base-GGUF to start chatting
- Docker Model Runner
How to use gghfez/dots.llm1.base-GGUF with Docker Model Runner:
docker model run hf.co/gghfez/dots.llm1.base-GGUF
- Lemonade
How to use gghfez/dots.llm1.base-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull gghfez/dots.llm1.base-GGUF
Run and chat with the model
lemonade run user.dots.llm1.base-GGUF-{{QUANT_TAG}}List all available models
lemonade list
gghfez/dots.llm1.base-GGUF
This is the base model
Instruct model is here: gghfez/dots.llm1.inst-GGUF
This requires a fork of llama.cpp
install
git clone https://github.com/Noeda/llama.cpp
git checkout -b dots1
cmake # your usual cmake parameters / official documentation
run
Use this following cli args to override the chat_template and special tokens:
./llama-cli -m ./dots.llm1.inst-GGUF/dots.1.base.q4_k.gguf-00001-of-00002.gguf --ctx-size 8192 --n-gpu-layers 64 -t 16 --temp 0.3 --chat-template "{% if messages[0]['role'] == 'system' %}<|system|>{{ messages[0]['content'] }}<|endofsystem|>{% set start_idx = 1 %}{% else %}<|system|>You are a helpful assistant.<|endofsystem|>{% set start_idx = 0 %}{% endif %}{% for idx in range(start_idx, messages|length) %}{% if messages[idx]['role'] == 'user' %}<|userprompt|>{{ messages[idx]['content'] }}<|endofuserprompt|>{% elif messages[idx]['role'] == 'assistant' %}<|response|>{{ messages[idx]['content'] }}<|endofresponse|>{% endif %}{% endfor %}{% if add_generation_prompt and messages[-1]['role'] == 'user' %}<|response|>{% endif %}" --jinja --override-kv tokenizer.ggml.bos_token_id=int:-1 --override-kv tokenizer.ggml.eos_token_id=int:151645 --override-kv tokenizer.ggml.pad_token_id=int:151645 --override-kv tokenizer.ggml.eot_token_id=int:151649 --override-kv tokenizer.ggml.eog_token_id=int:151649
Thanks @shigureui for posting it here
- Downloads last month
- 5
Hardware compatibility
Log In to add your hardware
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support
Model tree for gghfez/dots.llm1.base-GGUF
Base model
rednote-hilab/dots.llm1.base