jzhang533 commited on
Commit
7335512
·
1 Parent(s): a5c6602

update description

Browse files

Signed-off-by: Zhang Jun <[email protected]>

Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +7 -4
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Paddlepaddle Meets Llm
3
  emoji: 💬
4
  colorFrom: yellow
5
  colorTo: purple
 
1
  ---
2
+ title: Paddlepaddle Meets LLM
3
  emoji: 💬
4
  colorFrom: yellow
5
  colorTo: purple
app.py CHANGED
@@ -17,10 +17,14 @@ def inference(input_text):
17
 
18
 
19
  title = 'PaddlePaddle Meets LLM'
20
- description = 'What is special: underlying execution is using PaddlePaddle and PaddleNLP!'
21
- article = "<p style='text-align: center'> PaddleNLP <a href='https://github.com/PaddlePaddle/PaddleNLP'>Github Repo</a></p>"
 
 
 
 
22
 
23
- examples = ['请自我介绍一下。', '今天吃什么好呢?']
24
 
25
  demo = gr.Interface(
26
  inference,
@@ -28,7 +32,6 @@ demo = gr.Interface(
28
  outputs="text",
29
  title=title,
30
  description=description,
31
- article=article,
32
  examples=examples,
33
  )
34
 
 
17
 
18
 
19
  title = 'PaddlePaddle Meets LLM'
20
+ description = '''
21
+ - The underlying execution framework is based on [PaddlePaddle](https://github.com/PaddlePaddle/Paddle) and [PaddleNLP](https://github.com/PaddlePaddle/PaddleNLP).
22
+ - PaddleNLP supports a wide range of open-source LLMs. Check out the [full model list](https://github.com/PaddlePaddle/PaddleNLP?tab=readme-ov-file#%E6%A8%A1%E5%9E%8B%E6%94%AF%E6%8C%81).
23
+ - We chose QWEN2-0.5B as the model for this use case due to limited computational resources.
24
+ - [ERNIE 4.5](https://yiyan.baidu.com/) was trained with PaddlePaddle, [give it a try](https://huggingface.co/spaces/PaddlePaddle/ernie_demo)!
25
+ '''
26
 
27
+ examples = ['请自我介绍一下。']
28
 
29
  demo = gr.Interface(
30
  inference,
 
32
  outputs="text",
33
  title=title,
34
  description=description,
 
35
  examples=examples,
36
  )
37