Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tongyao-zhu committed Feb 1, 2023
1 parent 1a89ca1 commit e19ef8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ The final score for each token is:
Please note that you might not see a big difference between the BLEU scores for different lambda values. This is because we only train the datastore on a very small fraction of the training data (1%), due to computation resources constraint.
It is too small for any improvement to happen. However, if you have enough resources, you should be able to see the improvement.

For k==64, lambda_value==0.8, you should get: {'bleu': 40.9568, 'n_obs': 2000, 'runtime': 5892, 'seconds_per_sample': 2.946}

For the baseline without kNN search, remove the _datastore_path_, _k_, and _lambda_value_. You will get:

Expand Down

0 comments on commit e19ef8f

Please sign in to comment.