cakiki commited on
Commit
67fe836
Β·
1 Parent(s): 5131ece

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoTokenizer
4
 
5
  st.set_page_config(page_title="BigCode Tokenizer", page_icon='πŸ‘©β€πŸ’»', layout="wide")
6
 
7
- tokenizer = AutoTokenizer.from_pretrained('bigcode/tokenizer', subfolder="digit-punctuation-bytelevel-bpe-py-js-java-50k")
8
  visualizer = EncodingVisualizer(tokenizer=tokenizer._tokenizer, default_to_notebook=False)
9
 
10
  text = st.text_area(label="", placeholder="Text to tokenize")
 
4
 
5
  st.set_page_config(page_title="BigCode Tokenizer", page_icon='πŸ‘©β€πŸ’»', layout="wide")
6
 
7
+ tokenizer = AutoTokenizer.from_pretrained('bigcode/tokenizer', subfolder="digit-custom_punctuation-bytelevel-bpe-py-js-java-50k")
8
  visualizer = EncodingVisualizer(tokenizer=tokenizer._tokenizer, default_to_notebook=False)
9
 
10
  text = st.text_area(label="", placeholder="Text to tokenize")