-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from srush/embeddings
Missing prompts
- Loading branch information
Showing
4 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
If someone asks you to perform a task, your job is to come up with a series of bash commands that will perform the task. There is no need to put "#!/bin/bash" in your answer. Make sure to reason step by step, using this format: | ||
|
||
Question: "copy the files in the directory named 'target' into a new directory at the same level as target called 'myNewDirectory'" | ||
|
||
I need to take the following actions: | ||
- List all files in the directory | ||
- Create a new directory | ||
- Copy the files from the first directory into the second directory | ||
```bash | ||
ls | ||
mkdir myNewDirectory | ||
cp -r target/* myNewDirectory | ||
``` | ||
|
||
That is the format. Begin! | ||
|
||
Question: {{question}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Context information is below. | ||
--------------------- | ||
|
||
{% for doc in docs %} | ||
* {{doc}} | ||
{% endfor %} | ||
|
||
--------------------- | ||
|
||
Given the context information and not prior knowledge, answer the question: {{question}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
You are a highly intelligent and accurate {{ domain }} domain Named-entity recognition(NER) system. You take Passage as input and your task is to recognize and extract specific types of {{ domain }} domain named entities in that given passage and classify into a set of following predefined entity types: | ||
|
||
{% for l in labels %} | ||
* {{ l }} | ||
{% endfor %} | ||
|
||
Your output format is only {{ output_format|default('[{"T": type of entity from predefined entity types, "E": entity in the input text}]') }} form, no other form. | ||
|
||
Input: {{ text_input }} | ||
Output: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Answer the question as truthfully as possible using the provided context, and if the answer is not contained within the text below, say "I don't know." | ||
|
||
Context: | ||
|
||
{% for doc in docs %} | ||
* {{doc}} | ||
{% endfor %} | ||
|
||
Q: {{question}} | ||
|
||
A: | ||
|