Hi,
I am trying to run this simple run_summarization.py following this page:
Below are the error messages that I obtained:
(base) smgailab@upfspr:~/Intel/optimum-intel/examples/neural_compressor/summarization$ python run_summarization.py
–model_name_or_path t5-small
–dataset_name=cnn_dailymail
–dataset_config “3.0.0”
–source_prefix "summarize: "
–apply_quantization
–apply_pruning
–target_sparsity 0.1
–num_train_epochs 4
–max_train_samples 100
–do_train
–do_eval
–verify_loading
–predict_with_generate
–per_device_train_batch_size=4
–per_device_eval_batch_size=4
–output_dir /tmp/test_summarization
run_summarization.py: error: the following arguments are required: --model_name_or_path, --output_dir
–model_name_or_path: command not found
–dataset_name=cnn_dailymail: command not found
–source_prefix: command not found
System info:
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Python 3.11.4
Model name: Intel(R) Xeon(R) Platinum 8480+