-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About Meteor metric #14
Comments
I haven't encountered this error. Can you post the exact reference and generated report that causes this error? |
``> I haven't encountered this error. Can you post the exact reference and generated report that causes this error? I found the error because of a garbled code in one of the reports I generated and I have isolated it. Also I have encountered the following error in my inference when it calculate the CE metric, have you encountered it, I would appreciate if you give me some advice. `(rgrg_new) ydw@lthpc:~/code/rgrg$ cd /home/ydw/code/rgrg ; /usr/bin/env /home/ydw/miniconda3/envs/rgrg_new/bin/python /home/ydw/.vscode-server/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 43347 -- /home/ydw/code/rgrg/src/full_model/test_set_evaluation.py
Tokenizing report impressions. All reports are cut off at 512 tokens. Begin report impression labeling. The progress bar counts the # of batches completed: |
Is it correct to assume that you didn't use the pre-trained weights I provided, but trained your own model? Since my model didn't generate any report that caused a ValueError.
I haven't encountered this error either. I asked GPT-4 and it recommended the following: The error you're encountering, Here are some steps you can take to debug this error:
By systematically following these steps, you should be able to narrow down the root cause of the error and hopefully find a solution. |
When I generate the generate_report and calcuate compute_NLG_scores, in
score, _ = scorer.compute_score(ref_sents_or_reports, gen_sents_or_reports)
toscores.append(float(self.meteor_p.stdout.readline().strip()))
, it comes outValueError: could not convert string to float: b'29.0 50.0 14.0 18.0 5.0 5.0 8.0 8.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 1.0 3.0 4.0 2.0 12.0 18.0 18.0'
, and I use a few short sentences to calculate the Meteor score is calculated, I would like to know if it is caused by an outlier in the report I generated, have you encountered this problem during the experiment?The text was updated successfully, but these errors were encountered: