Skip to content

Instantly share code, notes, and snippets.

Luca Foppiano lfoppiano

Block or report user

Report or block lfoppiano

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View recipe.py
import prodigy
from prodigy.components.loaders import JSONL
from prodigy.util import split_string
@prodigy.recipe('superconductor-material-recipe',
dataset=prodigy.recipe_args['dataset'],
source=("The source data as a JSONL file", "positional", None, str),
label=("One or more comma-separated labels", "option", "l", split_string))
def superconductors_detection(dataset, source=None, label=None):
You can’t perform that action at this time.