Ver código fonte

Add a new preset

oobabooga 3 anos atrás
pai
commit
89fb0a13c5
2 arquivos alterados com 7 adições e 3 exclusões
  1. 2 3
      presets/Default.txt
  2. 5 0
      presets/Naive.txt

+ 2 - 3
presets/Default.txt

@@ -1,5 +1,4 @@
 do_sample=True,
 max_new_tokens=max_length,
-top_p=1,
-typical_p=0.3,
-temperature=temperature, 
+top_k=100,
+top_p=0.9,

+ 5 - 0
presets/Naive.txt

@@ -0,0 +1,5 @@
+do_sample=True,
+max_new_tokens=max_length,
+top_p=1,
+typical_p=0.3,
+temperature=temperature,