nitinbhayana commited on
Commit
0357672
1 Parent(s): f835b54

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -17,12 +17,12 @@ def generate_prompt(keyword):
17
 
18
  # Format your prompt template
19
  prompt = f"""{B_INST} {B_SYS}\nYou are a helpful assistant that provides accurate and concise responses. Do not hallucinate.\n{E_SYS}
20
- Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
21
- ### Instruction:
22
- Analyze the following keyword searched on amazon with intent of shopping. Identify the product category from the list {catlist}. Extract the brand from keyword related to brand loyalty intent. Output in JSON with keyword, product category, brand as keys.
23
- ### Input:
24
- {keyword.strip()}
25
- {E_INST}\n\n"""
26
 
27
 
28
 
 
17
 
18
  # Format your prompt template
19
  prompt = f"""{B_INST} {B_SYS}\nYou are a helpful assistant that provides accurate and concise responses. Do not hallucinate.\n{E_SYS}
20
+ Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
21
+ ### Instruction:
22
+ Analyze the following keyword searched on amazon with intent of shopping. Identify the product category from the list {catlist}. Extract the brand from keyword related to brand loyalty intent. Output in JSON with keyword, product category, brand as keys.
23
+ ### Input:
24
+ {keyword.strip()}
25
+ {E_INST}\n\n"""
26
 
27
 
28