Marcus Posey commited on
Commit
c838f7c
·
1 Parent(s): 8b342f5

Add tokenizer

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -24,6 +24,7 @@ if __name__ == "__main__":
24
  tokenizer="meta-llama/Meta-Llama-3-8B",
25
  device="cuda"
26
  )
 
27
  sampling_params = SamplingParams(
28
  temperature=0.1,
29
  max_tokens=500,
 
24
  tokenizer="meta-llama/Meta-Llama-3-8B",
25
  device="cuda"
26
  )
27
+ tokenizer = model.get_tokenizer()
28
  sampling_params = SamplingParams(
29
  temperature=0.1,
30
  max_tokens=500,