Spaces:
Paused
Paused
Update README.md
Browse files
README.md
CHANGED
@@ -9,4 +9,60 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
+
# GPTo1: Llama-3.1 70b on Groq for o1-like Reasoning Chains
|
13 |
+
|
14 |
+
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.
|
15 |
+
|
16 |
+
## Important Note
|
17 |
+
|
18 |
+
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.
|
19 |
+
|
20 |
+
## How to Use This Space
|
21 |
+
|
22 |
+
1. Duplicate this space:
|
23 |
+
- Click on the "Duplicate this Space" button at the top right of the page.
|
24 |
+
- Choose a name for your duplicated space and click "Duplicate Space".
|
25 |
+
|
26 |
+
2. Set up your Groq API key:
|
27 |
+
- In your duplicated space, go to the "Settings" tab.
|
28 |
+
- Scroll down to the "Repository secrets" section.
|
29 |
+
- Click on "New secret".
|
30 |
+
- Set the secret name as `GROQ_API_KEY`.
|
31 |
+
- Paste your Groq API key as the value.
|
32 |
+
- Click "Add secret".
|
33 |
+
|
34 |
+
3. Rebuild the space:
|
35 |
+
- After adding the API key, go to the "Factory" tab.
|
36 |
+
- Click on "Rebuild Space".
|
37 |
+
|
38 |
+
4. Use the app:
|
39 |
+
- Once the rebuild is complete, go to the "App" tab.
|
40 |
+
- You should now see the interface where you can enter queries and get responses.
|
41 |
+
|
42 |
+
## Note
|
43 |
+
|
44 |
+
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.
|
45 |
+
|
46 |
+
## Original Project
|
47 |
+
|
48 |
+
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:
|
49 |
+
|
50 |
+
https://github.com/bklieger-groq/g1
|
51 |
+
|
52 |
+
## Acknowledgments
|
53 |
+
|
54 |
+
- Special thanks to bklieger-groq for creating the original g1 project that serves as the foundation for this Hugging Face Space.
|
55 |
+
- This Hugging Face adaptation is a collaborative effort with Alisher Farhadi (https://github.com/afarhadi99).
|
56 |
+
|
57 |
+
## Contributing
|
58 |
+
|
59 |
+
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.
|
60 |
+
|
61 |
+
## License
|
62 |
+
|
63 |
+
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.
|
64 |
+
|
65 |
+
## Configuration Reference
|
66 |
+
|
67 |
+
For more information about the Hugging Face Spaces configuration, please refer to:
|
68 |
+
https://huggingface.co/docs/hub/spaces-config-reference
|