Unverified Commit 66954ea2 authored by condor-cp's avatar condor-cp Committed by GitHub
Browse files

Update masked_language_modeling.md (#24560)

See https://github.com/huggingface/transformers/issues/24546
parent fd673510
...@@ -168,7 +168,6 @@ You can now use a second preprocessing function to ...@@ -168,7 +168,6 @@ You can now use a second preprocessing function to
... k: [t[i : i + block_size] for i in range(0, total_length, block_size)] ... k: [t[i : i + block_size] for i in range(0, total_length, block_size)]
... for k, t in concatenated_examples.items() ... for k, t in concatenated_examples.items()
... } ... }
... result["labels"] = result["input_ids"].copy()
... return result ... return result
``` ```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment