Spaces:
Sleeping
Sleeping
Varun Wadhwa
commited on
Logs
Browse files
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[:
|
104 |
-
print(inputs.
|
105 |
-
print(
|
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 |
|