diff --git a/examples/classification.py b/examples/classification.py index c9e9f5bf..c0b79926 100644 --- a/examples/classification.py +++ b/examples/classification.py @@ -96,7 +96,7 @@ def _make_dataset(training: bool) -> kd.data.Pipeline: gm.data.FormatText( key=_INPUT_FIELD, template="""user - Please classify whether the following sentence is grammaticaly correct, please answer only with Yes or No. + Please classify whether the following sentence is grammatically correct, please answer only with Yes or No. Sentence: {text} model""", ), @@ -113,7 +113,7 @@ def _make_dataset(training: bool) -> kd.data.Pipeline: gm.data.MapInts( key=_LABEL_FIELD, # Rather than predicting the token 0 and 1, we are using the - # token 1294 and 3553 which respectivelly correspond to "No" and + # token 1294 and 3553 which respectively correspond to "No" and # "Yes". We do this because those token already contain semantic # information, so even zero-shot prediction without any # finetuning has better than random performances.