File size: 1,498 Bytes
336c428
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
title: BioGPT_Chat
emoji: 🔥
colorFrom: blue
colorTo: indigo
sdk: gradio
app_file: app.py
pinned: false
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# BioGPT Large Chatbot on Gradio

This is an interface using Gradio to iteract with Microsofts BioGPT Large LLM.  I wrote this to learn Gradio and wanted to share for 💪 others.  

[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) 

---

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Acknowledgements](#acknowledgements)

---

## Installation

This application is simple to install. You need python installed, pytorch, and an Nvidia GPU to use this interface. [Anaconda](https://www.anaconda.com/download) is a great distribution.

I've found that using WSL and pip is now my favorite way to run these types of things.


```bash
# Example:
git clone https://github.com/RamboRogers/biogptlarge
cd biogptlarge
pip install -r requirements.txt
```
## Usage

Just launch the application using python.  You may want to activate conda.

```bash
# Example:
python app.py
```

Open up your browser to [http://127.0.0.1:7860/](http://127.0.0.1:7860/) and start creating!  

*Note: This AI/ML/LLM is very picky on input. 💣*

![usage](biogpt.png)

## Acknowledgements

[Gradio](https://www.gradio.app/) is amazing, and so is [Huggingface](https://huggingface.co/)!

[matthewrogers.org](https://matthewrogers.org)