Update assets/test.py
Browse files- assets/test.py +3 -0
assets/test.py
CHANGED
|
@@ -62,6 +62,9 @@ for model_name_or_path in model_name_or_paths:
|
|
| 62 |
df.context = df.context.apply(
|
| 63 |
lambda x: x.replace("İ", "i").replace("I", "ı").lower()
|
| 64 |
)
|
|
|
|
|
|
|
|
|
|
| 65 |
|
| 66 |
# evaluate only first 1000 pairs
|
| 67 |
if not question2answer:
|
|
|
|
| 62 |
df.context = df.context.apply(
|
| 63 |
lambda x: x.replace("İ", "i").replace("I", "ı").lower()
|
| 64 |
)
|
| 65 |
+
df.answer = df.answer.apply(
|
| 66 |
+
lambda x: x.replace("İ", "i").replace("I", "ı").lower()
|
| 67 |
+
)
|
| 68 |
|
| 69 |
# evaluate only first 1000 pairs
|
| 70 |
if not question2answer:
|