Does the DataCollatorForLanguageModelling class mask statically or dynamically?

This page summarizes the projects mentioned and recommended in the original post on /r/LanguageTechnology

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • transformers

    🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.

  • So I have been working closely with DataCollators, and I am unable to understand whether or not the DataCollatorForLanguageModelling class masks statically or dynamically. For reference, here is the code%20%2D%3E%20Tuple%5BAny%2C%20Any%5D%3A) for the aforementioned class. As per my understanding so far, I find it to be a simple static masking, but this issue posted on the repo says otherwise. If someone has any experience regarding this, please do help out, and if it is indeed static masking, how does one go about implementing dynamic masking?

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts