zhongkaifu / Seq2SeqSharp

Seq2SeqSharp is a tensor based fast & flexible deep neural network framework written by .NET (C#). It has many highlighted features, such as automatic differentiation, different network types (Transformer, LSTM, BiLSTM and so on), multi-GPUs supported, cross-platforms (Windows, Linux, x86, x64, ARM), multimodal model for text and images and so on.
Other
197 stars 37 forks source link

A plan to export Seq2SeqSharp translation model to ONNX`? #18

Open GeorgeS2019 opened 3 years ago

GeorgeS2019 commented 3 years ago

Currently, both the ML.NET ( which can import ONNX) and OnnxRuntime C# API samples are missing machine translation.

If it is possible to export Seq2SeqSharp model to ONNX, than both ML.NET and Onnx community will benefit from that.

zhongkaifu commented 3 years ago

Thanks @GeorgeS2019 That's a great point. My plan is to import ONNX model to Seq2SeqSharp at first, so that it can directly load pre-trained models generated by other framework rather than retrain them from the scratch.

GeorgeS2019 commented 3 years ago

@zhongkaifu please FYI a potential reusable ONNX viewer that may be relevant for importing ONNX models