Code Monkey home page Code Monkey logo

Comments (6)

dominik-schwabe avatar dominik-schwabe commented on August 20, 2024 7

i got the same issue. pip install sacrebleu=="1.4.5" fixed it for me quick and dirty.

from vizseq.

kahne avatar kahne commented on August 20, 2024 1

@DiegoMoussallem @madKuchenbaecker

Thank you very much for reporting this issue!

This bug should be fixed by #32 now. Please upgrade VizSeq with pip install --upgrade vizseq or pull the latest master branch and reinstall VizSeq with pip install -e <github repo root>.

Thanks again for your support!

from vizseq.

DiegoMoussallem avatar DiegoMoussallem commented on August 20, 2024

thank you, so, let's suggest it at -> https://github.com/facebookresearch/vizseq/blob/master/setup.py#L45

from vizseq.

rachida-ly avatar rachida-ly commented on August 20, 2024

j'ai obtenu l'erreur

ImportError Traceback (most recent call last)
in
4 import pickle
5 from sumeval.metrics.rouge import RougeCalculator
----> 6 from sumeval.metrics.bleu import BLEUCalculator
7 from hyperdash import Experiment
8

~\Desktop\FOLDER3\sumeval\metrics\bleu.py in
----> 1 from sacrebleu import corpus_bleu, TOKENIZERS, DEFAULT_TOKENIZER
2 from sumeval.metrics.lang import get_lang
3
4
5 class BLEUCalculator():

ImportError: cannot import name 'DEFAULT_TOKENIZER' from 'sacrebleu' (C:\Users\21267\Desktop\FOLDER3\sacrebleu_init_.py)

from vizseq.

heychhavi avatar heychhavi commented on August 20, 2024

@kahne
ImportError: cannot import name 'Tokenizer13a' from 'sacrebleu.tokenizers' ...still getting the error even after upgrading vizseq
can you suggest solution for this?

from vizseq.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.