3 ms·
Why is GitHub search so terrible?
It's worse than useless, since it's actively misleading.
A basic, straightforward, exact match search finds nothing: https://github.com/huggingface/transformers/search?q=TFGPT2LMHeadModel
And yet, here it is: https://github.com/huggingface/transformers/blob/4d0ea3d2692ccf2e7f091031fedb1ed8a366ddd2/src/transformers/models/gpt2/modeling_tf_gpt2.py#L814
I saw another thread where they tried to justify not indexing forks, but in this case, this is not a fork; it's one of the most-starred repositories on the entire site.
- frankjr 3y agoIt's returning the correct results for me (or at least the line you posted is the very first search result). Who knows what's happening behind the scenes. You might want to try using Sourcegraph instead. https://sourcegraph.com/search?q=repo%3Ahuggingface%2Ftransformers+TFGPT2LMHeadModel&patternType=standard&sm=1&groupBy=repo https://sourcegraph.com/search?q=repo%3Ahuggingface%2Ftransf...
- d23 3y agoWeird, I still get no results, even if I search incognito.