Update README.md
Browse files
README.md
CHANGED
@@ -79,23 +79,23 @@ FastLanguageModel.for_inference(model)
|
|
79 |
# Define the instruction for aspect extraction
|
80 |
instructabsa_instruction = """Definition: The output will be the aspects (both implicit and explicit) which have an associated opinion that are extracted from the input text. In cases where there are no aspects the output should be noaspectterm.
|
81 |
Positive example 1-
|
82 |
-
input:
|
83 |
-
output:
|
84 |
Positive example 2-
|
85 |
-
input:
|
86 |
-
output:
|
87 |
Negative example 1-
|
88 |
-
input:
|
89 |
-
output:
|
90 |
Negative example 2-
|
91 |
-
input: The
|
92 |
-
output:
|
93 |
Neutral example 1-
|
94 |
-
input: I
|
95 |
-
output:
|
96 |
Neutral example 2-
|
97 |
-
input:
|
98 |
-
output:
|
99 |
Now complete the following example:"""
|
100 |
alpaca_prompt = """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
|
101 |
### Instruction:
|
|
|
79 |
# Define the instruction for aspect extraction
|
80 |
instructabsa_instruction = """Definition: The output will be the aspects (both implicit and explicit) which have an associated opinion that are extracted from the input text. In cases where there are no aspects the output should be noaspectterm.
|
81 |
Positive example 1-
|
82 |
+
input: With the great variety on the menu, I eat here often and never get bored.
|
83 |
+
output: menu
|
84 |
Positive example 2-
|
85 |
+
input: Great food, good size menu, great service and an unpretensious setting.
|
86 |
+
output: food, menu, service, setting
|
87 |
Negative example 1-
|
88 |
+
input: They did not have mayonnaise, forgot our toast, left out ingredients (ie cheese in an omelet), below hot temperatures and the bacon was so over cooked it crumbled on the plate when you touched it.
|
89 |
+
output: toast, mayonnaise, bacon, ingredients, plate
|
90 |
Negative example 2-
|
91 |
+
input: The seats are uncomfortable if you are sitting against the wall on wooden benches.
|
92 |
+
output: seats
|
93 |
Neutral example 1-
|
94 |
+
input: I asked for seltzer with lime, no ice.
|
95 |
+
output: seltzer with lime
|
96 |
Neutral example 2-
|
97 |
+
input: They wouldnt even let me finish my glass of wine before offering another.
|
98 |
+
output: glass of wine
|
99 |
Now complete the following example:"""
|
100 |
alpaca_prompt = """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
|
101 |
### Instruction:
|