Leonard Püttmann commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -35,7 +35,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_name, add_bos_token=True, trust_
|
|
| 35 |
|
| 36 |
|
| 37 |
pipe = pipeline(
|
| 38 |
-
"text-generation",
|
| 39 |
model=model,
|
| 40 |
tokenizer=tokenizer,
|
| 41 |
)
|
|
|
|
| 35 |
|
| 36 |
|
| 37 |
pipe = pipeline(
|
| 38 |
+
"text-generation", # Don't use "translation" as this model is technically still decoder only meant for generating text
|
| 39 |
model=model,
|
| 40 |
tokenizer=tokenizer,
|
| 41 |
)
|