Browse Source

Merge branch 'master' of https://github.com/SciSharp/LLamaSharp into upstream_master

tags/v0.5.1
sa_ddam213 2 years ago
parent
commit
e46646b8db
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      LLama/Native/SamplingApi.cs
  2. +1
    -1
      LLama/Utils.cs

+ 1
- 1
LLama/Native/SamplingApi.cs View File

@@ -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.


+ 1
- 1
LLama/Utils.cs View File

@@ -11,7 +11,7 @@ using System.Text;
namespace LLama
{
using llama_token = Int32;
internal static class Utils
public static class Utils
{
public static SafeLLamaContextHandle InitLLamaContextFromModelParams(IModelParams @params)
{


Loading…
Cancel
Save