Skip to content
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

The problems appeared in colab #1

Open
XavierWww opened this issue Jan 20, 2021 · 1 comment
Open

The problems appeared in colab #1

XavierWww opened this issue Jan 20, 2021 · 1 comment

Comments

@XavierWww
Copy link

I use colab to run code but appear the following error, how could I solve them?

P1: When use "!conda env create -f multi-qg.yml" to create conda environment
Pip subprocess error:
ERROR: Could not find a version that satisfies the requirement answerability-metric==1.0 (from -r /content/drive/My Drive/MulQG-main/condaenv.i5nwfft4.requirements.txt (line 1)) (from versions: none)
ERROR: No matching distribution found for answerability-metric==1.0 (from -r /content/drive/My Drive/MulQG-main/condaenv.i5nwfft4.requirements.txt (line 1))failed

CondaEnvException: Pip failed

P2: When run "!python process_hotpot.py"
Traceback (most recent call last):
File "process_hotpot.py", line 13, in
from data_util import make_embedding, make_conll_format, make_vocab, convert_idx
ModuleNotFoundError: No module named 'data_utils'

@Iamfinethanksu
Copy link
Member

Iamfinethanksu commented Jan 21, 2021

We have updated our github https://github.com/HLTCHKUST/MulQG and you can check the newest version of codes and also a more detailed README.

For your specific questions:

A1: The answerability-metric is from https://github.com/PrekshaNema25/Answerability-Metric, you don't need to install it from the conda env yml file, just delete it. (sorry for the trouble), and if you need to measure then follow the instructions on our README or the github page, should be fine.

A2: Yeah, I forgot to upload the data_utils.py file to our git, now it is there, please check.

You can also directly download our checkpoint model and preprocessed data as indicated in the README file.

Thank you~.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants