Instructions to use SixanAI/SixanAI-Fast-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SixanAI/SixanAI-Fast-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SixanAI/SixanAI-Fast-1") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("SixanAI/SixanAI-Fast-1") model = AutoModelForMultimodalLM.from_pretrained("SixanAI/SixanAI-Fast-1", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use SixanAI/SixanAI-Fast-1 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 SixanAI/SixanAI-Fast-1:F16 # Run inference directly in the terminal: llama cli -hf SixanAI/SixanAI-Fast-1:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SixanAI/SixanAI-Fast-1:F16 # Run inference directly in the terminal: llama cli -hf SixanAI/SixanAI-Fast-1:F16
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 SixanAI/SixanAI-Fast-1:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf SixanAI/SixanAI-Fast-1:F16
Use Docker
docker model run hf.co/SixanAI/SixanAI-Fast-1:F16
- Llama new
- LM Studio
- Jan
- vLLM
How to use SixanAI/SixanAI-Fast-1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SixanAI/SixanAI-Fast-1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SixanAI/SixanAI-Fast-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SixanAI/SixanAI-Fast-1:F16
- SGLang
How to use SixanAI/SixanAI-Fast-1 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 "SixanAI/SixanAI-Fast-1" \ --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": "SixanAI/SixanAI-Fast-1", "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 "SixanAI/SixanAI-Fast-1" \ --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": "SixanAI/SixanAI-Fast-1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use SixanAI/SixanAI-Fast-1 with Ollama:
ollama run hf.co/SixanAI/SixanAI-Fast-1:F16
- Unsloth Desktop
- Docker Model Runner
How to use SixanAI/SixanAI-Fast-1 with Docker Model Runner:
docker model run hf.co/SixanAI/SixanAI-Fast-1:F16
- Lemonade
How to use SixanAI/SixanAI-Fast-1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SixanAI/SixanAI-Fast-1:F16
Run and chat with the model
lemonade run user.SixanAI-Fast-1-F16
List all available models
lemonade list
- Atomic Chat
SixanAI Fast 1
Looking for specialized Coding & Software Engineering?
Check out our dedicated coding model: SixanAI/SixanAI-Fast-1-CODE (sixanai-fast1-code) โ fine-tuned specifically for multi-language programming, debugging, SQL, and technical explanations.
- Developed by: SixanAI
- License: Apache 2.0 (see LICENSE and TERMS.md)
- Model Type: Ultra-low latency instruction-tuned language model
- Base Model: Gemma 4 E2B (
unsloth/gemma-4-E2B-it-unsloth-bnb-4bit)
SixanAI Fast 1 is an optimized, high-throughput text model engineered for low-latency inference, rapid conversational flows, and robust instruction adherence.
This model was fine-tuned 2x faster with Unsloth.
Available Files
| File / Format | Description | Size |
|---|---|---|
model.safetensors |
Full fine-tuned model weights (Hugging Face Transformers) | 10.2 GB |
adapter_model.safetensors |
LoRA adapter weights | 96.7 MB |
sixanai-fast1-Q4_K_M.gguf |
4-bit quantized GGUF model for local CPU/GPU inference | 3.43 GB |
sixanai-fast1-F16-mmproj.gguf |
Multimodal projector weights (F16) | 986 MB |
Modelfile |
Ready-to-use configuration file for Ollama | 205 B |
Quickstart
1. Using Hugging Face transformers
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "SixanAI/SixanAI-Fast-1"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto"
)
messages = [
{"role": "user", "content": "Explain quantum computing in two short sentences."}
]
inputs = tokenizer.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt"
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
2. Using Ollama (with included Modelfile)
Download sixanai-fast1-Q4_K_M.gguf and Modelfile from this repository into the same folder, then run:
ollama create sixanai-fast1 -f Modelfile
ollama run sixanai-fast1
License & Attribution
- License: Licensed under the Apache License, Version 2.0.
- Responsible Use: Please review our Responsible Use Guidelines.
- Attribution Notice: Fine-tuned from
unsloth/gemma-4-E2B-it-unsloth-bnb-4bit. Underlying base architecture & initial weights ยฉ Google LLC (Apache-2.0). See NOTICE for details.
- Downloads last month
- 90
Model tree for SixanAI/SixanAI-Fast-1
Base model
google/gemma-4-E2B