Instructions to use Anoopsingh53/nexai-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Anoopsingh53/nexai-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 Anoopsingh53/nexai-v1:Q4_K_M # Run inference directly in the terminal: llama cli -hf Anoopsingh53/nexai-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 Anoopsingh53/nexai-v1:Q4_K_M # Run inference directly in the terminal: llama cli -hf Anoopsingh53/nexai-v1:Q4_K_M
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 Anoopsingh53/nexai-v1:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Anoopsingh53/nexai-v1:Q4_K_M
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 Anoopsingh53/nexai-v1:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Anoopsingh53/nexai-v1:Q4_K_M
Use Docker
docker model run hf.co/Anoopsingh53/nexai-v1:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Anoopsingh53/nexai-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Anoopsingh53/nexai-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": "Anoopsingh53/nexai-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Anoopsingh53/nexai-v1:Q4_K_M
- Ollama
How to use Anoopsingh53/nexai-v1 with Ollama:
ollama run hf.co/Anoopsingh53/nexai-v1:Q4_K_M
- Unsloth Studio
How to use Anoopsingh53/nexai-v1 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 Anoopsingh53/nexai-v1 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 Anoopsingh53/nexai-v1 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Anoopsingh53/nexai-v1 to start chatting
- Pi
How to use Anoopsingh53/nexai-v1 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Anoopsingh53/nexai-v1:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Anoopsingh53/nexai-v1:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use Anoopsingh53/nexai-v1 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Anoopsingh53/nexai-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:8080/v1 \ --custom-model-id "Anoopsingh53/nexai-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"
- Docker Model Runner
How to use Anoopsingh53/nexai-v1 with Docker Model Runner:
docker model run hf.co/Anoopsingh53/nexai-v1:Q4_K_M
- Lemonade
How to use Anoopsingh53/nexai-v1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Anoopsingh53/nexai-v1:Q4_K_M
Run and chat with the model
lemonade run user.nexai-v1-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Anoopsingh53/nexai-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 Anoopsingh53/nexai-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:8080/v1 hermes config set model.default Anoopsingh53/nexai-v1:Q4_K_M
Run Hermes
hermes
- Atomic Chat
π NexAI-v1 (7B Instruct - Q4_K_M GGUF)
Official repository of NexAI-v1, an enterprise-grade instruction-following model fine-tuned using QLoRA (SFT) on Alibaba's robust Qwen2.5-7B-Instruct architecture, and quantized into high-performance Q4_K_M GGUF format.
NexAI-v1 is engineered specifically for fast, localized CPU inference, retrieval-augmented generation (RAG) tasks, and secure, privacy-preserving local assistant applications.
π Model Summary
| Attribute | Details |
|---|---|
| Developed by | Anoop Singh |
| Model Type | Causal Language Model (Transformer-based) |
| Base Architecture | Qwen2.5 (Dense) |
| Parameter Count | 7.61 Billion |
| Quantization Format | GGUF (Q4_K_M - 4.91 Bits Per Weight) |
| File Size | 4.46 GB |
| Supported Languages | English, Hindi (Hinglish supported natively) |
| Context Length | 32,768 Tokens |
| License | Apache 2.0 |
π Key Capabilities & Features
- π§ Instruction Following: Fine-tuned to respond precisely to system prompts, system instructions, and multi-turn chat templates.
- π RAG Optimized: Enhanced comprehension for feeding external context documents (PDFs, text, web scrapes) without losing tracking accuracy.
- π€ Stealth & Safety: Integrated system prompts designed to prevent bot detection and bypass standard security filter constraints.
- β‘ Ultra-low Resource Execution: Fits comfortably within 8GB System RAM, executing at high token-generation speeds on consumer-grade laptops.
π οΈ Installation & Quickstart
1. Python Integration (via llama-cpp-python)
For programmatic use cases, install the Python binding:
pip install llama-cpp-python
Initialize and query the model directly from Hugging Face:
from llama_cpp import Llama
# Download and load the model locally
llm = Llama.from_pretrained(
repo_id="Anoopsingh53/nexai-v1",
filename="nexai-v1-Q4_K_M.gguf",
n_ctx=2048,
n_threads=4
)
# ChatML Format Prompt
prompt = '<|im_start|>system\n' \
'You are NexAI, a helpful, intelligent assistant.\n' \
'<|im_end|>\n' \
'<|im_start|>user\n' \
'Write a python function to check if a number is prime.\n' \
'<|im_end|>\n' \
'<|im_start|>assistant\n'
response = llm(
prompt,
max_tokens=256,
stop=["<|im_end|>"],
echo=False
)
print(response['choices'][0]['text'])
2. Desktop deployment (via llama.cpp CLI)
Download the .gguf file manually and run:
./llama-cli \
-m nexai-v1-Q4_K_M.gguf \
-p "<|im_start|>system\nYou are NexAI, a helpful assistant.<|im_end|>\n<|im_start|>user\nHello!\n<|im_end|><|im_start|>assistant\n" \
-n 128 \
-c 2048
βοΈ Training Details (QLoRA)
NexAI-v1 was trained using parameter-efficient fine-tuning (PEFT) on Google Colab hardware.
- Optimizer: AdamW (8-bit)
- Learning Rate: 2e-4
- Precision: mixed 16-bit / 4-bit SFT
- LoRA Target Modules:
q_proj,k_proj,v_proj,o_proj,gate_proj,up_proj,down_proj - LoRA Rank (R): 64 | LoRA Alpha: 16
- Training Epochs: 1 Epoch over specialized multi-turn data
β οΈ Intended Use & Limitations
- Intended Use: Personal assistance, local coding assistant, offline document RAG, and educational demonstrations.
- Limitations: Like all language models, NexAI-v1 may occasionally hallucinate or generate inaccurate facts. It is not intended for mission-critical medical, financial, or legal advice without human-in-the-loop validation.
- Biases: The model's outputs are heavily influenced by the pre-training data and instructions. Ensure proper filtering if deploying in customer-facing public products.
π License & Terms
This model is released under the Apache 2.0 License. Qwen2.5 base weights are governed by Alibaba's original terms of use.
- Downloads last month
- -
4-bit