Spaces:
Runtime error
A newer version of the Streamlit SDK is available:
1.40.0
Microsoft Phi 2 Streamlit App
Welcome to the Microsoft Phi 2 Streamlit App, a powerful and user-friendly application that harnesses the capabilities of the Microsoft Phi 2 language model for text generation. This app, built using Streamlit, allows users to interact with Phi 2 effortlessly and generate contextually rich text based on their prompts.
Getting Started
Clone the Repository:
git clone https://github.com/your-username/microsoft-phi2-streamlit-app.git cd microsoft-phi2-streamlit-app
Install Dependencies:
pip install -r requirements.txt
Run the App:
streamlit run app.py
This command will launch the app in your default web browser.
Usage
- Enter your text prompt in the provided text area.
- Click the "Generate Output" button to initiate text generation based on your prompt.
- Explore the generated output provided by the Microsoft Phi 2 language model.
Customize and Explore
Feel free to explore and customize the app to suit your needs. You can experiment with different prompts, adjust parameters, or even integrate additional features. The codebase is open for further customization and serves as a starting point for various text generation applications.
Demonstration
- Start screen
- The output
Acknowledgments
This app utilizes the Microsoft Phi 2 language model, and we appreciate the contributions from the Microsoft Research team in advancing language model capabilities. Special thanks to the Streamlit development team for providing an excellent framework for building interactive web applications.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Issues and Contributions
If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request. Your contributions are highly valued!
Enjoy generating text with Microsoft Phi 2!