AINovice2005's picture
download
raw
590 Bytes
from dagster import Definitions
from dagster_hf_datasets import (
HuggingFaceResource,
)
from dagster_hf_datasets.io_manager import HFParquetIOManager
from dynamic_bucket_partitioning.assets import (
opus_books_raw,
partition_report,
)
defs = Definitions(
assets=[
opus_books_raw,
partition_report,
],
resources={
"huggingface": HuggingFaceResource(
cache_dir=".hf_cache",
offline=False,
),
"hf_parquet_io_manager": HFParquetIOManager(
base_dir=".dagster_hf_storage",
),
},
)

Xet Storage Details

Size:
590 Bytes
·
Xet hash:
b4233ae4691907c649f34f06855ef3a2884a0caf08b5134efe3af85602f18a67

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.