Instructions to use ZeroFLN/Cerata with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZeroFLN/Cerata with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ZeroFLN/Cerata") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ZeroFLN/Cerata") model = AutoModelForCausalLM.from_pretrained("ZeroFLN/Cerata") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - llama-cpp-python
How to use ZeroFLN/Cerata with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="ZeroFLN/Cerata", filename="L3-8B-Niitama-v1.Q8_0.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use ZeroFLN/Cerata 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 ZeroFLN/Cerata:Q8_0 # Run inference directly in the terminal: llama cli -hf ZeroFLN/Cerata:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ZeroFLN/Cerata:Q8_0 # Run inference directly in the terminal: llama cli -hf ZeroFLN/Cerata:Q8_0
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 ZeroFLN/Cerata:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf ZeroFLN/Cerata:Q8_0
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 ZeroFLN/Cerata:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ZeroFLN/Cerata:Q8_0
Use Docker
docker model run hf.co/ZeroFLN/Cerata:Q8_0
- LM Studio
- Jan
- vLLM
How to use ZeroFLN/Cerata with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ZeroFLN/Cerata" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZeroFLN/Cerata", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ZeroFLN/Cerata:Q8_0
- SGLang
How to use ZeroFLN/Cerata with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ZeroFLN/Cerata" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZeroFLN/Cerata", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ZeroFLN/Cerata" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZeroFLN/Cerata", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use ZeroFLN/Cerata with Ollama:
ollama run hf.co/ZeroFLN/Cerata:Q8_0
- Unsloth Studio
How to use ZeroFLN/Cerata 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 ZeroFLN/Cerata 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 ZeroFLN/Cerata to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ZeroFLN/Cerata to start chatting
- Atomic Chat new
- Docker Model Runner
How to use ZeroFLN/Cerata with Docker Model Runner:
docker model run hf.co/ZeroFLN/Cerata:Q8_0
- Lemonade
How to use ZeroFLN/Cerata with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ZeroFLN/Cerata:Q8_0
Run and chat with the model
lemonade run user.Cerata-Q8_0
List all available models
lemonade list
About
static quants of https://huggingface.co/Sao10K/L3-8B-Niitama-v1
weighted/imatrix quants are available at https://huggingface.co/mradermacher/L3-8B-Niitama-v1-i1-GGUF
Usage
If you are unsure how to use GGUF files, refer to one of TheBloke's READMEs for more details, including on how to concatenate multi-part files.
Provided Quants
(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)
| Link | Type | Size/GB | Notes |
|---|---|---|---|
| GGUF | Q2_K | 3.3 | |
| GGUF | IQ3_XS | 3.6 | |
| GGUF | Q3_K_S | 3.8 | |
| GGUF | IQ3_S | 3.8 | beats Q3_K* |
| GGUF | IQ3_M | 3.9 | |
| GGUF | Q3_K_M | 4.1 | lower quality |
| GGUF | Q3_K_L | 4.4 | |
| GGUF | IQ4_XS | 4.6 | |
| GGUF | Q4_K_S | 4.8 | fast, recommended |
| GGUF | Q4_K_M | 5.0 | fast, recommended |
| GGUF | Q5_K_S | 5.7 | |
| GGUF | Q5_K_M | 5.8 | |
| GGUF | Q6_K | 6.7 | very good quality |
| GGUF | Q8_0 | 8.6 | fast, best quality |
| GGUF | f16 | 16.2 | 16 bpw, overkill |
Here is a handy graph by ikawrakow comparing some lower-quality quant types (lower is better):
And here are Artefact2's thoughts on the matter: https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9
FAQ / Model Request
See https://huggingface.co/mradermacher/model_requests for some answers to questions you might have and/or if you want some other model quantized.
Thanks
I thank my company, nethype GmbH, for letting me use its servers and providing upgrades to my workstation to enable this work in my free time.
- Downloads last month
- 16
8-bit
Model tree for ZeroFLN/Cerata
Base model
Sao10K/L3-8B-Niitama-v1