Skip to content

Commit 88d8268

Browse files
committed
feat(project): update
1 parent 17e51b5 commit 88d8268

3 files changed

Lines changed: 8 additions & 28 deletions

File tree

translation.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

webui/app.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,10 @@ def run_graphgen(*arguments: list, progress=gr.Progress()):
219219
):
220220
lang_btn.render()
221221

222-
gr.Markdown(value=_("Intro"))
222+
gr.Markdown(
223+
value = "# " + _("Title") + "\n\n" + \
224+
"### [GraphGen](https://github.com/open-sciencelab/GraphGen) " + _("Intro")
225+
)
223226

224227
if_trainee_model = gr.Checkbox(label=_("Use Trainee Model"),
225228
value=False,

webui/translation.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"en": {
33
"Title": "✨Easy-to-use LLM Training Data Generation Framework✨",
4-
"Intro": "is a framework for synthetic data generation guided by knowledge graphs, designed to tackle challenges for knowledge-intensive QA generation.",
5-
"Use Trainee Model": "Use Trainee Model to identify knowledge blind spots",
4+
"Intro": "is a framework for synthetic data generation guided by knowledge graphs, designed to tackle challenges for knowledge-intensive QA generation. \n\nBy uploading your text chunks (such as knowledge in agriculture, healthcare, or marine science) and filling in the LLM API key, you can generate the training data required by **LLaMA-Factory** and **xtuner** online. We will automatically delete user information after completion.",
5+
"Use Trainee Model": "Use Trainee Model to identify knowledge blind spots, disable by default",
66
"Base URL Info": "Base URL for the API, use SiliconFlow as default",
77
"Synthesizer Model Info": "Model for constructing KGs and generating QAs",
88
"Trainee Model Info": "Model for training",
@@ -11,8 +11,8 @@
1111
},
1212
"zh": {
1313
"Title": "✨开箱即用的LLM训练数据生成框架✨",
14-
"Intro": "是一个基于知识图谱的合成数据生成框架,旨在解决知识密集型问答生成的挑战。",
15-
"Use Trainee Model": "使用Trainee Model来识别知识盲区",
14+
"Intro": "是一个基于知识图谱的合成数据生成框架,旨在解决知识密集型问答生成的挑战。\n\n 上传你的文本块(如农业、医疗、海洋知识),填写 LLM api key,即可在线生成 **LLaMA-Factory**、**xtuner** 所需训练数据。结束后我们将自动删除用户信息。",
15+
"Use Trainee Model": "使用Trainee Model来识别知识盲区,默认禁用",
1616
"Base URL Info": "调用模型API的URL,默认使用硅基流动",
1717
"Synthesizer Model Info": "用于构建知识图谱和生成问答的模型",
1818
"Trainee Model Info": "用于训练的模型",

0 commit comments

Comments
 (0)