pipeline
Browse files- metadata_transformer.py +1 -1
metadata_transformer.py
CHANGED
@@ -11,7 +11,7 @@ login(token=TOKEN)
|
|
11 |
model = "meta-llama/Llama-2-7b-chat-hf"
|
12 |
|
13 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
14 |
-
pipeline = pipeline(
|
15 |
"text-generation",
|
16 |
model=model,
|
17 |
torch_dtype=torch.float16,
|
|
|
11 |
model = "meta-llama/Llama-2-7b-chat-hf"
|
12 |
|
13 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
14 |
+
pipeline = transformers.pipeline(
|
15 |
"text-generation",
|
16 |
model=model,
|
17 |
torch_dtype=torch.float16,
|