AINovice2005's picture
download
raw
974 Bytes
from dagster import Definitions
from dagster_hf_datasets import HuggingFaceResource
from dagster_hf_datasets.io_manager import HFParquetIOManager
from synthethic_multimodal_data.assets import (
caption_alignment_scores,
check_mean_alignment,
check_no_empty_captions,
diffusiondb_sample,
nsfw_filtered,
synthetic_captions,
synthetic_dataset_final,
synthetic_generation_report,
)
defs = Definitions(
assets=[
diffusiondb_sample,
nsfw_filtered,
synthetic_captions,
caption_alignment_scores,
synthetic_dataset_final,
synthetic_generation_report,
],
asset_checks=[
check_no_empty_captions,
check_mean_alignment,
],
resources={
"huggingface": HuggingFaceResource(
cache_dir=".hf_cache",
offline=False,
),
"hf_parquet_io_manager": HFParquetIOManager(
base_dir=".dagster_hf_storage",
),
},
)

Xet Storage Details

Size:
974 Bytes
·
Xet hash:
1a42f8cbead6da7055dfdfecfc8c7d6fc4342998f1cc3b492e028f557d737b0c

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