Additional research data
Collection
Reviewed public research datasets: NeSy, AdaThink and HyCo2. • 3 items • Updated
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
MaxAssignments: int64
LifetimeInSeconds: int64
Name: string
Description: string
QualificationTypeStatus: string
TestDurationInSeconds: int64
RetryDelayInSeconds: int64
Keywords: string
to
{'Name': Value('string'), 'Keywords': Value('string'), 'Description': Value('string'), 'QualificationTypeStatus': Value('string'), 'RetryDelayInSeconds': Value('int64'), 'TestDurationInSeconds': Value('int64')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2951, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2461, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2486, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 547, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 430, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_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
MaxAssignments: int64
LifetimeInSeconds: int64
Name: string
Description: string
QualificationTypeStatus: string
TestDurationInSeconds: int64
RetryDelayInSeconds: int64
Keywords: string
to
{'Name': Value('string'), 'Keywords': Value('string'), 'Description': Value('string'), 'QualificationTypeStatus': Value('string'), 'RetryDelayInSeconds': Value('int64'), 'TestDurationInSeconds': Value('int64')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Research code, task data, and experiment inputs for NeSy. The training recipes below retain their original settings. Use your own pretrained-model directory.
File identities and the limited code changes are recorded in ARTIFACTS.json. Public source references and applicable upstream terms are retained; this card does not assign a new license to the source data.
conda create -n nesyflow python==3.9
conda activate nesyflow
pip install -r requirements.txt
git clone https://github.com/ELIFE-ASU/INNLab
cd INNLab/
python setup.py install
cd ..
bash run.sh --cuda_devices 3,4,5 --model_name_or_path /path/to/pretrained-model --meta_exp_dir ./exp_final --exp_name vae-pretrain --recon_loss_weight 1 --reg_loss_weight 0.001 --task_loss_weight 1 --batch_size 8 --prior gaussian --unseen_task_ratio 0.1 --fuse_method p-tuning --num_soft_token 10 --dataset sni --encoder_lora_r 128 --decoder_lora_r 1 --valid_epoch 1 --save_epoch 1 --use_instance_in_decoder True --use_chat_template True --indirect_finetune True --pretraining True --use_trainable_task_model hard --method nesy --pretrain_data_ratio 1
bash run.sh --cuda_devices 0,1,2 --model_name_or_path /path/to/pretrained-model --meta_exp_dir ./exp_final --exp_name vae-domain-chat --recon_loss_weight 1 --reg_loss_weight 0.001 --task_loss_weight 10 --batch_size 8 --prior gaussian --unseen_task_ratio 0.1 --fuse_method p-tuning --num_soft_token 10 --dataset sni --encoder_lora_r 128 --decoder_lora_r 1 --valid_epoch 10 --save_epoch 10 --use_instance_in_decoder True --use_chat_template True --indirect_finetune True --pretraining False --use_trainable_task_model True --use_knowledge_in_task hard --method nesy
For utilities that call the OpenAI API, set OPENAI_API_KEY in your environment. Set OPENAI_BASE_URL only when using a compatible alternative endpoint; otherwise the official OpenAI API is used.