{"id":26558128,"url":"https://github.com/simpson-computer-technologies-research/relu_vs_gelu","last_synced_at":"2025-03-22T12:30:53.248Z","repository":{"id":244418197,"uuid":"815185922","full_name":"Simpson-Computer-Technologies-Research/relu_vs_gelu","owner":"Simpson-Computer-Technologies-Research","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-14T19:58:54.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-06-15T16:14:10.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Simpson-Computer-Technologies-Research.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}},"created_at":"2024-06-14T14:35:51.000Z","updated_at":"2024-06-14T19:58:57.000Z","dependencies_parsed_at":"2024-06-14T16:25:21.963Z","dependency_job_id":null,"html_url":"https://github.com/Simpson-Computer-Technologies-Research/relu_vs_gelu","commit_stats":null,"previous_names":["simpson-computer-technologies-research/relu_vs_gelu"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simpson-Computer-Technologies-Research%2Frelu_vs_gelu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simpson-Computer-Technologies-Research%2Frelu_vs_gelu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simpson-Computer-Technologies-Research%2Frelu_vs_gelu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simpson-Computer-Technologies-Research%2Frelu_vs_gelu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Simpson-Computer-Technologies-Research","download_url":"https://codeload.github.com/Simpson-Computer-Technologies-Research/relu_vs_gelu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959409,"owners_count":20538625,"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":"2025-03-22T12:30:52.306Z","updated_at":"2025-03-22T12:30:53.181Z","avatar_url":"https://github.com/Simpson-Computer-Technologies-Research.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReLU vs. GeLU\n\nThere's definitely a pretty significant difference between the two (in the case of my example in `main.py`).\n\nGeLU seems to be relatively more accurate than ReLU, but it's not always the case. It's always good to test out different activation functions to see which one works best for your specific use case.\n\n### Example Output\n\nAn example output from running `main.py`\n\n```\nTest Loss (GeLU): 0.13099078834056854\nTest Loss (ReLU): 0.31609782576560974\nActual: 30.0 | GeLU: 30.32281494140625 | ReLU: 30.15665626525879\nActual: 22.0 | GeLU: 21.602794647216797 | ReLU: 21.220478057861328\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimpson-computer-technologies-research%2Frelu_vs_gelu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimpson-computer-technologies-research%2Frelu_vs_gelu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimpson-computer-technologies-research%2Frelu_vs_gelu/lists"}