Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Datasets:
unitxt
/
data
like
0
Follow
Unitxt
2
ArXiv:
arxiv:
2401.14019
Dataset card
Files
Files and versions
Community
2cd3ad1
data
/
processors.py
Elron
Upload processors.py with huggingface_hub
a57cda3
over 1 year ago
raw
Copy download link
history
blame
Safe
201 Bytes
from
.operator
import
FieldOperator
class
ToString
(
FieldOperator
):
def
process
(
self, instance
):
return
str
(instance)
# add_to_catalog(ToString('prediction'), 'processors', 'to_string')