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

evaluate HOWTO directs to Space instructions, which fail. #214

Closed
meg-huggingface opened this issue Jul 27, 2022 · 4 comments
Closed

evaluate HOWTO directs to Space instructions, which fail. #214

meg-huggingface opened this issue Jul 27, 2022 · 4 comments

Comments

@meg-huggingface
Copy link
Contributor

Following the instructions from evaluate, and help from the previous issues I filed, I now have a https://huggingface.co/spaces/meg/npmi.
Following the instructions there, I now get the following error.
I recognize at this point it becomes a Spaces issue, not an evaluate issue (?), but in the meantime the evaluate instructions might be updated:

(.env) bash-3.2$ git add app.py
(.env) bash-3.2$ git commit -m "Add application file"
[main dc918b1] Add application file
1 file changed, 7 insertions(+)
create mode 100644 app.py
(.env) bash-3.2$ git push
Username for 'https://github.com': meg@huggingface.co
Password for 'https://meg@huggingface.co@github.com':
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/huggingface/evaluate.git/'

@lvwerra
Copy link
Member

lvwerra commented Jul 27, 2022

Are you in the subfolder of the created space? it looks like you are trying to push to the evaluate repo.

@meg-huggingface
Copy link
Contributor Author

meg-huggingface commented Jul 27, 2022

Sounds like you are saying that I need to cd .. out of the evaluate repo before interacting with the Space? This is what I had thought, but, I was following the instructions precisely. See:

``evaluate-cli create "My Metric" module_type="metric"
This will create a new Space on the 🤗 Hub, clone it locally, and populate it with a template. Instructions on how to fill the template will be displayed in the terminal, but are also explained here in more detail.''

So now I go to the Space (p.s. -- we should have details on the Space url written here, e.g., https://huggingface.co/spaces/${username}/${metric_name})

But now I go to the Space, and following the directions exactly:

``Start by cloning this repo by using:

git clone https://huggingface.co/spaces/meg/npmi ''

What I'm hearing is that there should be an additional step documented before going to the Space instructions: moving out of the evaluate directory (or something like this?)

@lvwerra
Copy link
Member

lvwerra commented Jul 27, 2022

Wherever you execute the CLI command it will create a folder with the cloned space. You need to cd into that folder before git adding the files.

@meg-huggingface
Copy link
Contributor Author

Right, I forgot! The issue is that when you go the Space, it gives more instructions -- which you should not follow. Perhaps a parenthetical in the evaluate instructions I highlighted "(if you go to the Space right now, it will have separate instructions -- ignore those, we have it covered in the steps here!)"

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