Tokenizers.HuggingFace 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Tokenizers.HuggingFace --version 0.1.0
                    
NuGet\Install-Package Tokenizers.HuggingFace -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Tokenizers.HuggingFace" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tokenizers.HuggingFace" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Tokenizers.HuggingFace" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Tokenizers.HuggingFace --version 0.1.0
                    
#r "nuget: Tokenizers.HuggingFace, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Tokenizers.HuggingFace@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Tokenizers.HuggingFace&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Tokenizers.HuggingFace&version=0.1.0
                    
Install as a Cake Tool

Tokenizers.HuggingFace

.NET bindings for huggingface/tokenizers using protobufs for comunication and C-ABI.

How to install

dotnet add package Tokenizers.HuggingFace

Supported targets

  • win-x64
  • linux-x64
  • osx-x64
  • osx-arm64
  • win-arm64
  • linux-arm64

Usage

Casses:

  • Normalization
  • PreTokenization
  • Tokenizer (Encode, Decode, Load From File, Train)

Examples

TODO!

Releasing

If you know the target target you are building yout project for use:

dotnet build .\YourProject.csproj -c Release -r [target]

This way you avoid including all native libraries.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Tokenizers.HuggingFace:

Repository Stars
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
Version Downloads Last Updated
2.21.4 357 9/4/2025
2.21.4-rc.0 178 8/30/2025
1.21.4 436 8/10/2025
1.21.4-rc.1 128 8/17/2025
1.0.1-experimental.1 171 6/26/2025
1.0.0 512 5/10/2025
0.1.0 205 5/8/2025