Update README.md
Browse files
README.md
CHANGED
@@ -62,16 +62,16 @@ verdadeiras. Responda com detalhes e riquesas de informação
|
|
62 |
<start_of_turn>Me conte sobre o Folclore Nordestino?<end_of_turn>
|
63 |
<start_of_turn>model"""
|
64 |
|
65 |
-
|
66 |
device = "cuda:0"
|
67 |
|
68 |
-
|
69 |
inputs = tokenizer2(text, return_tensors="pt").to(device)
|
70 |
|
71 |
-
|
72 |
outputs = model2.generate(**inputs, max_new_tokens=100, do_sample=False)
|
73 |
|
74 |
-
|
75 |
output = tokenizer2.decode(outputs[0], skip_special_tokens=True, skip_prompt=True)
|
76 |
print(output.replace("model"," "))
|
77 |
|
|
|
62 |
<start_of_turn>Me conte sobre o Folclore Nordestino?<end_of_turn>
|
63 |
<start_of_turn>model"""
|
64 |
|
65 |
+
|
66 |
device = "cuda:0"
|
67 |
|
68 |
+
|
69 |
inputs = tokenizer2(text, return_tensors="pt").to(device)
|
70 |
|
71 |
+
|
72 |
outputs = model2.generate(**inputs, max_new_tokens=100, do_sample=False)
|
73 |
|
74 |
+
|
75 |
output = tokenizer2.decode(outputs[0], skip_special_tokens=True, skip_prompt=True)
|
76 |
print(output.replace("model"," "))
|
77 |
|