Explorar o código

Update the API example

oobabooga %!s(int64=2) %!d(string=hai) anos
pai
achega
457d3c58eb
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      api-example.py

+ 2 - 0
api-example.py

@@ -35,6 +35,8 @@ params = {
     'length_penalty': 1,
     'early_stopping': False,
     'seed': -1,
+    'add_bos_token': True,
+    'custom_stopping_strings': [],
 }
 
 # Input prompt