max new token
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
pipe = pipeline("text-generation", model="tpzeng/prm800k_llama_joint_checkpoint1000", bad_words_ids=[[128254],[128255]],
|
5 |
|
6 |
gr.Interface.from_pipeline(pipe).launch()
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
pipe = pipeline("text-generation", model="tpzeng/prm800k_llama_joint_checkpoint1000", bad_words_ids=[[128254],[128255]], max_new_tokens = 1024)
|
5 |
|
6 |
gr.Interface.from_pipeline(pipe).launch()
|