dspy icon indicating copy to clipboard operation
dspy copied to clipboard

hf models can use auth tokens now

Open mgbvox opened this issue 11 months ago • 0 comments

Access to gated HF models previously was not supported by dspy.HFModels. This is now supported - just pass in token= or load it into the env var HF_TOKEN (e.g. via dotenv.load_dotenv()).

mgbvox avatar Mar 08 '24 17:03 mgbvox