Comments (6)
i got the same issue. pip install sacrebleu=="1.4.5"
fixed it for me quick and dirty.
from vizseq.
@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.
thank you, so, let's suggest it at -> https://github.com/facebookresearch/vizseq/blob/master/setup.py#L45
from vizseq.
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.
@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)
- [Bug] Multiple references HOT 3
- 🐛 AttributeError: 'VizSeqLogger' object has no attribute 'set_console_mode' HOT 1
- Plans for windows 10 support HOT 1
- [Question] Calculated BLEU score HOT 3
- [Bug] Vizseq CSS breaks Jupyter layout
- View Scores NoneType not subscriptable HOT 1
- [Feature Request] Update BertScorer with oop implementation HOT 1
- Question about `tag` and `group` in official example HOT 2
- 🐛 Uncaught exception GET HOT 2
- Example speech task (IWSLT17 dev) not pairing correct audio source with reference [Bug]
- pip3 install vizseq failed on AArch64, Fedora 33
- [Bug] BLEUScorer uses wrong default tokenizer.
- 🐛 TypeError: score() got an unexpected keyword argument 'bert' HOT 1
- [Bug] Getting Import error (Tokenizer13a) when following instructions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vizseq.