Skip to content

Commit

Permalink
Expose some native classes
Browse files Browse the repository at this point in the history
  • Loading branch information
saddam213 committed Aug 6, 2023
1 parent fa75e9d commit 372894e
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 372894e

Please sign in to comment.