PyTorch Character-level Text to Tensor Conversion

Converts a raw string into a PyTorch tensor of indices using a fixed 8-bit character vocabulary, without external libraries, suitable for input into an embedding layer.

ECNU-ICALK Updated 559 repo stars

File contents

ECNU-ICALK/AutoSkill/tree/main/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/pytorch-character-level-text-to-tensor-conversion commit 2996e6815c

Frequently asked questions

npx skillmds@latest add ecnu-icalk/pytorch-character-level-text-to-tensor-conversion