Update app.py
Browse files
app.py
CHANGED
@@ -198,7 +198,7 @@ def test():
|
|
198 |
|
199 |
def trans(text):
|
200 |
#test()
|
201 |
-
llama = Llama(
|
202 |
tokens = llama.tokenize(b"translate English to German: The house is wonderful.")
|
203 |
llama.encode(tokens)
|
204 |
tokens = [llama.decoder_start_token()]
|
|
|
198 |
|
199 |
def trans(text):
|
200 |
#test()
|
201 |
+
llama = Llama("models/madlad400-3b-mt-q8_0.gguf")
|
202 |
tokens = llama.tokenize(b"translate English to German: The house is wonderful.")
|
203 |
llama.encode(tokens)
|
204 |
tokens = [llama.decoder_start_token()]
|