Skip to content

Commit

Permalink
fix the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
azimafroozeh committed Nov 18, 2024
1 parent 1c7ae32 commit 2ca5122
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions publication/compression_ratio_result/float/patas.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dataset,size,vectors_count
Dino-Vitb16,35.25,84364
GPT2,35.24,121523
Grammarly-lg,35.23,764739
WAV2VEC,26.28,92183
Dino-Vitb16,45.81,84364
GPT2,45.63,121523
Grammarly-lg,45.51,764739
WAV2VEC,34.81,92183
8 changes: 4 additions & 4 deletions publication/compression_ratio_result/float/zstd.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dataset,size
Dino-Vitb16,14.87
GPT2,14.85
Grammarly-lg,14.82
WAV2VEC,9.55
Dino-Vitb16,29.74
GPT2,29.69
Grammarly-lg,29.65
WAV2VEC,19.11
2 changes: 1 addition & 1 deletion publication/source_code/bench_compression_ratio/zstd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class zstd_test : public ::testing::Test {
ZSTD_compress(enc_dbl_arr, enc_size_upper_bound, dbl_arr, input_size, 3); // Level 3

// SUM COMPRESSED SIZE
compressed_data_size += ENC_SIZE * sizeof(T);
compressed_data_size += ENC_SIZE * 8;

// Decode
ZSTD_decompress(dec_dbl_arr, dec_size, enc_dbl_arr, ENC_SIZE);
Expand Down

0 comments on commit 2ca5122

Please sign in to comment.