Comment by CamperBob2

Comment by CamperBob2 2 days ago

6 replies

Add a Hugging Face Token in get_checkpoints.py before running the script.

Can you be a bit more specific here? It's not clear what such a token is, what it takes to get one, or where it would be placed in get_checkpoints.py.

einsteinx2 2 days ago

> what such a token is

An API token from Hugging Face

> what it takes to get one

You generate them in your Hugging Face account

> where it would be placed in get_checkpoints.py.

Line 59 in the empty quotes where it says token = “”

  • CamperBob2 2 days ago

    Ah, I see it now, thanks.

    That's the kind of thing that, stylistically speaking, it's good to define at the very top of the module.

    • einsteinx2 2 days ago

      Agreed. I’m not part of the project I just saw your comment and figured I’d try and help.

  • Dwedit 2 days ago

    Leaving off the "API" part from "API Token" causes confusion, since AI models tokenize all text into "tokens" before running the model. It's using the same word to describe two very different things.

    • einsteinx2 2 days ago

      Yep totally. Fwiw I’m not part of the project I just saw the comment and figured I’d try and help.