Microsoft Phi 2 Streamlit App, deployed on HuggingFace Spaces is based on the Microsoft Phi 2 small language model (SLM) for text generation. Utilizing Streamlit, this application enables users to effortlessly engage with Phi 2, generating text that is contextually rich in response to their prompts.
- See - Deployment
- Colab - Google Colab
-
Clone the Repository:
git clone https://github.com/your-username/Microsoft-Phi-2-Streamlit.git cd Microsoft-Phi-2-Streamlit
-
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.
- Enter your text prompt in the provided text area.
- Click the "Generate" button to initiate text generation based on your prompt.
- Explore the generated output provided by the Microsoft Phi 2 language model.
- Microsoft Phi 2 language model - Microsoft Research team in advancing language model capabilities.
- Streamlit development group.
This project is licensed under the MIT License - see the LICENSE file for details.
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!