Skip to content

Gurates/BasicDistributedAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Chatbot Training over P2P

Train your own AI chatbot with friends — no data sharing, just local training and model merging over the network.


What is this?

  • Each client trains a Transformer chatbot on a private dataset.
  • The server sends data slices, collects models & vocab files.
  • It aggregates all models into a single smart brain 🧠

Run in 3 Steps

Start the Server

python server.py

Start One or More Clients

python train.py

Each client trains locally and sends back a model.

Chat with the AI

python runner.py

Ask anything, get smart replies. Internet features included.


Requirements

torch
pandas
requests
beautifulsoup4
serpapi

Install:

pip install -r requirements.txt

Cool Features

  • Transformer-based chatbot (PyTorch)
  • Weighted model merging (like federated learning)
  • Web integration: weather, news, search
  • Beam Search decoding
  • Auto-logs chat to CSV

License

MIT — use freely and improve it!


Like it?

Star the repo and tell your friends!

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages