-
Notifications
You must be signed in to change notification settings - Fork 19
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: dmitry-brazhenko/SharpToken
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.2.17
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: dmitry-brazhenko/SharpToken
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 5 commits
- 39 files changed
- 5 contributors
Commits on Mar 25, 2024
-
* workflows * fix * fix * fix * fix * fix * fix * fix 1 * fix 2 * fix * fix4 * fix * dotnet-version fix * needs: call-reusable-build-test * actions/checkout@v4 * actions/setup-dotnet@v4
Configuration menu - View commit details
-
Copy full SHA for 5b48c72 - Browse repository at this point
Copy the full SHA 5b48c72View commit details -
Configuration menu - View commit details
-
Copy full SHA for e96811a - Browse repository at this point
Copy the full SHA e96811aView commit details
Commits on Mar 26, 2024
-
Pr 33 (Feature/performance: This PR introduces a high number of perfo…
…rmance improvements) (#36) * feat(performance): add benchmark project * feat(performance): reduce public API surface * feat(performance): reduce allocations * feat(performance): use compiled regex for better performance * feat(performance): run benchmark * chore: move reorganize files * feat(performance): replace SpecialTokenPatternRegex with faster alloc free solution * feat(performance): reduce string allocations * feat(performance): run benchmark * feat(performance): add BytePairIndex class to support faster implementation in net8.0 * feat(performance): cache model parameters to do params preparation only once * feat(performance): run benchmark * feat(performance): improve allowedSpecialTokens handling + bug fix * feat(performance): add support for ReadOnlySpan<char> in net8.0 * feat(performance): run benchmark * feat(performance): use compile time generated regex in net8.0 * feat: run tests for netstandard2.0 over net471 * feat(performance): run benchmark * feat: remove unused lastTokenLength + refactoring * feat(performance): implement fast MultiBytePairEncoder with almost zero allocations * feat(performance): run benchmark * feat(performance): reduce allocations * feat(performance): backport some optimizations to net6.0 and netstandard * feat(performance): run benchmark * chore: cosmetics * feat(refactor): extract Encoding.Encode() logic into priv EncodeCore to support broader use * feat(token-count): implement low allocation token count public method * feat(performance): run benchmark * feat(benchmark): don't make allocations in benchmark methods * feat(performance): reduce minor allocations * feat(benchmark): add benchmark for large file token count * feat(performance): run benchmark * fix: add test for allowedSpecialTokens and fix code * chore: fix naming * feat(benchmark): add another benchmark to show in README.md * feat(readme): add benchmark to README.md and add docs for TokenCount method * feat(performance): use multibyte cpu instructions for FastPartitionList.RemoveAt * feat(performance): re-add fast path - got lost in refactoring * feat(benchmark): add comparison to other tokenizer * feat(performance): improve ByteArrayEqualityComparer * feat(performance): small improvement * chore: update benchmarks in README.md * fix * improved pipleline * switch (key) * i += size - 1; * CountTokens renamed --------- Co-authored-by: René Larch <renelarch@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 086544d - Browse repository at this point
Copy the full SHA 086544dView commit details
Commits on Apr 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c7de8c0 - Browse repository at this point
Copy the full SHA c7de8c0View commit details
Commits on May 17, 2024
-
[duplicate] Support for o200k_base and gpt-4o (omni) model (#43)
* Adding o200k_base.tiktoken * Support for o200k_base and gpt-4o (omni) * Fixing typo Accidentally removed a using statement in my last update * Fixed issue with some tests Still failing in a handful of tests of the new o200k * All tests now passing (fixed typo) * architecture: x64 # Add this line * attempt * Update dotnet-build-test.yml --------- Co-authored-by: Tom Winzig <winzig@users.noreply.github.com> Co-authored-by: Tom Winzig <thomas@winzig.com>
Configuration menu - View commit details
-
Copy full SHA for 27eef74 - Browse repository at this point
Copy the full SHA 27eef74View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.2.17...2.0.3