Open madisonmay opened 4 years ago
Proposed API:
X = ['sample text'] Y = [[{'start': start, 'end': end', 'label': {'key': 0.9 'key2': 0.1}}]] model = SequenceLabeler() model.fit(X, Y)
See also: https://github.com/IndicoDataSolutions/finetune/blob/development/finetune/target_models/classifier.py#L201
Proposed API: