Skip to content

Commit

Permalink
Corrected output format
Browse files Browse the repository at this point in the history
  • Loading branch information
kinkel-ralf committed Apr 12, 2024
1 parent 5fa4f93 commit 31a641b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embeddings/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ fn main() -> Result<()> {
for token in token_line {
// Attempt to convert token to string and print it; if it fails, print the token instead
match model.token_to_str(*token) {
Ok(token_str) => eprintln!("Token string: {}", token_str),
Ok(token_str) => eprintln!(" {} --> {}", token, token_str),
Err(e) => {
eprintln!("Failed to convert token to string, error: {}", e);
eprintln!("Token value: {}", token);
Expand Down

0 comments on commit 31a641b

Please sign in to comment.