Datasets:

ArXiv:
data / processors.py
Elron's picture
Upload processors.py with huggingface_hub
1d1fe97
raw
history blame
209 Bytes
from .operator import BaseFieldOperator
class ToString(BaseFieldOperator):
def process(self, instance):
return str(instance)
# add_to_catalog(ToString('prediction'), 'processors', 'to_string')