darkproger commited on
Commit
1c8f137
1 Parent(s): 891b7ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ with st.echo():
18
  ukr_num_tokens = dataset.map(lambda x: {'num_tokens':len(tokenizer(x['sentence_ukr_Cyrl'])['input_ids'])})['num_tokens']
19
 
20
  with st.sidebar:
21
- fig, (axl, axr) = plt.subplots(2, 1, figsize=(3,5))
22
  axl.hist(eng_num_tokens)
23
  axl.set_title(f'eng mistral tokens ({np.sum(eng_num_tokens)} total)')
24
  axr.hist(ukr_num_tokens)
 
18
  ukr_num_tokens = dataset.map(lambda x: {'num_tokens':len(tokenizer(x['sentence_ukr_Cyrl'])['input_ids'])})['num_tokens']
19
 
20
  with st.sidebar:
21
+ fig, (axl, axr) = plt.subplots(2, 1, figsize=(3,6))
22
  axl.hist(eng_num_tokens)
23
  axl.set_title(f'eng mistral tokens ({np.sum(eng_num_tokens)} total)')
24
  axr.hist(ukr_num_tokens)