Spaces:
Sleeping
Sleeping
Kailash S Prem
commited on
Commit
Β·
3ad4364
1
Parent(s):
a2ba326
Create: main.yml
Browse filesupdate: README for streamlit
add: gitignore logs
- .github/workflows/main.yml +24 -0
- .gitignore +2 -1
- README.md +2 -0
- app.py +2 -2
.github/workflows/main.yml
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Sync to Hugging Face hub
|
2 |
+
on:
|
3 |
+
push:
|
4 |
+
branches: [main]
|
5 |
+
|
6 |
+
# to run this workflow manually from the Actions tab
|
7 |
+
workflow_dispatch:
|
8 |
+
|
9 |
+
jobs:
|
10 |
+
sync-to-hub:
|
11 |
+
runs-on: ubuntu-latest
|
12 |
+
steps:
|
13 |
+
- uses: actions/checkout@v3
|
14 |
+
with:
|
15 |
+
fetch-depth: 0
|
16 |
+
lfs: true
|
17 |
+
- name: Add remote
|
18 |
+
env:
|
19 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
20 |
+
run: git remote add space https://kailashsp:[email protected]/spaces/kailashsp/SELF-DISCOVER
|
21 |
+
- name: Push to hub
|
22 |
+
env:
|
23 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
24 |
+
run: git push --force https://kailashsp:[email protected]/spaces/kailashsp/SELF-DISCOVER main
|
.gitignore
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
venv/
|
2 |
.env
|
3 |
__pycache__
|
4 |
-
prompt_log.txt
|
|
|
|
1 |
venv/
|
2 |
.env
|
3 |
__pycache__
|
4 |
+
prompt_log.txt
|
5 |
+
prompts_1.py
|
README.md
CHANGED
@@ -10,6 +10,8 @@ license: apache-2.0
|
|
10 |
|
11 |
## SELF-DISCOVER FRAMEWORK
|
12 |
|
|
|
|
|
13 |
## Paper Overview [link](https://arxiv.org/pdf/2402.03620.pdf)
|
14 |
This project implements the paper titled "Self-Discover: Large Language Models Self-Compose Reasoning Structures," submitted on February 6, 2024, by Pei Zhou, Jay Pujara, Xiang Ren, Xinyun Chen, Heng-Tze Cheng, Quoc V. Le, Ed H. Chi, Denny Zhou, Swaroop Mishra, and Huaixiu Steven Zheng. The paper introduces SELF-DISCOVER, a framework designed to enhance the performance of Large Language Models (LLMs) on complex reasoning tasks by enabling them to self-discover task-intrinsic reasoning structures.
|
15 |
|
|
|
10 |
|
11 |
## SELF-DISCOVER FRAMEWORK
|
12 |
|
13 |
+
[Try Hugging Face Demo from Here](https://huggingface.co/spaces/kailashsp/SELF-DISCOVER)
|
14 |
+
|
15 |
## Paper Overview [link](https://arxiv.org/pdf/2402.03620.pdf)
|
16 |
This project implements the paper titled "Self-Discover: Large Language Models Self-Compose Reasoning Structures," submitted on February 6, 2024, by Pei Zhou, Jay Pujara, Xiang Ren, Xinyun Chen, Heng-Tze Cheng, Quoc V. Le, Ed H. Chi, Denny Zhou, Swaroop Mishra, and Huaixiu Steven Zheng. The paper introduces SELF-DISCOVER, a framework designed to enhance the performance of Large Language Models (LLMs) on complex reasoning tasks by enabling them to self-discover task-intrinsic reasoning structures.
|
17 |
|
app.py
CHANGED
@@ -4,12 +4,12 @@ from self_discover import SelfDiscover
|
|
4 |
|
5 |
|
6 |
st.set_page_config(
|
7 |
-
page_title="
|
8 |
page_icon="π",
|
9 |
layout="wide",
|
10 |
initial_sidebar_state="expanded"
|
11 |
)
|
12 |
-
st.title("
|
13 |
|
14 |
|
15 |
api_key = st.text_input("Enter OpenAI api key ")
|
|
|
4 |
|
5 |
|
6 |
st.set_page_config(
|
7 |
+
page_title="SELF-DISCOVER",
|
8 |
page_icon="π",
|
9 |
layout="wide",
|
10 |
initial_sidebar_state="expanded"
|
11 |
)
|
12 |
+
st.title("SELF-DISCOVER")
|
13 |
|
14 |
|
15 |
api_key = st.text_input("Enter OpenAI api key ")
|