Custom NLP model fine-tuned for task creation and tech support.
# Create virtual environment
python -m venv venv
# Activate (Windows)
.\venv\Scripts\activate
# Activate (Linux/macOS)
source venv/bin/activate
# Install dependencies
pip install -r requirements.txtpython data/generate_dataset.pypython train.py# Set allowed CORS origins (optional, defaults to http://localhost:3000)
export ALLOWED_ORIGINS="http://localhost:3000,http://localhost:3001"
# Run the server
python inference/server.pyALLOWED_ORIGINS: Comma-separated list of allowed CORS origins (default:http://localhost:3000)- Example:
http://localhost:3000,https://example.com - For production, set this to your specific domain(s) for security
- Example:
- Minimum: RTX 4060 (8GB VRAM)
- Recommended: RTX 4070+ (12GB+ VRAM)
- Base Model: TinyLlama-1.1B-Chat-v1.0
- Fine-tuning: LoRA (rank 16)
- Dataset: ~4000 synthetic examples (task creation + tech Q&A)