rus78 commited on
Commit
e406649
·
1 Parent(s): bc5a2f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ llm = Llama(model_path=filename, n_ctx=512, n_batch=126)
26
  def generate_text(prompt="Who is the CEO of Apple?"):
27
  output = llm(
28
  prompt,
29
- max_tokens=2000,
30
- temperature=0.1,
31
  top_p=0.5,
32
  echo=False,
33
  stop=["#"],
 
26
  def generate_text(prompt="Who is the CEO of Apple?"):
27
  output = llm(
28
  prompt,
29
+ max_tokens=1000,
30
+ temperature=0.5,
31
  top_p=0.5,
32
  echo=False,
33
  stop=["#"],