File size: 964 Bytes
560300f
fe421d1
 
 
 
 
560300f
dc70c7b
fe421d1
 
 
 
 
 
560300f
fe421d1
dc70c7b
fe421d1
 
 
 
560300f
9978925
95d1f22
 
 
dc70c7b
95d1f22
 
 
 
 
 
a893b55
95d1f22
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
SYSTEM_PROMPT = """
<s>[INST] <<SYS>>
You are a helpful, respectful and honest assistant for labeling topics.
<</SYS>>
"""

EXAMPLE_PROMPT = """
I have a topic that is described by the following keywords: 'meat, beef, eat, eating, emissions, steak, food, health, processed, chicken'.

Based on the information about the topic above, please create a short label of this topic. Make sure you to only return the label and nothing more.

[/INST] Environmental impacts of eating meat
"""

MAIN_PROMPT = """
[INST]
I have a topic that is described by the following keywords: '[KEYWORDS]'.

Based on the information about the topic above, please create a short label of this topic. Make sure you to only return the label and nothing more.
[/INST]
"""

REPRESENTATION_PROMPT = f"{SYSTEM_PROMPT}{EXAMPLE_PROMPT}{MAIN_PROMPT}"

SPACE_REPO_CARD_CONTENT = """
---
title: {dataset_id}
sdk: static
pinned: false
datasets:
- {dataset_id}
---

![Static plot](static_plot.png)
"""