# ELECTRA Paper Doubts

**URL:** <https://discuss.huggingface.co/t/electra-paper-doubts/54063>\
**Category:** Research\
**Created:** [September 8, 2023, 7:41am UTC](https://discuss.huggingface.co/t/electra-paper-doubts/54063 "2023-09-08T07:41:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srinjoy](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@Srinjoy](https://discuss.huggingface.co/u/Srinjoy)\
**Post date:** [September 8, 2023, 7:41am UTC](https://discuss.huggingface.co/t/electra-paper-doubts/54063/1 "2023-09-08T07:41:02Z")

</div>

Hello Everyone,  
I am Srinjoy, a master’s student currently studying NLP. I was reading the ELECTRA paper by Clark et al. I learned about the implementation and had a few doubts.

I was wondering if you could help me with those.

1. What exactly does the “Step” mean in step count? Does it mean 1 epoch or 1 minibatch?
2. 
  1. Also, in the paper I saw (specifically in Table 1), ELECTRA-SMALL and BERT-SMALL both have 14M parameters, how is that possible as ELECTRA should have more parameters because its generator and discriminator module are both BERT-based?

3. Also, what is the architecture of both the generator and discriminator? Are they both BERT to something else?
4. Also, we have a sampling step between the generator and the discriminator. How are you back-propagating the gradients through this?

Thanks in advance
