Skip to content

Instantly share code, notes, and snippets.

@luisquintanilla
Created December 8, 2022 17:37
Show Gist options
  • Save luisquintanilla/bc91de8668cfa7c3755b20329fadd027 to your computer and use it in GitHub Desktop.
Save luisquintanilla/bc91de8668cfa7c3755b20329fadd027 to your computer and use it in GitHub Desktop.
GPT-2 ONNX ML.NET Tokenizers Sample
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@luisquintanilla
Copy link
Author

luisquintanilla commented Mar 18, 2024

Hi @quicksln,

You can find several completion related samples in this repo. https://github.com/dotnet/ai-samples

@Divyeshpatel6073
Copy link

What is textLength
I am not see any more this variable.

actually i am running this code it's shows me -> Length of memory (12) must match product of dimensions (20)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment