Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
evals/registry/data/**/*.jsonl filter=lfs diff=lfs merge=lfs -text
evals/registry/data/**/*.jsonl filter=lfs diff=lfs merge=lfs -text
Git LFS file not shown
13 changes: 13 additions & 0 deletions evals/registry/evals/population_span_extraction.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Register the eval by adding a file to evals/registry/evals/<eval_name>.yaml
population_span_extraction:
id: population_span_extraction.dev.v0
metrics: [accuracy]
description: The model is shown abstracts of clinical drug trials and tasked with extracting the text spans that specify the population demographic of the shown abstract. The population demographic can be but is not necessarily specified in multiple seperate spans.

population_span_extraction.dev.v0:
# Assuming that the response can contain "significant variation" --> modelbased classify
class: evals.elsuite.modelgraded.classify:ModelBasedClassify
args:
samples_jsonl: population_span_extraction/samples.jsonl
eval_type: cot_classify
modelgraded_spec: fact