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