Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
KendallPark committed Dec 17, 2023
1 parent bb24301 commit c3a81d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ecco/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,7 @@ def explore(self, input_sequence: int = 0, **kwargs):
tokens = []

for idx, token in enumerate(self.tokens[input_sequence]): # self.tokens[:-1]
if self.config['token_prefix'] is not None and token[0] == self.config['token_prefix']: token = token[1:]
type = "input" if idx < self.n_input_tokens else 'output'
tokens.append({'token': token,
'token_id': int(self.token_ids[input_sequence][idx]),
Expand Down

0 comments on commit c3a81d2

Please sign in to comment.