Bitnet test fix to avoid using gated model (#34863)

small test fix
This commit is contained in:
Mohamed Mekkouri 2024-11-22 17:18:49 +01:00 committed by GitHub
parent 286ffaaf0a
commit 54be2d7ae8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ class BitNetTest(unittest.TestCase):
"""
Load the model
"""
cls.tokenizer = AutoTokenizer.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct")
cls.tokenizer = AutoTokenizer.from_pretrained(cls.model_name)
cls.quantized_model = AutoModelForCausalLM.from_pretrained(cls.model_name, device_map=cls.device)
def tearDown(self):