Tomtom84 commited on
Commit
95e254f
·
verified ·
1 Parent(s): 06a62cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -251,7 +251,7 @@ async def load_models_startup():
251
  print(f"Model Config EOS ID: {model.config.eos_token_id}")
252
  print(f"Constant EOS_TOKEN: {EOS_TOKEN}")
253
  if tok.eos_token_id != EOS_TOKEN or model.config.eos_token_id != EOS_TOKEN:
254
- print("⚠️ WARNING: EOS_TOKEN constant might not match model/tokenizer configuration!")
255
  # Consider updating EOS_TOKEN if they differ, e.g.:
256
  # EOS_TOKEN = model.config.eos_token_id
257
 
 
251
  print(f"Model Config EOS ID: {model.config.eos_token_id}")
252
  print(f"Constant EOS_TOKEN: {EOS_TOKEN}")
253
  if tok.eos_token_id != EOS_TOKEN or model.config.eos_token_id != EOS_TOKEN:
254
+ print("⚠️ WARNING: EOS_TOKEN constant might not match model/tokenizer configuration!")
255
  # Consider updating EOS_TOKEN if they differ, e.g.:
256
  # EOS_TOKEN = model.config.eos_token_id
257