--data_dir

Description

Sets the path of the .bin dataset that matches the model.

See Also

Required if --evaluator is not included.

Argument

Argument: path of the .bin dataset.

Restrictions:

  • The path can contain letters, digits, underscores (_), hyphens (-), and periods (.).
  • If the model has multiple inputs and each input has multiple batches of data, these batches must be stored in different directories and the files in the directories must be arranged in ascending order by name. All input paths must be enclosed in double quotation marks ("") and separated with semicolons (;).

Suggestions and Benefits

None

Example

--data_dir="data/input1/;data/input2/"

For example, in the input1 and input2 directories, data files are named input1batch1.bin, input1batch2.bin, input2batch1.bin, and input2batch2.bin, which are arranged in ascending order.

Restrictions

This option applies only to PTQ.