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
193 stars 38 forks source link

SeqSimilarityConsole #28

Closed lijianxin520 closed 2 years ago

lijianxin520 commented 2 years ago

Hello, thank you very much for your constant efforts. Could you please provide an example of "SeqSimilarityConsole" ?

zhongkaifu commented 2 years ago

Hi @lijianxin520 Basically the input file format for SeqSimilairyConsole looks like tokenized sentence1 \t tokenized sentence2

And the model will calculate similarity between sentence1 and sentence2, then the output is a score per line, for example: 0.0 ~ 1.0

For model, you need to provide training corpus to train your similarity model.

I will update README file later for it. Let me know if you still have any question.

Thanks Zhongkai Fu

lijianxin520 commented 2 years ago

Thank you very much for your help. I'll have a try