Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 2 new columns ({'raw_text', 'form_id'}) and 4 missing columns ({'unit', 'source', 'nutrient_id', 'value'}).

This happened while the csv dataset builder was generating data using

hf://datasets/AriaAICompany/blend-scenarios/data/forms.csv (at revision 516514c53ca01b066853e6dab5fa9b66623f52f9), ['hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/composition.csv', 'hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/forms.csv', 'hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/gold_extraction.csv', 'hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/ingredients.csv', 'hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/nutrients.csv', 'hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/settings.csv', 'hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/units.csv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1848, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              form_id: string
              ingredient_id: string
              raw_text: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 633
              to
              {'ingredient_id': Value('string'), 'nutrient_id': Value('string'), 'value': Value('float64'), 'unit': Value('string'), 'source': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1850, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 2 new columns ({'raw_text', 'form_id'}) and 4 missing columns ({'unit', 'source', 'nutrient_id', 'value'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/AriaAICompany/blend-scenarios/data/forms.csv (at revision 516514c53ca01b066853e6dab5fa9b66623f52f9), ['hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/composition.csv', 'hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/forms.csv', 'hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/gold_extraction.csv', 'hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/ingredients.csv', 'hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/nutrients.csv', 'hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/settings.csv', 'hf://datasets/AriaAICompany/blend-scenarios@516514c53ca01b066853e6dab5fa9b66623f52f9/data/units.csv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

ingredient_id
string
nutrient_id
string
value
float64
unit
string
source
string
I-corn
N-cp
8.5
% as-fed
typical_table
I-corn
N-me
13.8
MJ/kg
typical_table
I-corn
N-ca
0.02
% as-fed
typical_table
I-corn
N-p
0.1
% as-fed
typical_table
I-corn
N-cf
2.2
% as-fed
typical_table
I-corn
N-fat
3.8
% as-fed
typical_table
I-corn
N-lys
0.24
% as-fed
typical_table
I-corn
N-moist
13.5
% as-fed
typical_table
I-sbm
N-cp
44
% as-fed
typical_table
I-sbm
N-me
10.2
MJ/kg
typical_table
I-sbm
N-ca
0.29
% as-fed
typical_table
I-sbm
N-p
0.27
% as-fed
typical_table
I-sbm
N-cf
7
% as-fed
typical_table
I-sbm
N-fat
1.5
% as-fed
typical_table
I-sbm
N-lys
2.7
% as-fed
typical_table
I-sbm
N-moist
11
% as-fed
typical_table
I-wheat
N-cp
11.5
% as-fed
typical_table
I-wheat
N-me
13.2
MJ/kg
typical_table
I-wheat
N-ca
0.05
% as-fed
typical_table
I-wheat
N-p
0.18
% as-fed
typical_table
I-wheat
N-cf
2.5
% as-fed
typical_table
I-wheat
N-fat
1.8
% as-fed
typical_table
I-wheat
N-lys
0.35
% as-fed
typical_table
I-wheat
N-moist
12.5
% as-fed
typical_table
I-bran
N-cp
15.5
% as-fed
typical_table
I-bran
N-me
7.5
MJ/kg
typical_table
I-bran
N-ca
0.14
% as-fed
typical_table
I-bran
N-p
0.4
% as-fed
typical_table
I-bran
N-cf
10
% as-fed
typical_table
I-bran
N-fat
4
% as-fed
typical_table
I-bran
N-lys
0.6
% as-fed
typical_table
I-bran
N-moist
12
% as-fed
typical_table
I-barley
N-cp
11
% as-fed
typical_table
I-barley
N-me
11.5
MJ/kg
typical_table
I-barley
N-ca
0.05
% as-fed
typical_table
I-barley
N-p
0.18
% as-fed
typical_table
I-barley
N-cf
5
% as-fed
typical_table
I-barley
N-fat
2
% as-fed
typical_table
I-barley
N-lys
0.4
% as-fed
typical_table
I-barley
N-moist
12
% as-fed
typical_table
I-ddgs
N-cp
27
% as-fed
typical_table
I-ddgs
N-me
11.8
MJ/kg
typical_table
I-ddgs
N-ca
0.12
% as-fed
typical_table
I-ddgs
N-p
0.4
% as-fed
typical_table
I-ddgs
N-cf
8.5
% as-fed
typical_table
I-ddgs
N-fat
10
% as-fed
typical_table
I-ddgs
N-lys
0.75
% as-fed
typical_table
I-ddgs
N-moist
11
% as-fed
typical_table
I-oil
N-cp
0
% as-fed
typical_table
I-oil
N-me
36.5
MJ/kg
typical_table
I-oil
N-ca
0
% as-fed
typical_table
I-oil
N-p
0
% as-fed
typical_table
I-oil
N-cf
0
% as-fed
typical_table
I-oil
N-fat
99
% as-fed
typical_table
I-oil
N-lys
0
% as-fed
typical_table
I-oil
N-moist
0.5
% as-fed
typical_table
I-dcp
N-cp
0
% as-fed
typical_table
I-dcp
N-me
0
MJ/kg
typical_table
I-dcp
N-ca
22
% as-fed
typical_table
I-dcp
N-p
18.5
% as-fed
typical_table
I-dcp
N-cf
0
% as-fed
typical_table
I-dcp
N-fat
0
% as-fed
typical_table
I-dcp
N-lys
0
% as-fed
typical_table
I-dcp
N-moist
3
% as-fed
typical_table
I-lime
N-cp
0
% as-fed
typical_table
I-lime
N-me
0
MJ/kg
typical_table
I-lime
N-ca
38
% as-fed
typical_table
I-lime
N-p
0
% as-fed
typical_table
I-lime
N-cf
0
% as-fed
typical_table
I-lime
N-fat
0
% as-fed
typical_table
I-lime
N-lys
0
% as-fed
typical_table
I-lime
N-moist
1
% as-fed
typical_table
I-salt
N-cp
0
% as-fed
typical_table
I-salt
N-me
0
MJ/kg
typical_table
I-salt
N-ca
0
% as-fed
typical_table
I-salt
N-p
0
% as-fed
typical_table
I-salt
N-cf
0
% as-fed
typical_table
I-salt
N-fat
0
% as-fed
typical_table
I-salt
N-lys
0
% as-fed
typical_table
I-salt
N-moist
0.2
% as-fed
typical_table
I-premix
N-cp
0
% as-fed
typical_table
I-premix
N-me
0
MJ/kg
typical_table
I-premix
N-ca
0
% as-fed
typical_table
I-premix
N-p
0
% as-fed
typical_table
I-premix
N-cf
0
% as-fed
typical_table
I-premix
N-fat
0
% as-fed
typical_table
I-premix
N-lys
0
% as-fed
typical_table
I-premix
N-moist
8
% as-fed
typical_table
I-molasses
N-cp
4
% as-fed
typical_table
I-molasses
N-me
8
MJ/kg
typical_table
I-molasses
N-ca
0.8
% as-fed
typical_table
I-molasses
N-p
0.08
% as-fed
typical_table
I-molasses
N-cf
0
% as-fed
typical_table
I-molasses
N-fat
0.1
% as-fed
typical_table
I-molasses
N-lys
0
% as-fed
typical_table
I-molasses
N-moist
26
% as-fed
typical_table
I-fish
N-cp
62
% as-fed
typical_table
I-fish
N-me
13
MJ/kg
typical_table
I-fish
N-ca
4.5
% as-fed
typical_table
I-fish
N-p
2.8
% as-fed
typical_table
End of preview.

Blend layer-mash scenarios

Synthetic 14-ingredient / 8-nutrient layer-mash batch for the Blend least-cost formulation demo.

Live Gradio app and organization card: alirezaaminzadeh/blend and AriaAICompany/blend. Collection: Aria AI — Manufacturing.

Generated data, seed 24. Prices, inventories and typical compositions are synthetic. They are not a licensed mill formula and not a nutrition prescription.

Files

  • data/ingredients.csv
  • data/nutrients.csv
  • data/composition.csv
  • data/forms.csv
  • data/gold_extraction.csv
  • data/settings.csv
  • data/units.csv
  • data/sample_preview.json

Units

Nutrient percentages are % as-fed (g/100 g). Energy is MJ/kg. Prices are USD per wet tonne. Batch mass is 1000 kg.

COA gold values already include conversions: 2450 kcal/kg → 10.2508 MJ/kg; 380 g/kg calcium → 38%.

License

CC-BY-4.0. Keep the synthetic-data label.

Downloads last month
23

Spaces using AriaAICompany/blend-scenarios 2

Collection including AriaAICompany/blend-scenarios