diff --git a/splade4elastic/elastic_splade.py b/splade4elastic/elastic_splade.py index 1181b7d..b99a230 100644 --- a/splade4elastic/elastic_splade.py +++ b/splade4elastic/elastic_splade.py @@ -242,4 +242,4 @@ def logits2weights(self, word_logits): ret = [(w[0], np.exp(w[1])) for w in word_logits] norm_factor = sum(w[1] for w in ret) ret = [(w[0], w[1]/norm_factor) for w in ret] - return ret \ No newline at end of file + return ret