Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -251,7 +251,7 @@ print("Output:\n" )
|
|
| 251 |
########################################
|
| 252 |
#mit der predict Funktion
|
| 253 |
print("Predict") ['\n[|Human|]Was ist TIS?\n[|AI|]']
|
| 254 |
-
antwort = predict(model_neu, tokenizer, device_neu, prompt, [['|Human|']
|
| 255 |
temperature=0.8,
|
| 256 |
max_length_tokens=1024,
|
| 257 |
max_context_length_tokens=2048,)
|
|
|
|
| 251 |
########################################
|
| 252 |
#mit der predict Funktion
|
| 253 |
print("Predict") ['\n[|Human|]Was ist TIS?\n[|AI|]']
|
| 254 |
+
antwort = predict(model_neu, tokenizer, device_neu, prompt, [['|Human|']['|AI|]'], top_p=5,
|
| 255 |
temperature=0.8,
|
| 256 |
max_length_tokens=1024,
|
| 257 |
max_context_length_tokens=2048,)
|