Skip to content

Commit 31a641b

Browse files
committed
Corrected output format
1 parent 5fa4f93 commit 31a641b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embeddings/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ fn main() -> Result<()> {
139139
for token in token_line {
140140
// Attempt to convert token to string and print it; if it fails, print the token instead
141141
match model.token_to_str(*token) {
142-
Ok(token_str) => eprintln!("Token string: {}", token_str),
142+
Ok(token_str) => eprintln!(" {} --> {}", token, token_str),
143143
Err(e) => {
144144
eprintln!("Failed to convert token to string, error: {}", e);
145145
eprintln!("Token value: {}", token);

0 commit comments

Comments
 (0)