Update README.md
Browse files
README.md
CHANGED
@@ -166,7 +166,7 @@ for match in matches:
|
|
166 |
**How to use for question-answering:**
|
167 |
|
168 |
```python
|
169 |
-
question =
|
170 |
text = """
|
171 |
Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975, to develop and sell BASIC interpreters for the Altair 8800. During his career at Microsoft, Gates held the positions of chairman, chief executive officer, president and chief software architect, while also being the largest individual shareholder until May 2014.
|
172 |
"""
|
@@ -185,7 +185,7 @@ for answer in answers:
|
|
185 |
With threshold parameters, you can control how much information you want to extract.
|
186 |
|
187 |
```python
|
188 |
-
prompt =
|
189 |
|
190 |
text = """
|
191 |
Several studies have reported its pharmacological activities, including anti-inflammatory, antimicrobial, and antitumoral effects.
|
|
|
166 |
**How to use for question-answering:**
|
167 |
|
168 |
```python
|
169 |
+
question = "Who was the CEO of Microsoft?"
|
170 |
text = """
|
171 |
Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975, to develop and sell BASIC interpreters for the Altair 8800. During his career at Microsoft, Gates held the positions of chairman, chief executive officer, president and chief software architect, while also being the largest individual shareholder until May 2014.
|
172 |
"""
|
|
|
185 |
With threshold parameters, you can control how much information you want to extract.
|
186 |
|
187 |
```python
|
188 |
+
prompt = "Summarize the given text, highlighting the most important information:\n"
|
189 |
|
190 |
text = """
|
191 |
Several studies have reported its pharmacological activities, including anti-inflammatory, antimicrobial, and antitumoral effects.
|