Hacker GitHub

← All repos

openai/gpt-2

View on GitHub ↗ ★ 25,011 Python archived

Code for the paper "Language Models are Unsupervised Multitask Learners"

39 mentions on Hacker News by 35 people: 5 stories, 34 comments · first 2019-02-14 · latest 2026-05-03

Mentions per year 39 mentions · busiest year 2019 (15)
20082026
  1. …a product recognize that LLMs will not lead to human-equivalent general intelligence. [3] [0] https://github.com/openai/gpt-2 [1] https://en.wikipedia.org/wiki/G%C3%B6del's_incompleteness_th... [2] https://www.cambridge.org/core/journals/th…
  2. …From what I can tell GPT-2 was released in 2019... https://huggingface.co/openai-community/gpt2 https://github.com/openai/gpt-2/blob/master/model_card.md
  3. curl -sL https://github.com/openai/gpt-2 | grep -iE 'Star |stars' This still shows star data, so I feel like this is probably a bug.
  4. ▲ 2
    OpenAI/GPT-2
    story by olalonde · 2025-05-13 · 0 comments
  5. …on a Transformer is quite short. How short depends on how you count the `import` statements in https://github.com/openai/gpt-2/blob/master/src/model.py and https://github.com/openai/gpt-2/blob/master/src/sample.py etc. Spreadsheets…
  6. …the highest but the point is each byte is mapped to another printable unicode character. See https://github.com/openai/gpt-2/blob/9b63575ef42771a015060c9... And the actual list of characters: https://github.com/rbitr/llm.f90/blob/dev/phi2/p…
    comment by andy99 · 2024-03-17 · in Parsing URLs in Python
  7. …put on arXiv https://arxiv.org/abs/1810.03993 2019: Major ML organizations start using model cards https://github.com/openai/gpt-2/blob/master/model_card.md 2020: Model cards become fairly standard https://blog.research.google/2020/07/intro…
    comment by nsagent · 2023-12-27 · in Will scaling work?
  8. https://github.com/openai/gpt-2
  9. …few) open models from OpenAI, you can just run it locally, why would you use their API for this? https://github.com/openai/gpt-2
  10. …eg: GPT-2: paper https://d4mucfpksywv.cloudfront.net/better-language-models/l... with code: https://github.com/openai/gpt-2 , output dataset https://github.com/openai/gpt-2-output-dataset and a bunch of blog posts with all manner of…
  11. …document [0] that describes the training data for GPT-2 makes this assertion hilarious to me. [0]: https://github.com/openai/gpt-2/blob/master/model_card.md#da...
    comment by mcculley · 2023-05-22 · in Don Knuth plays with ChatGPT
  12. You can find GPT-2's training dataset list - at a high level - in the GPT-2 repository on Github: https://github.com/openai/gpt-2/blob/master/model_card.md#da... However, OpenAI goes dark after that regarding the 'data soup' that was fed…
    comment by lobstersammich · 2023-05-20 · in Don Knuth plays with ChatGPT
  13. …2019, predating the first press for GPT-2 by a few days (was probably made public Feb 14 though) - https://github.com/openai/gpt-2/commit/c2dae27c1029770cea409... May 28 2020, timed alongside the press news for GPT-3 -…
    comment by eganist · 2022-04-06 · in Dall-E 2
  14. …That's probably not going to be the case. For example, take a look at the GPT-2 source code https://github.com/openai/gpt-2/blob/master/src/model.py It's only a few hundred lines of code.
  15. The GPT-2 weights were released by OpenAI when GPT-2 was released. ( https://github.com/openai/gpt-2 ) Around that time (since no one else was doing it) I released a wrapper to streamline that code and make it much easier to finetune on…
    comment by minimaxir · 2020-12-27 · in Does GPT-2 Know Your Phone Number?
  16. Unless I'm missing some subtext, yes right here: https://github.com/openai/gpt-2 To quote: > WARNING: Samples are unfiltered and may contain offensive content.
    comment by inquirerofsorts · 2020-10-06 · in Show HN: Chat bot powered by GPT-3
  17. …unrelated one. However, it seems like there is a bug with this re how the nsheppard fork works: https://github.com/openai/gpt-2/issues/222 Even if you're not doing this, you shouldn't be getting gibberish, so you likely have another issue…
  18. …so easily. GPT-2 was trained on TPUs. (There are explicit references to TPUs in the source code: https://github.com/openai/gpt-2/blob/0574c5708b094bfa0b0f6df... ) GPT-3 was trained on a GPU cluster probably because of Microsoft's…
    comment by sillysaurusx · 2020-09-14 · in Nvidia to Acquire Arm for $40B
  19. Agreed re: OpenAI's GPT implementation. It took roughly a year to appreciate how simple it is. https://github.com/openai/gpt-2/blob/0574c5708b094bfa0b0f6df... Especially compared to StyleGAN, BERT, or pretty much anything else. I used to…
    comment by sillysaurusx · 2020-08-17 · in Karpathy's MinGPT
  20. …sabotage with GPT-2 and with GPT-3 they simply didn't open source it. For GPT-2, their repository ( https://github.com/openai/gpt-2 ) is archived. Which is as good as saying that the project is abandoned and will receive no updates. The…
  21. …> We are still considering release of the larger models. Is there something I'm missing? 1. https://github.com/openai/gpt-2
  22. GPT-2 https://openai.com/blog/gpt-2-1-5b-release/ https://talktotransformer.com/ https://github.com/openai/gpt-2 (GPT-2 docker image needs a version tweak to get it working) and BERT: https://github.com/google-research/bert
  23. ▲ 3
    GPT-2's modified MIT License
    story by freedmand · 2020-02-17 · 0 comments
  24. …past the original question. [1] https://github.com/google-research/bert/blob/master/modeling... [2] https://github.com/openai/gpt-2/blob/master/src/model.py#L17...
    comment by Voloskaya · 2020-02-11 · in Turing-NLG: A 17B-parameter language model
  25. Tangent rant. I'm skimming over some of the code at https://github.com/openai/gpt-2/blob/master/src/model.py and I can't help but feel frustrated at how unreadable this stuff is. 1. Why is it acceptable to have single-letter variable names…
  26. Paper: https://d4mucfpksywv.cloudfront.net/papers/GPT_2_Report.pdf Code: https://github.com/openai/gpt-2
  27. …the usually insightful comments here when compared to other sites. [1] https://xkcd.com/810/ [2] https://github.com/openai/gpt-2
  28. Well it was just a belief. I may be wrong. I asked them by curiosity https://github.com/openai/gpt-2/issues/168 So we will know.
    comment by The_rationalist · 2019-08-20 · in GPT-2: 6-Month Follow-Up
  29. ▲ 2
    OpenAI Mothballs GPT2 Repository
    story by victor9000 · 2019-07-28 · 0 comments
  30. Using this in conjunction with GPT-2 ( https://github.com/openai/gpt-2 ) to make full stories out of these sentences should be fun. Update: It's at least "interesting" if not fun; here's a story generated from the 2019 winner using the…
    comment by johnhenry · 2019-07-15 · in The Lyttle Lytton Contest
  31. You can, see: https://github.com/openai/gpt-2/blob/master/DEVELOPERS.md . But this is for a smaller version of GPT-2 (~400M parameters). Since the bigger model (2B parameters) was deemed too dangerous by OpenAI.
    comment by Voloskaya · 2019-05-12 · in The AI That's Too Dangerous to Release
  32. …just to have an idea) Also, would be interesting to see how it compares to the recent GPT-2 ( https://github.com/openai/gpt-2 )
  33. How does this compare to the gpt by openai https://github.com/openai/gpt-2 ?
    comment by ganeshkrishnan · 2019-03-15 · in Show HN: This Question Does Not Exist
  34. …internet text. They probably read a lot of embarrassing text they didn't share, imagine that. 0. https://github.com/openai/gpt-2/
  35. The code is out ( https://github.com/openai/gpt-2 ), just not the larger model itself.
  36. ▲ 2
    Gpt-2: Code for the Paper “Language Models Are Unsupervised Multitask Learners”
    story by theBashShell · 2019-02-19 · 0 comments
  37. It's beautiful that the reduced model itself is only 175 lines of Python code, thanks to TensorFlow : https://github.com/openai/gpt-2/blob/master/src/model.py
  38. ▲ 2
    OpenAI's GPT-2
    story by harshgupta · 2019-02-17 · 0 comments
  39. Thank you! We've released 500 random unconditional samples from GPT-2 at https://github.com/openai/gpt-2/blob/master/gpt2-samples.txt
    comment by wuthefwasthat · 2019-02-14 · in Better Language Models and Their Implications