Text Generation
Transformers
Safetensors
GGUF
multilingual
gemma4
image-text-to-text
text-generation-inference
unsloth
trl
SixanAI
conversational
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
File size: 2,882 Bytes
efc458b 2404dd2 683c780 efc458b 2404dd2 efc458b 2404dd2 dcccce0 2404dd2 efc458b 2404dd2 efc458b 55e4ac1 2404dd2 683c780 2404dd2 683c780 efc458b 683c780 efc458b 683c780 4201dc3 683c780 55e4ac1 683c780 55e4ac1 683c780 55e4ac1 683c780 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | ---
base_model: unsloth/gemma-4-E2B-it-unsloth-bnb-4bit
library_name: transformers
pipeline_tag: text-generation
tags:
- text-generation-inference
- transformers
- unsloth
- trl
- SixanAI
- gemma4
- gguf
license: apache-2.0
language:
- multilingual
---
# SixanAI Fast 1
> **Looking for specialized Coding & Software Engineering?**
> Check out our dedicated coding model: **[SixanAI/SixanAI-Fast-1-CODE](https://huggingface.co)** (`sixanai-fast1-code`) — fine-tuned specifically for multi-language programming, debugging, SQL, and technical explanations.
- **Developed by:** SixanAI
- **License:** Apache 2.0 (see [LICENSE](LICENSE) and [TERMS.md](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](https://github.com).
---
## 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`
```python
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:
```bash
ollama create sixanai-fast1 -f Modelfile
ollama run sixanai-fast1
```
---
## License & Attribution
- **License:** Licensed under the [Apache License, Version 2.0](LICENSE).
- **Responsible Use:** Please review our [Responsible Use Guidelines](TERMS.md).
- **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](NOTICE) for details. |