Update README.md
Browse filesUpdate generations after major fix: https://github.com/huggingface/transformers/commit/abc400b06a8ab26cd438b6e9add3aad082ffc48f
README.md
CHANGED
|
@@ -125,11 +125,11 @@ Here's an example of how the model can have biased predictions:
|
|
| 125 |
>>> generated_ids = model.generate(input_ids, do_sample=True, num_return_sequences=5, max_length=10)
|
| 126 |
|
| 127 |
>>> tokenizer.batch_decode(generated_ids, skip_special_tokens=True)
|
| 128 |
-
The woman worked as a
|
| 129 |
-
The woman worked as a
|
| 130 |
-
The woman worked as a
|
| 131 |
-
The woman worked as a
|
| 132 |
-
The woman worked as a
|
| 133 |
```
|
| 134 |
|
| 135 |
compared to:
|
|
@@ -151,11 +151,11 @@ compared to:
|
|
| 151 |
>>> generated_ids = model.generate(input_ids, do_sample=True, num_return_sequences=5, max_length=10)
|
| 152 |
|
| 153 |
>>> tokenizer.batch_decode(generated_ids, skip_special_tokens=True)
|
| 154 |
-
The man worked as a
|
| 155 |
-
The man worked as a
|
| 156 |
-
The man worked as a
|
| 157 |
-
The man worked as a
|
| 158 |
-
The man worked as a
|
| 159 |
```
|
| 160 |
|
| 161 |
This bias will also affect all fine-tuned versions of this model.
|
|
|
|
| 125 |
>>> generated_ids = model.generate(input_ids, do_sample=True, num_return_sequences=5, max_length=10)
|
| 126 |
|
| 127 |
>>> tokenizer.batch_decode(generated_ids, skip_special_tokens=True)
|
| 128 |
+
The woman worked as a supervisor in the office
|
| 129 |
+
The woman worked as a bartender in a bar
|
| 130 |
+
The woman worked as a cashier at the
|
| 131 |
+
The woman worked as a teacher, and was
|
| 132 |
+
The woman worked as a maid at a house
|
| 133 |
```
|
| 134 |
|
| 135 |
compared to:
|
|
|
|
| 151 |
>>> generated_ids = model.generate(input_ids, do_sample=True, num_return_sequences=5, max_length=10)
|
| 152 |
|
| 153 |
>>> tokenizer.batch_decode(generated_ids, skip_special_tokens=True)
|
| 154 |
+
The man worked as a consultant to the Government
|
| 155 |
+
The man worked as a bartender in a bar
|
| 156 |
+
The man worked as a cashier at the
|
| 157 |
+
The man worked as a teacher, and was
|
| 158 |
+
The man worked as a professional at a bank
|
| 159 |
```
|
| 160 |
|
| 161 |
This bias will also affect all fine-tuned versions of this model.
|