XS Python Module

A Python module that generates inference endpoints for open-source LLMs.

A Python module that generates inference endpoints for open-source LLMs, with the help of NGrok.

xs makes you access

XS Module Workflow

The XS module leverages Flask, Pyngrok, and Waitress to create a simple API endpoint for text generation using open-source LLMs.


πŸš€ Features

  • 🌐 API Endpoint Creation: Easily generate an API endpoint for text generation.
  • πŸ”€ Dynamic Port Allocation: Avoid conflicts with automatic port selection.
  • 🚧 Ngrok Tunneling: Expose your local server to the internet securely.
  • πŸ”„ Flush Tunnels: Clear previous Ngrok tunnels to prevent reaching the free tier’s tunnel limit.

πŸ“¦ Installation

Install the XS module using the following command:

pip install 'git+https://github.com/xprabhudayal/xs.git'

πŸ“‹ Tutorials and Usage

1. Watch Tutorials for Better Understanding

LinkedIn Tutorial

Introduction

Hindi Tutorial

Hindi Tutorial

LinkedIn Use Case

Use Case