{"id":127977,"name":null,"description":"A comprehensive template for aligning large language models (LLMs) using Reinforcement Learning from Human Feedback (RLHF), transfer learning, and more. Build your own customizable LLM alignment solution with ease.","url":"https://github.com/astorfi/llm-alignment-project","last_synced_at":"2025-09-09T10:48:52.387Z","repository":{"id":264305408,"uuid":"892955085","full_name":"astorfi/LLM-Alignment-Project","owner":"astorfi","description":"A comprehensive template for aligning large language models (LLMs) using Reinforcement Learning from Human Feedback (RLHF), transfer learning, and more. Build your own customizable LLM alignment solution with ease.","archived":false,"fork":false,"pushed_at":"2024-12-15T05:25:50.000Z","size":634,"stargazers_count":33,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-28T16:59:24.601Z","etag":null,"topics":["ai","alignment","deep-learning","generative-ai","large-language-models","llms","machine-learning","rlhf","template"],"latest_commit_sha":null,"homepage":"","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/astorfi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-23T06:16:56.000Z","updated_at":"2025-05-18T18:16:38.000Z","dependencies_parsed_at":"2024-11-27T06:32:02.323Z","dependency_job_id":null,"html_url":"https://github.com/astorfi/LLM-Alignment-Project","commit_stats":null,"previous_names":["astorfi/llm-alignment-template","astorfi/llm-alignment-project-template","astorfi/llm-alignment-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/astorfi/LLM-Alignment-Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astorfi%2FLLM-Alignment-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astorfi%2FLLM-Alignment-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astorfi%2FLLM-Alignment-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astorfi%2FLLM-Alignment-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astorfi","download_url":"https://codeload.github.com/astorfi/LLM-Alignment-Project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astorfi%2FLLM-Alignment-Project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274283244,"owners_count":25256538,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"}},"owner":{"login":"astorfi","name":"Sina Torfi","uuid":"13461059","kind":"user","description":"PhD \u0026 Developer\r\nworking on Deep Learning, Computer Vision \u0026 NLP\r\n","email":"","website":"https://astorfi.github.io/","location":"San Jose","twitter":null,"company":"Meta","icon_url":"https://avatars.githubusercontent.com/u/13461059?u=203ace2dfa7698f66a3b9ffcfc001a68401edf1c\u0026v=4","repositories_count":196,"last_synced_at":"2025-08-28T11:37:22.908Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/astorfi","funding_links":["https://github.com/sponsors/astorfi"],"total_stars":12747,"followers":1211,"following":56,"created_at":"2023-03-04T19:40:13.825Z","updated_at":"2025-08-28T11:37:22.908Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astorfi","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astorfi/repositories"},"packages":[],"commits":{"id":10513281,"full_name":"astorfi/llm-alignment-project","default_branch":"main","committers":[{"name":"sina","email":"amirsina.torfi@gmail.com","login":"astorfi","count":40}],"total_commits":40,"total_committers":1,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":40.0,"dds":0.0,"past_year_committers":[{"name":"sina","email":"amirsina.torfi@gmail.com","login":"astorfi","count":40}],"past_year_total_commits":40,"past_year_total_committers":1,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":40.0,"past_year_dds":0.0,"last_synced_at":"2025-07-22T16:06:31.774Z","last_synced_commit":"9272fc86b605bac72dba92e5c8aaf9d83ad88862","created_at":"2025-07-01T11:09:25.501Z","updated_at":"2025-07-22T16:06:31.774Z","commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/astorfi%2Fllm-alignment-project/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-09T00:17:06.873Z","repositories_count":5516067,"commits_count":863537885,"contributors_count":31674216,"owners_count":916051,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":null,"events":{"total":{"WatchEvent":18,"PushEvent":2,"ForkEvent":2},"last_year":{"WatchEvent":18,"PushEvent":2,"ForkEvent":2}},"keywords":["ai","alignment","deep-learning","generative-ai","large-language-models","llms","machine-learning","rlhf","template"],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/ci.yml","sha":null,"kind":"manifest","created_at":"2024-11-23T11:20:04.701Z","updated_at":"2024-11-23T11:20:04.701Z","repository_link":"https://github.com/astorfi/LLM-Alignment-Project/blob/main/.github/workflows/ci.yml","dependencies":[{"id":20863111277,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":20863111278,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":20863111279,"package_name":"codecov/codecov-action","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/deploy.yml","sha":null,"kind":"manifest","created_at":"2024-11-23T11:20:04.986Z","updated_at":"2024-11-23T11:20:04.986Z","repository_link":"https://github.com/astorfi/LLM-Alignment-Project/blob/main/.github/workflows/deploy.yml","dependencies":[{"id":20863111281,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":20863111282,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":20863111283,"package_name":"docker/setup-buildx-action","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"docker","filepath":"deployment/Dockerfile","sha":null,"kind":"manifest","created_at":"2024-11-23T11:20:05.284Z","updated_at":"2024-11-23T11:20:05.284Z","repository_link":"https://github.com/astorfi/LLM-Alignment-Project/blob/main/deployment/Dockerfile","dependencies":[{"id":20863111305,"package_name":"python","ecosystem":"docker","requirements":"3.9-slim","direct":true,"kind":"build","optional":false}]},{"ecosystem":"docker","filepath":"deployment/docker-compose.yml","sha":null,"kind":"manifest","created_at":"2024-11-23T11:20:05.559Z","updated_at":"2024-11-23T11:20:05.559Z","repository_link":"https://github.com/astorfi/LLM-Alignment-Project/blob/main/deployment/docker-compose.yml","dependencies":[]},{"ecosystem":"docker","filepath":"docker-compose.logging.yml","sha":null,"kind":"manifest","created_at":"2024-11-23T11:20:05.662Z","updated_at":"2024-11-23T11:20:05.662Z","repository_link":"https://github.com/astorfi/LLM-Alignment-Project/blob/main/docker-compose.logging.yml","dependencies":[{"id":20863111307,"package_name":"docker.elastic.co/elasticsearch/elasticsearch","ecosystem":"docker","requirements":"7.10.1","direct":true,"kind":"runtime","optional":false},{"id":20863111308,"package_name":"docker.elastic.co/logstash/logstash","ecosystem":"docker","requirements":"7.10.1","direct":true,"kind":"runtime","optional":false},{"id":20863111311,"package_name":"docker.elastic.co/kibana/kibana","ecosystem":"docker","requirements":"7.10.1","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"dev-requirements.txt","sha":null,"kind":"manifest","created_at":"2024-11-23T11:20:07.291Z","updated_at":"2024-11-23T11:20:07.291Z","repository_link":"https://github.com/astorfi/LLM-Alignment-Project/blob/main/dev-requirements.txt","dependencies":[{"id":20863111329,"package_name":"pylint","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":20863111330,"package_name":"black","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":20863111331,"package_name":"isort","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":20863111332,"package_name":"pytest","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":20863111333,"package_name":"pytest-cov","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":20863111334,"package_name":"unittest2","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":20863111335,"package_name":"pytest-mock","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":20863111336,"package_name":"python-dotenv","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":20863111337,"package_name":"tox","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":20863111342,"package_name":"pre-commit","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":20863111343,"package_name":"bandit","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false}]},{"ecosystem":"pypi","filepath":"pyproject.toml","sha":null,"kind":"manifest","created_at":"2024-11-23T11:20:08.203Z","updated_at":"2024-11-23T11:20:08.203Z","repository_link":"https://github.com/astorfi/LLM-Alignment-Project/blob/main/pyproject.toml","dependencies":[]},{"ecosystem":"pypi","filepath":"requirements.txt","sha":null,"kind":"manifest","created_at":"2024-11-23T11:20:08.247Z","updated_at":"2024-11-23T11:20:08.247Z","repository_link":"https://github.com/astorfi/LLM-Alignment-Project/blob/main/requirements.txt","dependencies":[{"id":20863111857,"package_name":"pandas","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111858,"package_name":"requests","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111859,"package_name":"tqdm","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111860,"package_name":"nltk","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111861,"package_name":"spacy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111862,"package_name":"pyspellchecker","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111889,"package_name":"torch","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111890,"package_name":"numpy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111891,"package_name":"ray","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111896,"package_name":"gym","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111897,"package_name":"bert-score","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111910,"package_name":"rouge-score","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111911,"package_name":"shap","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111918,"package_name":"dowhy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111920,"package_name":"fastapi","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111921,"package_name":"uvicorn","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111922,"package_name":"backoff","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":20863111923,"package_name":"beautifulsoup4","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"setup.py","sha":null,"kind":"manifest","created_at":"2024-11-23T11:20:10.193Z","updated_at":"2024-11-23T11:20:10.193Z","repository_link":"https://github.com/astorfi/LLM-Alignment-Project/blob/main/setup.py","dependencies":[{"id":20863111924,"package_name":"transformers","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"conda","filepath":"environment.yml","sha":null,"kind":"manifest","created_at":"2024-11-27T06:32:01.859Z","updated_at":"2024-11-27T06:32:01.859Z","repository_link":"https://github.com/astorfi/LLM-Alignment-Project/blob/main/environment.yml","dependencies":[{"id":20921323990,"package_name":"pip","ecosystem":"conda","requirements":"","direct":true,"kind":"runtime","optional":false},{"id":20921323991,"package_name":"python","ecosystem":"conda","requirements":"3.8.*","direct":true,"kind":"runtime","optional":false}]}],"score":3.4965075614664802,"created_at":"2025-09-08T23:29:21.581Z","updated_at":"2025-10-07T08:34:17.522Z","avatar_url":"https://github.com/astorfi.png","language":"Python","category":null,"sub_category":null,"monthly_downloads":0,"funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":[],"project_url":"https://science.ecosyste.ms/api/v1/projects/127977","html_url":"https://science.ecosyste.ms/projects/127977"}