Skip to content

Commit

Permalink
Merge pull request #80 from saddam213/ExposeNative
Browse files Browse the repository at this point in the history
Expose some native classes
  • Loading branch information
martindevans committed Aug 6, 2023
2 parents fa75e9d + 372894e commit 5e15077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LLama/Native/SamplingApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace LLama.Native
{
using llama_token = Int32;
internal unsafe class SamplingApi
public unsafe class SamplingApi
{
/// <summary>
/// Repetition penalty described in CTRL academic paper https://arxiv.org/abs/1909.05858, with negative logit fix.
Expand Down
2 changes: 1 addition & 1 deletion LLama/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
namespace LLama
{
using llama_token = Int32;
internal static class Utils
public static class Utils
{
public static SafeLLamaContextHandle InitLLamaContextFromModelParams(ModelParams @params)
{
Expand Down

0 comments on commit 5e15077

Please sign in to comment.