Skip to content

Commit

Permalink
[wip] fix a bug in gorillas and names
Browse files Browse the repository at this point in the history
  • Loading branch information
azimafroozeh committed Nov 20, 2024
1 parent 45c54e3 commit db87620
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion publication/compression_ratio_result/float/alp.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ dataset,size,rowgroups_count,vectors_count
Dino-Vitb16,28.78,844,84365
GPT2,28.01,1216,121524
Grammarly-lg,29.16,7648,764740
W2VEC,28.86,5,405
W2V Tweets,28.86,5,405
2 changes: 1 addition & 1 deletion publication/compression_ratio_result/float/chimp.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ dataset,size,vectors_count
Dino-Vitb16,33.42,84364
GPT2,33.46,121523
Grammarly-lg,33.42,764739
W2VEC,33.50,404
W2V Tweets,33.50,404
2 changes: 1 addition & 1 deletion publication/compression_ratio_result/float/chimp128.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ dataset,size,vectors_count
Dino-Vitb16,33.43,84364
GPT2,33.48,121523
Grammarly-lg,33.43,764739
W2VEC,33.51,404
W2V Tweets,33.51,404
8 changes: 4 additions & 4 deletions publication/compression_ratio_result/float/gorillas.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dataset,size,vectors_count
Dino-Vitb16,32.89,42182
GPT2,32.24,60761
Grammarly-lg,32.19,382369
W2VEC,32.32,202
Dino-Vitb16,34.11,84364
GPT2,34.11,121523
Grammarly-lg,34.11,764739
W2V Tweets,32.32,202
2 changes: 1 addition & 1 deletion publication/compression_ratio_result/float/patas.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ dataset,size,vectors_count
Dino-Vitb16,45.81,84364
GPT2,45.63,121523
Grammarly-lg,45.51,764739
W2VEC,45.60,404
W2V Tweets,45.60,404
2 changes: 1 addition & 1 deletion publication/compression_ratio_result/float/zstd.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ dataset,size
Dino-Vitb16,29.74
GPT2,29.69
Grammarly-lg,29.65
W2VEC,29.65
W2V Tweets,29.65
6 changes: 3 additions & 3 deletions publication/source_code/bench_compression_ratio/gorillas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ class gorillas_test : public ::testing::Test {
size_t compressed_data_size = 0;

size_t tuples_count;
auto* data_column = mapper::mmap_file<double>(tuples_count, dataset.binary_file_path);
double value_to_encode {0.0};
auto* data_column = mapper::mmap_file<T>(tuples_count, dataset.binary_file_path);
T value_to_encode {0.0};
size_t vector_idx {0};
size_t rowgroup_offset {0};
size_t vectors_count = {0};
/* Encode - Decode - Validate. */
for (size_t i = 0; i < tuples_count; i++) {
value_to_encode = data_column[i];
value_to_encode = data_column[i];
dbl_arr[vector_idx] = value_to_encode;
vector_idx = vector_idx + 1;
rowgroup_offset = rowgroup_offset + 1;
Expand Down

0 comments on commit db87620

Please sign in to comment.