Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjari-orb committed Jun 12, 2024
1 parent 299bc34 commit 3b48ace
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion llmfoundry/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,10 @@
icl_datasets = create_registry(
'llmfoundry',
'icl_datasets',
# TODO: Change type to InContextLearningDataset
# TODO: Change type from Dataset to
# llmfoundry.eval.InContextLearningDataset.
# Using ICL dataset here introduces a circular import dependency between
# the registry and eval packages right now, thus needs some refactoring.
generic_type=Type[Dataset],
entry_points=True,
description=_icl_datasets_description,
Expand Down
2 changes: 1 addition & 1 deletion tests/eval/test_in_context_learning_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2272,7 +2272,7 @@ def test_qa_task_evaluation(
'pad_tok_id': tokenizer.eos_token_id,
'num_fewshot': num_fewshot,
'prompt_string': '',
'example_delimite': '\n',
'example_delimiter': '\n',
'continuation_delimiter': ': ',
}
)
Expand Down

0 comments on commit 3b48ace

Please sign in to comment.