flairNLP / fabricator

[EMNLP 2023 Demo] fabricator - annotating and generating datasets with large language models.
Apache License 2.0
98 stars 12 forks source link

Simpler interfaces #10

Closed whoisjones closed 1 year ago

whoisjones commented 1 year ago

Major refactoring that removes task-related data points and task-related prompts. We now use one unified prompt and can decide within this prompt whether we want to generate text or annotate based on predefined classes. Instead of task-related data points, we directly address the columns in the dataset (see readme examples). Minor refactorings of DatasetGenerator class (the interface of our prompt class is now targeted for haystack PromptNode class).

whoisjones commented 1 year ago

closes #8 since naming convention is not required anymore without task-specific data points or prompts