PrithivirajDamodaran / Parrot_Paraphraser

A practical and feature-rich paraphrasing framework to augment human intents in text form to build robust NLU models for conversational engines. Created by Prithiviraj Damodaran. Open to pull requests and other forms of collaboration.
Apache License 2.0
866 stars 141 forks source link

Unable to connect offline #63

Open BenJCross1995 opened 1 month ago

BenJCross1995 commented 1 month ago

I have cloned the repo and when initialising the Parrot object, I have pointed model_tag to the folder but I'm getting the error 'Incorrect path_or_model_id: . Please provide either the path to a local folder or the repo_id of a model on the Hub.'

This is the full error message: OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like prithivida/parrot_adequacy_model is not the path to a directory containing a file named config.json. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

The file path is correct, do you have any ideas?