alonzogarbanzo
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -25,10 +25,27 @@ More information needed
|
|
25 |
|
26 |
## Training and evaluation data
|
27 |
|
28 |
-
|
29 |
|
30 |
## Training procedure
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
### Training hyperparameters
|
33 |
|
34 |
The following hyperparameters were used during training:
|
|
|
25 |
|
26 |
## Training and evaluation data
|
27 |
|
28 |
+
Instruction Tuned on the winograd-wsc task here: https://huggingface.co/datasets/adambjorn/UnrelatedForgettingOverhead/viewer/winograd_wsc
|
29 |
|
30 |
## Training procedure
|
31 |
|
32 |
+
Given some prompts:
|
33 |
+
``` python
|
34 |
+
prompts = [
|
35 |
+
"Determine which option the pronoun refers to in this text: ",
|
36 |
+
"Given the text, identify the referent of the pronoun among these options: ",
|
37 |
+
"Read the text and decide which option is referred to by the pronoun: ",
|
38 |
+
"In the text below, to whom or what does the pronoun refer? Choose from the options: ",
|
39 |
+
]
|
40 |
+
```
|
41 |
+
|
42 |
+
Each example is concatenated with the prompt, the dialogue, and the summary as so:
|
43 |
+
|
44 |
+
``` python
|
45 |
+
# Concatenate the selected prompt, text, pronoun, quote, options, and the correct option into a single string
|
46 |
+
input_text = f"{prompt}Text: '{text}' Pronoun: '{pronoun}', Quote: '{quote}'. {options_text}. {correct_option}. </s> "
|
47 |
+
```
|
48 |
+
|
49 |
### Training hyperparameters
|
50 |
|
51 |
The following hyperparameters were used during training:
|