Update README.md
Browse files
README.md
CHANGED
@@ -108,7 +108,7 @@ test_text = (
|
|
108 |
)
|
109 |
|
110 |
inputs = tokenizer(test_text, return_tensors="pt", return_offsets_mapping=True)
|
111 |
-
|
112 |
offset_mapping = inputs.pop("offset_mapping")
|
113 |
|
114 |
with torch.no_grad():
|
|
|
108 |
)
|
109 |
|
110 |
inputs = tokenizer(test_text, return_tensors="pt", return_offsets_mapping=True)
|
111 |
+
|
112 |
offset_mapping = inputs.pop("offset_mapping")
|
113 |
|
114 |
with torch.no_grad():
|