gokceuludogan commited on
Commit
2d499a5
1 Parent(s): bdfbd56

fix params

Browse files
Files changed (1) hide show
  1. pages/2_✨_ChemBERTaLM.py +5 -5
pages/2_✨_ChemBERTaLM.py CHANGED
@@ -51,11 +51,11 @@ def chembertalm_demo():
51
  # value=0.95,
52
  # help=" If set to float < 1, only the most probable tokens with probabilities that add up to top_p or higher are kept for generation.",
53
  # )
54
- do_sample = st.sidebar.selectbox(
55
- "Sampling?",
56
- (True, False),
57
- help="Whether or not to use sampling; use beam decoding otherwise.",
58
- )
59
  # num_beams = st.sidebar.number_input(
60
  # "Number of beams",
61
  # min_value=0,
 
51
  # value=0.95,
52
  # help=" If set to float < 1, only the most probable tokens with probabilities that add up to top_p or higher are kept for generation.",
53
  # )
54
+ do_sample = True # st.sidebar.selectbox(
55
+ # "Sampling?",
56
+ # (True, False),
57
+ # help="Whether or not to use sampling; use beam decoding otherwise.",
58
+ # )
59
  # num_beams = st.sidebar.number_input(
60
  # "Number of beams",
61
  # min_value=0,