You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,12 +38,21 @@ It begins by constructing a fine-grained knowledge graph from the source text,
38
38
Furthermore, GraphGen incorporates multi-hop neighborhood sampling to capture complex relational information and employs style-controlled generation to diversify the resulting QA data.
39
39
40
40
## 🚀 Quick Start
41
-
[//]: #(TODO)
42
-
43
-
### Command Line
44
41
45
42
### Gradio Demo
46
43
44
+
1. Enter `webui` directory
45
+
```bash
46
+
cd webui
47
+
```
48
+
2. Run the Gradio demo
49
+
```bash
50
+
gradio app.py
51
+
```
52
+
53
+
54
+
### Run from PyPI
55
+
47
56

48
57
49
58
### Run from Source
@@ -53,15 +62,17 @@ Furthermore, GraphGen incorporates multi-hop neighborhood sampling to capture co
53
62
pip install -r requirements.txt
54
63
```
55
64
2. Configure the environment
56
-
- Create a`.env` file in the root directory
65
+
- Create an`.env` file in the root directory
57
66
```bash
58
67
cp .env.example .env
59
68
```
60
69
- Set the following environment variables:
61
70
```bash
71
+
# Synthesizer is the model used to construct KG and generate data
0 commit comments