Downloads · 30 days
0
astracat0111/Vortex
Vortex is a machine learning model from astracat0111. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Vortex AI is a lightweight, efficient AI assistant specifically designed to run on systems with limited resources (like 2GB GPU, 4-core CPU, 12GB RAM). It uses state-of-the-art optimization techniques to deliver power…
Downloads · 30 days
0
Access
Public
Updated Nov 11, 2025
Repo size
—
Likes
1
Public
Click a slice to open those files.
.py54.6 KB · 79%
From the Hugging Face model README
Vortex AI is a lightweight, efficient AI assistant specifically designed to run on systems with limited resources (like 2GB GPU, 4-core CPU, 12GB RAM). It uses state-of-the-art optimization techniques to deliver powerful AI capabilities while maintaining efficiency.
pip install torch transformers accelerate bitsandbytes sentence-transformers
pip install GPUtil psutil requests
pip install peft # For LoRA adapters (optional)
python vortex_cli.py -q "What is the capital of France?"
python vortex_cli.py --model microsoft/Phi-3-mini-4k-instruct --temp 0.7 --max-tokens 512 "Explain quantum computing"
python vortex_cli.py --interactive
python vortex_cli.py --hardware-info
from vortex_engine import VortexEngine
# Initialize Vortex
vortex = VortexEngine(
model_name="microsoft/Phi-3-mini-4k-instruct",
quantization="4bit" # Use 4-bit quantization to save memory
)
# Generate text
response = vortex.generate("Hello, how are you?")
print(response)
# Perform search and respond with current information
response = vortex.search_and_respond("What is the latest version of Python?")
print(response)
# Cleanup when done
vortex.cleanup()
Vortex intelligently adapts to your hardware:
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ User Input │───▶│ Vortex Engine │───▶│ Output/Result │
└─────────────────┘ │ │ └─────────────────┘
│ • Model Loading │
│ • Quantization │
│ • Generation │
│ • Memory Mgmt │
└─────────────────┘
│
┌──────────────────┐
│ Utilities │
│ • Model Selector │
│ • Memory Manager │
│ • Quantization │
└──────────────────┘
│
┌──────────────────┐
│ Search Engine │
│ • Web Search │
│ • Document Search│
└──────────────────┘
Vortex AI uses these models based on hardware:
All models are optimized using 4-bit or 8-bit quantization to reduce memory usage.
Out of Memory Error:
Slow Performance:
Model Loading Issues:
Vortex includes sophisticated memory management:
Vortex AI can also be integrated with Ollama for an even more efficient experience on low-resource hardware!
Make sure Ollama is installed and running:
# Install Ollama from https://ollama.com/
ollama serve # Run this in a separate terminal
Navigate to the Vortex directory and run the integration script:
cd /home/astracat/vortex-ai
./ollama/install_vortex_ollama.sh
Or use the Python integration script:
cd /home/astracat/vortex-ai
python ollama/ollama_integration.py
Once installed, you can use Vortex through Ollama:
# Interactive chat
ollama run vortex:latest
# Single query
ollama generate vortex:latest "What is the capital of France?"
# Get model information
ollama show vortex:latest
# Use with API
curl http://localhost:11434/api/generate -d '{
"model": "vortex:latest",
"prompt": "Hello!"
}'
This project is licensed under the MIT License - see the LICENSE file for details.
We welcome contributions to Vortex AI! Feel free to submit issues or pull requests to improve: