Image-Text-to-Text
Transformers
Safetensors
GGUF
English
Sinhala
gemma4
ryzova
alphi
fp16
local-first
matrix-memory
growing-brain
conversational
Instructions to use RyzovaTech/Alphi-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RyzovaTech/Alphi-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="RyzovaTech/Alphi-v1") 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("RyzovaTech/Alphi-v1") model = AutoModelForMultimodalLM.from_pretrained("RyzovaTech/Alphi-v1", 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 RyzovaTech/Alphi-v1 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 RyzovaTech/Alphi-v1:Q4_K_M # Run inference directly in the terminal: llama cli -hf RyzovaTech/Alphi-v1:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RyzovaTech/Alphi-v1:Q4_K_M # Run inference directly in the terminal: llama cli -hf RyzovaTech/Alphi-v1:Q4_K_M
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 RyzovaTech/Alphi-v1:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf RyzovaTech/Alphi-v1:Q4_K_M
Use Docker
docker model run hf.co/RyzovaTech/Alphi-v1:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use RyzovaTech/Alphi-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RyzovaTech/Alphi-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RyzovaTech/Alphi-v1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/RyzovaTech/Alphi-v1:Q4_K_M
- SGLang
How to use RyzovaTech/Alphi-v1 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 "RyzovaTech/Alphi-v1" \ --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": "RyzovaTech/Alphi-v1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "RyzovaTech/Alphi-v1" \ --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": "RyzovaTech/Alphi-v1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use RyzovaTech/Alphi-v1 with Ollama:
ollama run hf.co/RyzovaTech/Alphi-v1:Q4_K_M
- Unsloth Desktop
- Pi
How to use RyzovaTech/Alphi-v1 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RyzovaTech/Alphi-v1:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "RyzovaTech/Alphi-v1:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use RyzovaTech/Alphi-v1 with Docker Model Runner:
docker model run hf.co/RyzovaTech/Alphi-v1:Q4_K_M
- Lemonade
How to use RyzovaTech/Alphi-v1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RyzovaTech/Alphi-v1:Q4_K_M
Run and chat with the model
lemonade run user.Alphi-v1-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use RyzovaTech/Alphi-v1 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RyzovaTech/Alphi-v1:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default RyzovaTech/Alphi-v1:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use RyzovaTech/Alphi-v1 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RyzovaTech/Alphi-v1:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "RyzovaTech/Alphi-v1:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Finalize Alphi v1 public model card
Browse files
README.md
CHANGED
|
@@ -32,13 +32,13 @@ tags:
|
|
| 32 |
|
| 33 |
| Item | Verified release record |
|
| 34 |
|---|---|
|
| 35 |
-
|
|
| 36 |
| Frozen FP16 model commit | `ffb73bca5c8c34623c6cec19767289fcce797d3b` |
|
| 37 |
| Architecture / model class | `gemma4` / `Gemma4ForConditionalGeneration` |
|
| 38 |
| FP16 weight files / tensors | 3 `.safetensors` shards / 1,951 tensors (engineering loader check) |
|
| 39 |
-
| GGUF
|
| 40 |
-
|
|
| 41 |
-
|
|
| 42 |
|
| 43 |
The GGUF files were converted from the frozen FP16 checkpoint and verified by local SHA256 checks and Hugging Face remote file metadata. The FP16 `main` branch remained at the pinned frozen commit during the release-candidate upload.
|
| 44 |
|
|
@@ -57,12 +57,12 @@ The remote `gguf/v1/GGUF_SHA256SUMS.txt` manifest was also byte-compared with th
|
|
| 57 |
|
| 58 |
## Getting started: local GGUF text inference
|
| 59 |
|
| 60 |
-
|
| 61 |
|
| 62 |
```bash
|
| 63 |
-
hf download RyzovaTech/Alphi \
|
| 64 |
gguf/v1/Ryzova-Alphi-v1-Q4_K_M.gguf \
|
| 65 |
-
--revision
|
| 66 |
--local-dir ./alphi
|
| 67 |
```
|
| 68 |
|
|
@@ -121,7 +121,7 @@ Ryzova and Google are separate licensors. **Each license applies to the material
|
|
| 121 |
|
| 122 |
The Hugging Face metadata remains `license: other` for this mixed-component release **until the model-distribution licensing scope is accurately documented**. This is not a declaration that the Ryzova-authored source code is unlicensed. This README describes the separate licensing of components; it does not replace their underlying license files or grant additional rights.
|
| 123 |
|
| 124 |
-
**Release visibility:**
|
| 125 |
|
| 126 |
## Links
|
| 127 |
|
|
@@ -134,4 +134,4 @@ The Hugging Face metadata remains `license: other` for this mixed-component rele
|
|
| 134 |
|
| 135 |
---
|
| 136 |
|
| 137 |
-
**Status:** This model card
|
|
|
|
| 32 |
|
| 33 |
| Item | Verified release record |
|
| 34 |
|---|---|
|
| 35 |
+
| Official distribution | [`RyzovaTech/Alphi-v1`](https://huggingface.co/RyzovaTech/Alphi-v1) |
|
| 36 |
| Frozen FP16 model commit | `ffb73bca5c8c34623c6cec19767289fcce797d3b` |
|
| 37 |
| Architecture / model class | `gemma4` / `Gemma4ForConditionalGeneration` |
|
| 38 |
| FP16 weight files / tensors | 3 `.safetensors` shards / 1,951 tensors (engineering loader check) |
|
| 39 |
+
| GGUF downloads | [`gguf/v1`](https://huggingface.co/RyzovaTech/Alphi-v1/tree/main/gguf/v1) |
|
| 40 |
+
| GGUF integrity | Four SHA256-verified GGUF variants |
|
| 41 |
+
| Release visibility | See current repository settings |
|
| 42 |
|
| 43 |
The GGUF files were converted from the frozen FP16 checkpoint and verified by local SHA256 checks and Hugging Face remote file metadata. The FP16 `main` branch remained at the pinned frozen commit during the release-candidate upload.
|
| 44 |
|
|
|
|
| 57 |
|
| 58 |
## Getting started: local GGUF text inference
|
| 59 |
|
| 60 |
+
Download a GGUF model from this repository (substitute another variant if desired):
|
| 61 |
|
| 62 |
```bash
|
| 63 |
+
hf download RyzovaTech/Alphi-v1 \
|
| 64 |
gguf/v1/Ryzova-Alphi-v1-Q4_K_M.gguf \
|
| 65 |
+
--revision main \
|
| 66 |
--local-dir ./alphi
|
| 67 |
```
|
| 68 |
|
|
|
|
| 121 |
|
| 122 |
The Hugging Face metadata remains `license: other` for this mixed-component release **until the model-distribution licensing scope is accurately documented**. This is not a declaration that the Ryzova-authored source code is unlicensed. This README describes the separate licensing of components; it does not replace their underlying license files or grant additional rights.
|
| 123 |
|
| 124 |
+
**Release visibility:** This clean distribution was initially staged privately. Check the repository's current visibility for availability.
|
| 125 |
|
| 126 |
## Links
|
| 127 |
|
|
|
|
| 134 |
|
| 135 |
---
|
| 136 |
|
| 137 |
+
**Status:** This model card describes the Alphi v1 neural distribution. Full Kit integration and independent external evaluation are separate from this release.
|