NEXUS-AI / README.md
Mati83moni's picture
Rebrand to TRAIN YOUR AI: add Guide page, lock credentials, remove Settings from nav
2ed4893 verified
|
Raw
History Blame Contribute Delete
2.45 kB
metadata
title: TRAIN YOUR AI
emoji: 🎯
colorFrom: indigo
colorTo: purple
sdk: docker
pinned: false
license: mit
app_port: 7860

🎯 TRAIN YOUR AI β€” ML Training Script Generator & Manager

Generate production-ready training scripts for fine-tuning AI models, then run them on Google Colab with real-time monitoring.

πŸš€ How to Use

Step 1: Choose Your Model

Go to Model Explorer and search for a HuggingFace model you want to fine-tune (e.g. bert-base-uncased, gpt2, facebook/opt-350m).

Step 2: Find a Dataset

Use Dataset Explorer to search HuggingFace Hub and Kaggle for training datasets matching your task.

Step 3: Generate a Training Script

Open The Architect β€” enter your task description, select model & dataset, adjust training parameters, and click Generate Script. The AI generates a complete, production-ready Python script with:

  • βœ… PEFT/LoRA for memory-efficient fine-tuning
  • βœ… Automatic checkpoint saving to Google Drive
  • βœ… OOM error handling with gradient checkpointing fallback
  • βœ… Resume from checkpoint support
  • βœ… Real-time metrics reporting
  • βœ… Colab session keepalive
  • βœ… Auto-generated requirements.txt

Step 4: Run on Google Colab

  1. Copy the generated script
  2. Open Google Colab
  3. Mount your Google Drive: from google.colab import drive; drive.mount('/content/drive')
  4. Paste and run the script β€” your model will train on Colab's free GPU!

Step 5: Monitor Training (Optional)

Connect the NEXUS Bridge from Colab for real-time training metrics, loss curves, and GPU monitoring in the Dashboard.

πŸ“‹ Supported Tasks

Task Example Models Example Datasets
Text Classification bert-base-uncased, distilbert-base-uncased imdb, sst2, ag_news
Text Generation gpt2, facebook/opt-350m wikitext, openwebtext
Summarization t5-small, facebook/bart-large-cnn cnn_dailymail, xsum
Question Answering deepset/roberta-base-squad2 squad, natural_questions
Token Classification bert-base-cased conll2003
Image Classification google/vit-base-patch16-224 cifar10, imagenet-1k

πŸ›  Built with

React 18 Β· TypeScript Β· Express.js Β· Tailwind CSS Β· shadcn/ui Β· HuggingFace Inference API Β· Supabase Realtime


Created by Mati83moni