File size: 2,062 Bytes
3b85924
ee6c452
 
 
 
3b85924
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ebf30ad
 
ee6c452
 
3b85924
 
 
 
 
 
 
 
146a258
 
ee6c452
 
 
146a258
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Reference string parsing Markdown
rsp_title_md = '''
## Reference String Parsing parses a citation string, extracting information such as the title, authors, and publication date.
'''

rsp_str_md = '''
To **test on strings**, simply input one or more strings.
'''

rsp_file_md = '''
To **test on a file**, the input can be:

- A txt file which contains a reference string in each line.

- A pdf file which contains a whole scientific documention without any preprocessing(including title, author, body text...).

'''
# - A pdf file which contains a whole scientific document without any processing (including title, author...).

ssum_str_md = '''
To **test on strings**, simply input a string.

'''

ssum_file_md = '''
To **test on a file**, the input can be:

- A txt file which contains the content to be summarized.

- A pdf file which contains a whole scientific documention without any preprocessing(including title, author, body text...).


'''

# - The **number of beams** should be **divisible** by the **number of generated summaries** for group beam search.
ctrlsum_str_md = '''
To **test on strings**, simply input a string.

**Note**: 

- Length 0 will exert no control over length.
 

'''

ctrlsum_file_md = '''
This is the demo for **CocoSciSum**.

## Controlled Summarization uses FLAN-T5 to generate user-customised summaries from your input file or URL link.

To **test on a file**, the input can be:

- A txt file which contains the content to be summarized.

- A pdf file which contains a whole scientific documention without any preprocessing(including title, author, body text...).



'''

de_title_md = '''
## Dataset Extraction detects dataset mentions from the input text.
'''

de_str_md = '''
To **test on strings**, please input your sentences or paragraphs.
'''

de_file_md = '''
To **test on a file**, the input can be:

- A txt file which contains the content to be extracted dataset mentions from.

- A pdf file which contains a whole scientific documention without any preprocessing (including title, author, body text...).

'''