{"id":14036962,"url":"https://github.com/rowanz/hellaswag","last_synced_at":"2025-07-27T04:33:34.519Z","repository":{"id":44424365,"uuid":"188496281","full_name":"rowanz/hellaswag","owner":"rowanz","description":"HellaSwag: Can a Machine _Really_ Finish Your Sentence?","archived":false,"fork":false,"pushed_at":"2020-05-28T13:28:02.000Z","size":18118,"stargazers_count":171,"open_issues_count":5,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-13T03:06:22.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rowanzellers.com/hellaswag","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rowanz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-24T22:51:58.000Z","updated_at":"2024-08-13T02:40:39.000Z","dependencies_parsed_at":"2022-09-01T13:41:17.991Z","dependency_job_id":null,"html_url":"https://github.com/rowanz/hellaswag","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowanz%2Fhellaswag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowanz%2Fhellaswag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowanz%2Fhellaswag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rowanz%2Fhellaswag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rowanz","download_url":"https://codeload.github.com/rowanz/hellaswag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227762373,"owners_count":17816015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-08-12T03:02:21.822Z","updated_at":"2024-12-02T16:31:26.708Z","avatar_url":"https://github.com/rowanz.png","language":"Python","readme":"# hellaswag\nHellaSwag: Can a Machine _Really_ Finish Your Sentence?\n\nThis repo contains code and data for HellaSwag. If you like this paper, please cite us:\n\n```\n@inproceedings{zellers2019hellaswag,\n    title={HellaSwag: Can a Machine Really Finish Your Sentence?},\n    author={Zellers, Rowan and Holtzman, Ari and Bisk, Yonatan and Farhadi, Ali and Choi, Yejin},\n    booktitle ={Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},\n    year={2019}\n}\n```\n\n## What this repo contains\n\n* The HellaSwag dataset, in `data/`\n* Code for Adversarial Filtering, in `adversarial_filtering/`\n* Models for HellaSwag, in `hellaswag_models/`\n\n## Getting the environment set up\n\nI used tensorflow and TPUs for this project. My recommendation is to use `ctpu` to start up a VM with access to a `v3-8` TPU. Then, use the following command to install dependencies:\n```\ncurl -o ~/miniconda.sh -O  https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh  \u0026\u0026 \\\n     chmod +x ~/miniconda.sh \u0026\u0026 \\\n     ~/miniconda.sh -b -p ~/conda \u0026\u0026 \\\n     rm ~/miniconda.sh \u0026\u0026 \\\n     ~/conda/bin/conda install -y python=3.6 tqdm numpy pyyaml scipy ipython mkl mkl-include cython typing h5py pandas \u0026\u0026 ~/conda/bin/conda clean -ya\n     \necho 'export PATH=~/conda/bin:$PATH' \u003e\u003e~/.bashrc\nsource ~/.bashrc\npip install \"tensorflow==1.12.0\"\npip install --upgrade google-api-python-client oauth2client\n```","funding_links":[],"categories":["Python","Anthropomorphic-Taxonomy","Benchmark","SDK, Libraries, Frameworks"],"sub_categories":["Typical Intelligence Quotient (IQ)-General Intelligence evaluation benchmarks","English","Python library, sdk or frameworks"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frowanz%2Fhellaswag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frowanz%2Fhellaswag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frowanz%2Fhellaswag/lists"}