title: AttributeError: module transformers has no attribute TFGPTNeoForCausalLM
body: <p>I cloned this repository/documentation <a href="https://huggingface.co/EleutherAI/gpt-neo-125M" rel="nofollow noreferrer">https://huggingface.co/EleutherAI/gpt-neo-125M</a></p>
  <p>I get the below error whether I run it on google collab or locally. I also installed transformers using this</p>
  <pre><code>pip install git+https://github.com/huggingface/transformers
  </code></pre>
  <p>and made sure the configuration file is named as config.json</p>
  <pre><code>      5 tokenizer = AutoTokenizer.from_pretrained(&quot;gpt-neo-125M/&quot;,from_tf=True)
  ----&gt; 6 model = AutoModelForCausalLM.from_pretrained(&quot;gpt-neo-125M&quot;,from_tf=True)
        7 
        8 
  
  3 frames
  /usr/local/lib/python3.7/dist-packages/transformers/file_utils.py in __getattr__(self, name)
  
  AttributeError: module transformers has no attribute TFGPTNeoForCausalLM
  
  </code></pre>
  <p>Full code:</p>
  <pre><code>from transformers import AutoTokenizer, AutoModelForCausalLM 
  
  tokenizer = AutoTokenizer.from_pretrained(&quot;EleutherAI/gpt-neo-125M&quot;,from_tf=True)
  
  model = AutoModelForCausalLM.from_pretrained(&quot;EleutherAI/gpt-neo-125M&quot;,from_tf=True)
  
  </code></pre>
  <p>transformers-cli env results:</p>
  <ul>
  <li><code>transformers</code> version: 4.10.0.dev0</li>
  <li>Platform: Linux-4.4.0-19041-Microsoft-x86_64-with-glibc2.29</li>
  <li>Python version: 3.8.5</li>
  <li>PyTorch version (GPU?): 1.9.0+cpu (False)</li>
  <li>Tensorflow version (GPU?): 2.5.0 (False)</li>
  <li>Flax version (CPU?/GPU?/TPU?): not installed (NA)</li>
  <li>Jax version: not installed</li>
  <li>JaxLib version: not installed</li>
  <li>Using GPU in script?: </li>
  <li>Using distributed or parallel set-up in script?: </li>
  </ul>
  <p>Both collab and locally have TensorFlow 2.5.0 version</p>