A metaflow card that renders HTML inputs.
Project description
Installation
pip install metaflow-card-hf-dataset
Usage
After installing the module, you can add any HuggingFace dataset to your Metaflow tasks by using the @huggingface_dataset
decorator. This decorator has a id
field, which is the dataset ID from HuggingFace.
from metaflow import FlowSpec, step, huggingface_dataset
class Flow(FlowSpec):
@huggingface_dataset(id="princeton-nlp/SWE-bench")
@step
def start(self):
self.next(self.end)
@huggingface_dataset(id="argilla/databricks-dolly-15k-curated-en")
@step
def end(self):
pass
if __name__ == '__main__':
Flow()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for metaflow_card_hf_dataset-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef48c3d8d22599599cee6155f884da4cc22be7595ea9c8b0b9aaac06c8a3d40b |
|
MD5 | 390631bdd6a1ae662e62813192bf0fbf |
|
BLAKE2b-256 | 53b0d3fffe5fafaac5fe5e9e612a31e932bb6d4d8bbd04c0b0534be4d3de9b36 |
Close
Hashes for metaflow_card_hf_dataset-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87cec2715fff928f0cc3f8b9ef31c4c737d9ed4b6208dad889d31f7ed939886e |
|
MD5 | 242f238810e0c9ef3f49eaccb81fb65e |
|
BLAKE2b-256 | f0807fb99c354490e38ce471c3fc6fbb35ffd69ca262b20ef60c1fd77bc396b3 |