dotnet / dotnet/TorchSharp

Is TorchText implemented?

Open
#1,381 5 comments 2 reactions 0 assignees View on GitHub
question
Dominant language
C#
Stars
1.9k
Forks
228
PR merge metrics
No merged PRs in 30d

Description

For TorchSharp [text classification example][1] there is TorchText used to load data set.

I am not sure what I am doing wrong, but I can not find any `using`s to import this library.

For TorchSharp [MNIST example][2] I did manage to find and install proper NuGet to use `torchvision`.

Is TorchText implemented for .NET?

If not, alternatively, how can I load data from CSV file? I do not know what data type should be used for `var reader` in the example? Im confused.

[1]: https://github.com/dotnet/TorchSharp/blob/1dd3ae507b0881bfb41c00c185438c7884f6a59f/src/Examples/TextClassification.cs#L52C33-L52C42
[2]: https://github.com/dotnet/TorchSharp/blob/1dd3ae507b0881bfb41c00c185438c7884f6a59f/src/Examples/MNIST.cs#L57

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.