Update info
Browse files- README.md +17 -3
- src/prediction.py +2 -1
README.md
CHANGED
|
@@ -68,9 +68,8 @@ widget:
|
|
| 68 |
|
| 69 |
## How To Use
|
| 70 |
|
| 71 |
-
### Installing requirements
|
| 72 |
-
|
| 73 |
```bash
|
|
|
|
| 74 |
pip install transformers
|
| 75 |
```
|
| 76 |
|
|
@@ -201,7 +200,22 @@ Output:
|
|
| 201 |
- 6: Cook and stir until thickened and bubbly.
|
| 202 |
- 7: Stir in corn and bacon.
|
| 203 |
- 8: Pour over macaroni and mix well.
|
| 204 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 205 |
```
|
| 206 |
|
| 207 |
## Evaluation
|
|
|
|
| 68 |
|
| 69 |
## How To Use
|
| 70 |
|
|
|
|
|
|
|
| 71 |
```bash
|
| 72 |
+
# Installing requirements
|
| 73 |
pip install transformers
|
| 74 |
```
|
| 75 |
|
|
|
|
| 200 |
- 6: Cook and stir until thickened and bubbly.
|
| 201 |
- 7: Stir in corn and bacon.
|
| 202 |
- 8: Pour over macaroni and mix well.
|
| 203 |
+
-----------------------------------------------------------------------------------
|
| 204 |
+
[TITLE]:
|
| 205 |
+
- 1: Grilled provolone and bacon sandwich
|
| 206 |
+
[INGREDIENTS]:
|
| 207 |
+
- 1: 2 slices provolone cheese
|
| 208 |
+
- 2: 2 slices bacon
|
| 209 |
+
- 3: 2 slices sourdough bread
|
| 210 |
+
- 4: 2 slices pickled ginger
|
| 211 |
+
[DIRECTIONS]:
|
| 212 |
+
- 1: Place a slice of provolone cheese on one slice of bread.
|
| 213 |
+
- 2: Top with a slice of bacon.
|
| 214 |
+
- 3: Top with a slice of pickled ginger.
|
| 215 |
+
- 4: Top with the other slice of bread.
|
| 216 |
+
- 5: Heat a skillet over medium heat.
|
| 217 |
+
- 6: Place the sandwich in the skillet and cook until the cheese is melted and the bread is golden brown.
|
| 218 |
+
-----------------------------------------------------------------------------------
|
| 219 |
```
|
| 220 |
|
| 221 |
## Evaluation
|
src/prediction.py
CHANGED
|
@@ -78,7 +78,8 @@ def generation_function(texts):
|
|
| 78 |
|
| 79 |
|
| 80 |
items = [
|
| 81 |
-
"macaroni, butter, salt, bacon, milk, flour, pepper, cream corn"
|
|
|
|
| 82 |
]
|
| 83 |
generated = generation_function(items)
|
| 84 |
for text in generated:
|
|
|
|
| 78 |
|
| 79 |
|
| 80 |
items = [
|
| 81 |
+
"macaroni, butter, salt, bacon, milk, flour, pepper, cream corn",
|
| 82 |
+
"provolone cheese, bacon, bread, ginger"
|
| 83 |
]
|
| 84 |
generated = generation_function(items)
|
| 85 |
for text in generated:
|