Visual-Adversarial-Examples-Jailbreak-Large-Language-Models icon indicating copy to clipboard operation
Visual-Adversarial-Examples-Jailbreak-Large-Language-Models copied to clipboard

HFValidator error while running demo.py

Open GnanaRaphaelina opened this issue 2 years ago • 1 comments

Hi! I cloned the vicuna v0 7b repo given in minigpt4 repository and updated the line 16 in minigpt4.yaml file, then I downloaded the minigpt4(vicuna 7b) and updated the path name in line 11 in minigpt4_eval.yaml file. Finally I tried to execute the demo.py command got this HFValidatorError. can you help me out if I have to correct certain things.

WhatsApp Image 2023-12-17 at 19 28 42_23e51c57

GnanaRaphaelina avatar Dec 17 '23 15:12 GnanaRaphaelina

Hi! I cloned the vicuna v0 7b repo given in minigpt4 repository and updated the line 16 in minigpt4.yaml file, then I downloaded the minigpt4(vicuna 7b) and updated the path name in line 11 in minigpt4_eval.yaml file. Finally I tried to execute the demo.py command got this HFValidatorError. can you help me out if I have to correct certain things.

WhatsApp Image 2023-12-17 at 19 28 42_23e51c57

This may be due to network issues!You can use fllows code in python file:

import os
os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com'

xlnn avatar Aug 10 '24 03:08 xlnn