mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-08 04:56:45 +00:00
rename model_name_or_path to model in test (#6732)
This commit is contained in:
parent
dbdeb8259e
commit
24c71bd221
@ -184,7 +184,7 @@ class TestHuggingFaceLocalGenerator:
|
||||
|
||||
def test_to_dict_with_quantization_config(self):
|
||||
component = HuggingFaceLocalGenerator(
|
||||
model_name_or_path="gpt2",
|
||||
model="gpt2",
|
||||
task="text-generation",
|
||||
device="cuda:0",
|
||||
token="test-token",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user