GPTo1 / README.md
sherrybabe1978's picture
Update README.md
65c8e0b verified
---
title: GPTo1
emoji: 🌍
colorFrom: red
colorTo: yellow
sdk: streamlit
sdk_version: 1.39.0
app_file: app.py
pinned: false
---
# GPTo1: Llama-3.1 70b on Groq for o1-like Reasoning Chains
This Hugging Face Space demonstrates the use of Llama-3.1 70b on Groq to create o1-like reasoning chains, improving output accuracy in AI-generated responses.
## Important Note
This Hugging Face Space is a collaborative project worked on with Alisher (https://github.com/afarhadi99), based on the g1 project created by bklieger-groq. The original GitHub repository can be found at https://github.com/bklieger-groq/g1. We have adapted it for use as a Hugging Face Space and potentially added some additional features.
## How to Use This Space
1. Duplicate this space:
- Click on the "Duplicate this Space" button at the top right of the page.
- Choose a name for your duplicated space and click "Duplicate Space".
2. Set up your Groq API key:
- In your duplicated space, go to the "Settings" tab.
- Scroll down to the "Repository secrets" section.
- Click on "New secret".
- Set the secret name as `GROQ_API_KEY`.
- Paste your Groq API key as the value.
- Click "Add secret".
3. Rebuild the space:
- After adding the API key, go to the "Factory" tab.
- Click on "Rebuild Space".
4. Use the app:
- Once the rebuild is complete, go to the "App" tab.
- You should now see the interface where you can enter queries and get responses.
## Note
Make sure to keep your API key confidential and do not share it with others. Each person should use their own Groq API key when duplicating this space.
## Original Project
This Hugging Face Space is based on the g1 project. For more information, updates, or to contribute to the original project, please visit the GitHub repository:
https://github.com/bklieger-groq/g1
## Acknowledgments
- Special thanks to bklieger-groq for creating the original g1 project that serves as the foundation for this Hugging Face Space.
- This Hugging Face adaptation is a collaborative effort with Alisher Farhadi (https://github.com/afarhadi99).
## Contributing
If you'd like to contribute to this project, please consider contributing to the original GitHub repository. You can submit pull requests or open issues there.
## License
This project is open source and available under the license specified in the original GitHub repository. Please refer to the repository for the most up-to-date license information.
## Configuration Reference
For more information about the Hugging Face Spaces configuration, please refer to:
https://huggingface.co/docs/hub/spaces-config-reference