nicolay-r commited on
Commit
f7fa745
·
verified ·
1 Parent(s): b568437

Showcase the example with the correct prediction for demonstration purposes

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -81,7 +81,7 @@ def target_sentiment_extraction(sentence, target):
81
  Finally, you can infer model results as follows:
82
  ```python
83
  # Input sentence.
84
- sentence = "I would support him despite his bad behavior."
85
  # Input target.
86
  target = "him"
87
  # output response
@@ -90,7 +90,7 @@ print(f"Author opinion towards `{target}` in `{sentence}` is:\n{flant5_response}
90
  ```
91
 
92
  The response of the model is as follows:
93
- > Author opinion towards `him` in `I would support him despite his bad behavior.` is: **positive**
94
 
95
  ### Downstream Use
96
 
 
81
  Finally, you can infer model results as follows:
82
  ```python
83
  # Input sentence.
84
+ sentence = "I would support him."
85
  # Input target.
86
  target = "him"
87
  # output response
 
90
  ```
91
 
92
  The response of the model is as follows:
93
+ > Author opinion towards `him` in `I would support him.` is: **positive**
94
 
95
  ### Downstream Use
96