Open fxmarty opened 2 years ago
python run_glue.py --model_name_or_path philschmid/tiny-bert-sst2-distilled --task_name sst2 \
--quantization_approach static --calibration_method percentile \
--num_calibration_samples 104 --do_eval \
--output_dir /tmp/quantized_distilbert_sst2 --max_eval_samples 100
works fine. So apparently we need the number of calibration samples to be a multiple of the calibration_batch_size
. I don't think it was the case before?
System Info
Who can help?
No response
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
Dockerfile:
Then:
docker build -f Dockerfile_debug -t debug_sst2 .
and:docker run -it debug_sst2
Error:
Expected behavior
No error