wfondrie / depthcharge

A deep learning toolkit for mass spectrometry
https://wfondrie.github.io/depthcharge/
Apache License 2.0
59 stars 18 forks source link

Change `detokenize` behavior #54

Closed wfondrie closed 3 months ago

wfondrie commented 3 months ago

Now detokenize() will truncate the output to the first stop token when trim_stop_token is used.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.49%. Comparing base (1b53a35) to head (00fb33f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #54 +/- ## ========================================== + Coverage 97.16% 97.49% +0.32% ========================================== Files 24 24 Lines 953 957 +4 ========================================== + Hits 926 933 +7 + Misses 27 24 -3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.