Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logit transforms #4

Merged
merged 8 commits into from
Nov 28, 2024
Merged

Logit transforms #4

merged 8 commits into from
Nov 28, 2024

Conversation

AntonOresten
Copy link
Member

using LogitSamplers

transform = Top_p(0.5, 10)
sampler = logitsample  transform

logits = randn(100)

sampler(logits)

@AntonOresten AntonOresten marked this pull request as draft November 27, 2024 04:31
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 5 lines in your changes missing coverage. Please review.

Project coverage is 86.11%. Comparing base (d8a397c) to head (8738589).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/deprecated.jl 0.00% 4 Missing ⚠️
src/transforms.jl 95.23% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            main       #4       +/-   ##
==========================================
+ Coverage   0.00%   86.11%   +86.11%     
==========================================
  Files          1        5        +4     
  Lines         37       36        -1     
==========================================
+ Hits           0       31       +31     
+ Misses        37        5       -32     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@AntonOresten AntonOresten marked this pull request as ready for review November 28, 2024 04:17
@AntonOresten AntonOresten merged commit 00a13bf into main Nov 28, 2024
5 checks passed
@AntonOresten AntonOresten deleted the logit-transforms branch November 28, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant