Skip to content

Commit

Permalink
Removed softmax use in Examples/CustomSampler.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
martindevans committed Oct 31, 2024
1 parent 652c1e1 commit ff75038
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion LLama.Examples/Examples/CustomSampler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ protected override SafeLLamaSamplerChainHandle CreateChain(SafeLLamaContextHandl
chain.AddCustom(new RemoveMostLikelyToken());

// Select from the distribution
chain.AddSoftmax();
chain.AddDistributionSampler(42);

return chain;
Expand Down

0 comments on commit ff75038

Please sign in to comment.