BounharAbdelaziz
commited on
Commit
•
5572d47
1
Parent(s):
7120405
Update README.md
Browse files
README.md
CHANGED
@@ -60,7 +60,7 @@ input_text = "Your english text goes here."
|
|
60 |
# Tokenize the input text
|
61 |
input_tokens = tokenizer(input_text, return_tensors="pt", padding=True, truncation=True)
|
62 |
|
63 |
-
# Perform
|
64 |
output_tokens = model.generate(**input_tokens)
|
65 |
|
66 |
# Decode the output tokens
|
|
|
60 |
# Tokenize the input text
|
61 |
input_tokens = tokenizer(input_text, return_tensors="pt", padding=True, truncation=True)
|
62 |
|
63 |
+
# Perform translation
|
64 |
output_tokens = model.generate(**input_tokens)
|
65 |
|
66 |
# Decode the output tokens
|