David AI 2B is an AI-powered offline assistant developed by Nexuzy Tech Pvt Ltd and David. It supports:
- 🤖 Chat using Mistral-7B (offline)
- 👨💻 Code generation via StarCoder 1B
- 🎨 Image generation using Stable Diffusion v1.5
- 🧼 Image deblurring using Real-ESRGAN
- 🗣️ Voice command in Bangla, Hindi, English
- 💻 System control using offline voice
| Component | Minimum |
|---|---|
| CPU | Intel i3 or above |
| RAM | 8 GB |
| GPU | 4 GB (recommended) |
| Storage | 80 GB free |
| OS | Windows 10/11 64-bit or Linux |
python -m venv venv
venv\Scripts\activate # On Windows
# OR
source venv/bin/activate # On Linux/Macgit clone https://github.com/david0154/david-ai-2b.git
cd david-ai-2b- For CPU only:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
- For Nvidia GPU:
See official PyTorch instructions
pip install --upgrade pip
pip install -r requirements.txtpython run.py✅ This downloads all pretrained models into models/.
Works 100% offline after the first run.
pip install pyinstallerpyinstaller --noconfirm --onefile --windowed --icon=static/david.ico run.py✅ Output:
dist/
└── run.exe
🔗 https://jrsoftware.org/isinfo.php
[Setup]
AppName=David AI 2B
AppVersion=1.0
DefaultDirName={pf}\DavidAI2B
DefaultGroupName=David AI 2B
OutputDir=dist
OutputBaseFilename=DavidAI2BInstaller
SetupIconFile=static\david.ico
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Files]
Source: "dist\run.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "models\*"; DestDir: "{app}\models"; Flags: recursesubdirs createallsubdirs
[Icons]
Name: "{group}\David AI 2B"; Filename: "{app}\run.exe"; WorkingDir: "{app}"
Name: "{group}\Uninstall David AI 2B"; Filename: "{uninstallexe}"installer\build.bat✅ Output:
dist/
└── DavidAI2BInstaller.exe
requirements.txtREADME.mdstatic/david.icoandstatic/davidai.png
Built by: David
Organization: Nexuzy Tech Pvt Ltd
This project is licensed under the MIT License.
