Skip to content

Ryan-infitech/Deepseek-on-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

|

Run DeepSeek On Cloud Computing

A semi-local chatbot implementation using DeepSeek 1.5B language model with cloud tunneling via Ngrok. This project allows you to run a powerful AI chatbot locally while making it accessible through a cloud connection. FYI you can use another model 😁

🌟 Features

  • Uses DeepSeek 1.5B language model
  • Cloud tunneling with Ngrok for remote access
  • Simple and intuitive GUI client
  • Server-side implementation in Google Colab
  • Local Python client application

πŸ› οΈ Requirements

Server-side (Google Colab)

  • Google Colab account
  • Ngrok authentication token
  • Python packages:
    • flask
    • flask-cors
    • requests
    • pyngrok
    • transformers
    • accelerate

Client-side

  • Python 3.7+
  • Required packages:
    • tkinter
    • requests

πŸš€ Setup Instructions

Server Setup (Google Colab)

  1. Open server-side.ipynb in Google Colab
  2. Run the installation cells to set up dependencies
  3. Replace YOUR-NGROK-AUTH-TOKEN with your actual Ngrok token
  4. Run the server initialization cell
  5. Copy the Ngrok URL provided in the output

Client Setup

  1. Open client-side.py
  2. Replace YOUR_SERVER_URL_HERE with the Ngrok URL from the server
  3. Run the client application:
python client-side.py

πŸ’¬ Usage

  1. Start the server in Google Colab
  2. Launch the client application
  3. Type your message in the input field
  4. Press Enter or click "Kirim" to send
  5. The bot will respond in the chat display

⚠️ Important Notes

  • The Ngrok URL changes each time you restart the server
  • Keep the Colab notebook running while using the chatbot
  • Free Ngrok tunnels have usage limitations

πŸ“ License

This project is open source and available under the MIT License.

πŸ‘₯ Contributing

Feel free to open issues and submit pull requests to improve the project.

πŸ™ Acknowledgments

  • DeepSeek for their amazing language model
  • Ollama for the model serving infrastructure
  • Ngrok for providing the tunneling service

πŸ“¬ Contact

whatsapp instagram linkedin



Made with ❀️ for fun

About

Semi-local chatbot πŸ˜‚ | Running Deepsek 1.5B via cloud tunneling with Ngrok. Made with πŸ’– for potato device :v

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published