Spaces:
Runtime error
Runtime error
| 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}" | |
| LLAMA_3_8B_PROMPT = """ | |
| Example: | |
| 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. | |
| Topic=Environmental impacts of eating meat | |
| Instruction: | |
| 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. | |
| """ | |
| SPACE_REPO_CARD_CONTENT = """ | |
| --- | |
| title: {dataset_id} | |
| sdk: static | |
| pinned: false | |
| datasets: | |
| - {dataset_id} | |
| --- | |
|  | |
| """ | |