The Wayback Machine - https://web.archive.org/web/20200618150404/https://github.com/topics/seq2seq
Skip to content
#

seq2seq

Here are 654 public repositories matching this topic...

TomasAndersonFang
TomasAndersonFang commented Mar 24, 2020

I add a function(according the code in the tutorial4) to calculate the bleu score, but i get the vey low score(0.09), could you tell me why?
This is code to calculate bleu:

def translate_sentence(sentence, src_field, trg_field, model, device, max_len = 50):
    
    model.eval()
        
    if isinstance(sentence, str):
        nlp = spacy.load('de')
        tokens = [token.te
JakeStevens
JakeStevens commented May 8, 2018

The README states:
If you already had a version of PyTorch installed on your system, please verify that the active torch package is at least version 0.1.11

However, my version of PyTorch (0.3.1) >= 0.1.11, but there are compatibility issues. The README should be updated to reflect the actual minimum version supported.

Given that the code uses no_grad, which is introduced in 0.4.0, the minim

seq2seq-signal-prediction
guillaume-chevalier
guillaume-chevalier commented Nov 26, 2017

The code would already produce charts in English. However, the current charts are in French.

One would need to try all the exercises to regenerate new charts, incorporate them in the notebook, and then regenerate the README in a clean way, as well as the .py file if the code in the notebook changed.

The French branch (which is named francais) should remain untouched.

Improve this page

Add a description, image, and links to the seq2seq topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the seq2seq topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.