RichardLu commited on
Commit
0c1665a
·
verified ·
1 Parent(s): 9bb8b3b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -12
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: I charge it at night and skip taking the cord with me because of the good battery life.
83
- output: battery life
84
  Positive example 2-
85
- input: I even got my teenage son one, because of the features that it offers, like, iChat, Photobooth, garage band and more!.
86
- output: features, iChat, Photobooth, garage band
87
  Negative example 1-
88
- input: Speaking of the browser, it too has problems.
89
- output: browser
90
  Negative example 2-
91
- input: The keyboard is too slick.
92
- output: keyboard
93
  Neutral example 1-
94
- input: I took it back for an Asus and same thing- blue screen which required me to remove the battery to reset.
95
- output: battery
96
  Neutral example 2-
97
- input: Nightly my computer defrags itself and runs a virus scan.
98
- output: virus scan
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: