An open API service indexing awesome lists of open source software.

https://github.com/tonykipkemboi/wizardcoder-python-34b-v1.0_streamlit-demo

A Streamlit chatbot based on WizardCoder-Python-34B
https://github.com/tonykipkemboi/wizardcoder-python-34b-v1.0_streamlit-demo

huggingface-api llms python streamlit wizardml

Last synced: 9 months ago
JSON representation

A Streamlit chatbot based on WizardCoder-Python-34B

Awesome Lists containing this project

README

          

# WizardCoder-Python-34B-V1.0 Streamlit Demo 🎈

Welcome to the WizardCoder Streamlit Demo, where code predictions are more magical than pulling a rabbit out of a hat! 🐰✨

![Llama](llama.png)

## 🚀 Quick Overview

This Streamlit app is a nifty interface for the WizardCoder 34B model, which is basically the Gandalf of code prediction models. Trust us, it's hella slow but so worth it!

## 📜 Features

- **Code Prediction**: Get your Python code predicted by the majestic WizardCoder 34B.
- **Temperature & Max Token Sliders**: Control the randomness and length of your code output.
- **Chat Interface**: User-friendly chat interface for a more interactive experience.

## đŸ› ī¸ Installation

1. Clone the repository:

```bash
git clone https://github.com/tonykipkemboi/WizardCoder-Python-34B-V1.0_Streamlit-Demo.git
```

2. Navigate to the project directory and install required packages:

```bash
cd WizardCoder-Python-34B-V1.0
pip install -r requirements.txt
```

3. Run Streamlit:

```bash
streamlit run your_app.py
```

## đŸ•šī¸ How to Use

1. **Temperature & Max Tokens**: Adjust these sliders to control the unpredictability and length of your code.
2. **Chat Input**: Enter what you want your Python code to do.
3. **Hit Enter**: Wait a bit (perfect time for a coffee refill ☕) and voila, your code is ready!

## 🤖 Tech Stack

- Streamlit
- Gradio Client

## 🔗 Links

- [Gradio Demo](http://47.103.63.15:50085/)
- [Model Weights](https://huggingface.co/WizardLM/WizardCoder-Python-34B-V1.0)
- [Github](https://github.com/nlpxucan/WizardLM/tree/main/WizardCoder)

_Happy Streamlit-ing!_ 🎈