Comments (7)
Hi!
It seems to me that the key error message is here:
error: [WinError 2] The system cannot find the file specified msvc py_compiler msvc
Does the solution outline here help?
from easse.
Hi Fernando,
Thanks, it helped me to get clue. I had spacy version 2.2.2.& Python 3.8
So, to resolve it i created a virtual environment with python 3.6.
and install easse. it works now but can you please have a quick look on this error while running my dataset on colab link
https://colab.research.google.com/drive/1iTId7uPlMNMMeSz6QuY1CDFxU6GBv4qY?usp=sharing
you can close this issue.
from easse.
Hi!
Note that for both corpus_sari
and corpus_bleu
the refs_sents
argument is List[List[str]]
. This is to account for the general case where multiple references are available for each instance. You didn't get an error with corpus_sari
because we don't make the same verification as sacrebleu (maybe we should), but the sari score you get is most likely incorrect. You should change the way you are calling the functions so that, for each instance, the refs_sents
argument is a List.
from easse.
OK, so it means i cannot use easse or i need to change it files .[bleu.py, sari.py]
sys_sent: List[str], ref_sents: List[str],
But my input has will be like it. as i am doing translation
https://colab.research.google.com/drive/1iTId7uPlMNMMeSz6QuY1CDFxU6GBv4qY?usp=sharing
from easse.
It means that you need to reformat your input so that what you pass in the refs_sents
argument is a List[List[str]]
. For example, you could change the way you load your data into the dataframe so that each item in the Target_Text
column is a list of only one element.
from easse.
ok thank you
from easse.
Hi!
Note that for bothcorpus_sari
andcorpus_bleu
therefs_sents
argument isList[List[str]]
. This is to account for the general case where multiple references are available for each instance. You didn't get an error withcorpus_sari
because we don't make the same verification as sacrebleu (maybe we should), but the sari score you get is most likely incorrect. You should change the way you are calling the functions so that, for each instance, therefs_sents
argument is a List.
@feralvam can you create a new issue highlighting what we need to do ideally to fix this problem in the future?
from easse.
Related Issues (20)
- How to apply easse to custom data? HOT 1
- package taking long time to run and not providing output HOT 2
- Can't install EASSE! HOT 1
- How to use easse with a varying number of references? HOT 1
- tseval installs sklearn instead of scikit-learn HOT 1
- Qualitative Outputs missing labels
- strange score HOT 1
- SAMSA not working
- multiple system report error HOT 2
- How to calculate fkgl, Bleu in python? HOT 1
- System outputs for MUSST HOT 1
- UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 5599: ordinal not in range(128) HOT 2
- Failed to compute SAMSA HOT 1
- Referenceless Quality Estimation HOT 3
- sacrebleu version HOT 1
- (pip) ERROR: Failed building wheel for easse HOT 2
- resourceKilled HOT 3
- bert score breaks with current latest version of matplotlib HOT 2
- Difference between easse and huggingface/datasets SARI computation HOT 5
- potential issue with SARI n-gram add-score HOT 2
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 easse.