{"id":28934073,"url":"https://github.com/adminixtrator/readme","last_synced_at":"2026-02-13T07:38:57.655Z","repository":{"id":116139690,"uuid":"240120453","full_name":"Adminixtrator/READme","owner":"Adminixtrator","description":"Practice Repository - The art of writing README","archived":false,"fork":false,"pushed_at":"2020-02-15T11:49:13.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-03T19:51:35.482Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Adminixtrator.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-02-12T21:37:03.000Z","updated_at":"2020-08-18T00:07:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ba64449-951b-42d6-be63-1de1a3aec43f","html_url":"https://github.com/Adminixtrator/READme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Adminixtrator/READme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adminixtrator%2FREADme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adminixtrator%2FREADme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adminixtrator%2FREADme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adminixtrator%2FREADme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Adminixtrator","download_url":"https://codeload.github.com/Adminixtrator/READme/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adminixtrator%2FREADme/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29398843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-22T18:39:37.543Z","updated_at":"2026-02-13T07:38:57.648Z","avatar_url":"https://github.com/Adminixtrator.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 color=\"green\"\u003egpt-2\u003c/h1\u003e\n\nStatus: [![Status](https://img.shields.io/badge/Updates-Completed-skirretgreen)](https://github.com/openai/gpt-2) \n\n-------------------------\n\n**GPT-2** - *a Transformer-based language model and a successor to GPT* - has shown unprecedented performance in language modeling, primarily due to its over an order of magnitude more parameters. While GPT-2’s performance on QA with no task-specific training is embryonic, it indicates that an unsupervised language model could contribute to their performance through fine-tuning.\n\n-   This repo includes an experiment of fine-tuning GPT-2 345M for Question Answering _(QA)_. It also runs the model on Stanford Question Answering Dataset 2.0 _(SQuAD)_.\n\n------------------------------------------------------------------------\n\n## :page_with_curl: _Testing_\n\n**1.** Open your terminal and clone this repository somewhere \n\n```shell    \n$ git clone https://github.com.Adminixtrator/gpt-2.git\n```\n**2.** Download the 345M model\n\n```shell\n# from gpt-2 directory\n$ !python3 download_model.py 345M\n$ !export PYTHONIOENCODING=UTF-8\n```\n**3.** Changing directory\n\n```python\nimport os\nos.chdir('src')  #You must be in gpt-2\n```\n**4.** Install regex \n\n```shell\n$ pip install regex\n```\n**5** Run the model\n\n```shell\nrun Test_GPT2.py \n```\nSee the [Colab Notebook](https://colab.research.google.com/drive/1LeOsYzxxMXDFiI3CXKgUktGZJ7Bvl2-7#scrollTo=oEQYAQ_8Rv3P) if you seem to have issues with testing and working with SQuAD.\n\n**_Happy Developing!_**\n\n-------------------------------------------------------\n\n## Challenges faced\n\nMajor issue was the fine-tuning of the model with **BERT** on the Stanford Question answering Dataset _(SQuAD)_ as most of the online sources had no sample to use for understanding what goes on in the fine-tunning. \n\n## Requirements\n\n```python\nfire\u003e=0.1.3 # Fire \nregex==2017.4.5 # For OpenAI GPT\nrequests==2.21.0    # Used for downloading models over HTTP \ntqdm==4.31.1    # progress bars in model download and training scripts\ntorch\u003e=0.4.1    # PyTorch\nboto3   # Accessing files from S3 directly.\n```\n\n**REFERENCE** - [SQuAD](https://github.com/aswalin/SQuAD)\n\n--------------------------------------------\n## Credentials\n\n### License: [![Status](https://img.shields.io/badge/MIT-Approved-blue)](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadminixtrator%2Freadme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadminixtrator%2Freadme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadminixtrator%2Freadme/lists"}