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

Huggingface Authentication Issues probably related to pyannote #498

Open
Dannypeja opened this issue Sep 29, 2023 · 12 comments
Open

Huggingface Authentication Issues probably related to pyannote #498

Dannypeja opened this issue Sep 29, 2023 · 12 comments

Comments

@Dannypeja
Copy link

Are we having this again? Please confirm that I am not stupid.
I have been desperate for 6 hours. I thought it was my fault somehow.
#490
pyannote related issue

I am getting this

Could not download 'pyannote/speaker-diarization-3.0' pipeline.
It might be because the pipeline is private or gated so make
sure to authenticate. Visit https://hf.co/settings/tokens to
create your access token and retry with:

   >>> Pipeline.from_pretrained('pyannote/speaker-diarization-3.0',
   ...                          use_auth_token=YOUR_AUTH_TOKEN)
@Dannypeja
Copy link
Author

Weird. I am only having issues when I use it inside Docker Container. Natively it is fine. Any Ideas?

@kaihe-stori
Copy link
Contributor

kaihe-stori commented Sep 29, 2023

Did you accept terms for the new 3.0 model cards?

If 3.0 isn't working for you (it is slower than 2.1 as discussed #499), then try to go back to 2.1

model = whisperx.DiarizationPipeline(model_name='pyannote/speaker-diarization@2.1', use_auth_token=YOUR_AUTH_TOKEN, device='cuda')

@Dannypeja
Copy link
Author

Dannypeja commented Sep 29, 2023 via email

@Dannypeja
Copy link
Author

Okay not only do I need to accept 3.0 diarization but also segmentation: https://hf.co/pyannote/segmentation-3.0

Wow, a full day just for this.

Yes it seems to be slower. I would still be interested to learn how I can revert to 2.1 using whisperx CLI

@kaihe-stori
Copy link
Contributor

Yes, both segmentation and diarization. You can try my hack in #499 to make 3.0 work fast.

@Dannypeja
Copy link
Author

I'll try it, tanks!
Is 3.0 faster that 2.1? Otherwise I think I'll stay at 2.1 cause it works fine..

@kaihe-stori
Copy link
Contributor

Slightly faster from the limited samples I saw. But I am sticking with 2.1 until no hack is needed for 3.0.

@7k50
Copy link

7k50 commented Oct 18, 2023

Currently readme.md appears to link to the previous segmentation model on Huggingface:

https://huggingface.co/pyannote/segmentation

instead of:

https://huggingface.co/pyannote/segmentation-3.0

@Uzzije
Copy link

Uzzije commented Oct 19, 2023

I believe you have to accept both of these two conditions - https://huggingface.co/pyannote/segmentation-3.0 and https://huggingface.co/pyannote/speaker-diarization-3.0

@freshpearYoon
Copy link

I believe you have to accept both of these two conditions - https://huggingface.co/pyannote/segmentation-3.0 and https://huggingface.co/pyannote/speaker-diarization-3.0

hi, I accepted both , but I am having same problem. Is there anything that I can do more?

@kaihe-stori
Copy link
Contributor

A newer diarization model (3.1) is being used by whisperx. Accept this one instead https://huggingface.co/pyannote/speaker-diarization-3.1

@ZizhuangCui
Copy link

1. visit hf.co/pyannote/speaker-diarization and accept user conditions

2. visit hf.co/pyannote/segmentation and accept user conditions

I currently accept segmentation, segmentation3.0, diarisation3.0, diarizaton3.1 and still have no permissions

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

6 participants