Varun Wadhwa commited on
Commit
933c489
·
unverified ·
1 Parent(s): ad234fc
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -100,10 +100,9 @@ def tokenize_function(examples):
100
  for _, labels in enumerate(examples['mbert_token_classes']):
101
  new_labels.append(align_labels_with_tokens(labels))
102
  print("Printing partial input with tokenized output")
103
- print(inputs[:100])
104
- print(inputs.tokens()[:100])
105
- print(inputs[:100].word_ids()[:100])
106
- print(new_labels[:100])
107
  inputs["labels"] = new_labels
108
  return inputs
109
 
 
100
  for _, labels in enumerate(examples['mbert_token_classes']):
101
  new_labels.append(align_labels_with_tokens(labels))
102
  print("Printing partial input with tokenized output")
103
+ print(inputs.tokens()[:1000])
104
+ print(inputs.word_ids()[:1000])
105
+ print(new_labels[:1000])
 
106
  inputs["labels"] = new_labels
107
  return inputs
108