net5.0
namespace Microsoft.ML.Tokenizers
{
    public class CodeGenTokenizer : Tokenizer
    {
        public int GetIndexByTokenCountFromEnd(string! text, int maxTokenCount, bool addPrefixSpace, bool addBeginningOfSentence, bool addEndOfSentence, out string? normalizedString, out int tokenCount, bool considerPreTokenization = true, bool considerNormalization = true);
    }
}
.NET 5.06.07.08.09.0
.NET Core 2.02.12.23.03.1
.NET Framework 4.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 2.02.1
Information specific to net5.0
Assembly

Microsoft.ML.Tokenizers , Version=1.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Microsoft.ML.Tokenizers.

Package Microsoft.ML.Tokenizers netstandard2.0
Preview This API is contained in a prerelease package.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API

11/07/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙