{"id":60001,"name":"d2po","description":"The official PyTorch implementation of the paper \"Earlier Tokens Contribute More: Learning Direct Preference Optimization From Temporal Decay Perspective\".","url":"https://github.com/lotusrc/d2po","last_synced_at":"2025-09-05T15:44:19.694Z","repository":{"id":291822964,"uuid":"935893763","full_name":"LotuSrc/D2PO","owner":"LotuSrc","description":"The official PyTorch implementation of the paper \"Earlier Tokens Contribute More: Learning Direct Preference Optimization From Temporal Decay Perspective\".","archived":false,"fork":false,"pushed_at":"2025-05-06T17:26:59.000Z","size":48659,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T18:36:45.569Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LotuSrc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-20T07:34:28.000Z","updated_at":"2025-05-06T17:27:04.000Z","dependencies_parsed_at":"2025-05-06T18:51:02.556Z","dependency_job_id":null,"html_url":"https://github.com/LotuSrc/D2PO","commit_stats":null,"previous_names":["lotusrc/d2po"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LotuSrc/D2PO","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LotuSrc%2FD2PO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LotuSrc%2FD2PO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LotuSrc%2FD2PO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LotuSrc%2FD2PO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LotuSrc","download_url":"https://codeload.github.com/LotuSrc/D2PO/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LotuSrc%2FD2PO/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273780551,"owners_count":25167030,"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-05T02:00:09.113Z","response_time":402,"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":"LotuSrc","name":null,"uuid":"24475165","kind":"user","description":"","email":"","website":null,"location":"Beijing China","twitter":null,"company":"Meituan","icon_url":"https://avatars.githubusercontent.com/u/24475165?v=4","repositories_count":2,"last_synced_at":"2023-03-05T13:06:24.048Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/LotuSrc","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-03-05T13:06:24.049Z","updated_at":"2023-03-05T13:06:24.049Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LotuSrc","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LotuSrc/repositories"},"packages":[],"commits":{"message":"Repository syncing started."},"issues_stats":{"full_name":"LotuSrc/D2PO","html_url":"https://github.com/LotuSrc/D2PO","last_synced_at":null,"status":null,"issues_count":null,"pull_requests_count":null,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":null,"pull_requests_closed_count":null,"pull_request_authors_count":null,"issue_authors_count":null,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":null,"bot_issues_count":null,"bot_pull_requests_count":null,"past_year_issues_count":null,"past_year_pull_requests_count":null,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":null,"past_year_pull_requests_closed_count":null,"past_year_pull_request_authors_count":null,"past_year_issue_authors_count":null,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":null,"past_year_bot_pull_requests_count":null,"past_year_merged_pull_requests_count":null,"created_at":"2025-08-31T01:32:40.523Z","updated_at":"2025-08-31T01:32:40.523Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/LotuSrc%2FD2PO","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/LotuSrc%2FD2PO/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":1},"pull_request_author_associations_count":{},"issue_authors":{"minhquoc0712":1},"pull_request_authors":{},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-05T00:00:10.444Z","repositories_count":10103789,"issues_count":31523126,"pull_requests_count":97734489,"authors_count":10703676,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"NONE":1},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{"minhquoc0712":1},"past_year_pull_request_authors":{},"maintainers":[],"active_maintainers":[]},"events":{"total":{"IssuesEvent":1,"WatchEvent":3,"PushEvent":1,"CreateEvent":2},"last_year":{"IssuesEvent":1,"WatchEvent":3,"PushEvent":1,"CreateEvent":2}},"keywords":[],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/label_issue.yml","sha":null,"kind":"manifest","created_at":"2025-05-06T18:50:55.203Z","updated_at":"2025-05-06T18:50:55.203Z","repository_link":"https://github.com/LotuSrc/D2PO/blob/main/.github/workflows/label_issue.yml","dependencies":[]},{"ecosystem":"actions","filepath":".github/workflows/publish.yml","sha":null,"kind":"manifest","created_at":"2025-05-06T18:50:55.756Z","updated_at":"2025-05-06T18:50:55.756Z","repository_link":"https://github.com/LotuSrc/D2PO/blob/main/.github/workflows/publish.yml","dependencies":[{"id":23011871541,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":23011871542,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v5","direct":true,"kind":"composite","optional":false},{"id":23011871543,"package_name":"pypa/gh-action-pypi-publish","ecosystem":"actions","requirements":"release/v1","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/tests.yml","sha":null,"kind":"manifest","created_at":"2025-05-06T18:50:55.991Z","updated_at":"2025-05-06T18:50:55.991Z","repository_link":"https://github.com/LotuSrc/D2PO/blob/main/.github/workflows/tests.yml","dependencies":[{"id":23011871918,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false},{"id":23011871919,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v5","direct":true,"kind":"composite","optional":false},{"id":23011871920,"package_name":"actions/cache","ecosystem":"actions","requirements":"v4","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"docker","filepath":"docker/docker-cuda/Dockerfile","sha":null,"kind":"manifest","created_at":"2025-05-06T18:50:56.793Z","updated_at":"2025-05-06T18:50:56.793Z","repository_link":"https://github.com/LotuSrc/D2PO/blob/main/docker/docker-cuda/Dockerfile","dependencies":[{"id":23011871957,"package_name":"${BASE_IMAGE}","ecosystem":"docker","requirements":"latest","direct":true,"kind":"build","optional":false}]},{"ecosystem":"docker","filepath":"docker/docker-cuda/docker-compose.yml","sha":null,"kind":"manifest","created_at":"2025-05-06T18:50:56.968Z","updated_at":"2025-05-06T18:50:56.968Z","repository_link":"https://github.com/LotuSrc/D2PO/blob/main/docker/docker-cuda/docker-compose.yml","dependencies":[]},{"ecosystem":"docker","filepath":"docker/docker-npu/Dockerfile","sha":null,"kind":"manifest","created_at":"2025-05-06T18:50:57.142Z","updated_at":"2025-05-06T18:50:57.142Z","repository_link":"https://github.com/LotuSrc/D2PO/blob/main/docker/docker-npu/Dockerfile","dependencies":[{"id":23011871978,"package_name":"ascendai/cann","ecosystem":"docker","requirements":"8.0.0-910b-ubuntu22.04-py3.10","direct":true,"kind":"build","optional":false}]},{"ecosystem":"docker","filepath":"docker/docker-npu/docker-compose.yml","sha":null,"kind":"manifest","created_at":"2025-05-06T18:50:58.661Z","updated_at":"2025-05-06T18:50:58.661Z","repository_link":"https://github.com/LotuSrc/D2PO/blob/main/docker/docker-npu/docker-compose.yml","dependencies":[]},{"ecosystem":"docker","filepath":"docker/docker-rocm/Dockerfile","sha":null,"kind":"manifest","created_at":"2025-05-06T18:50:58.913Z","updated_at":"2025-05-06T18:50:58.913Z","repository_link":"https://github.com/LotuSrc/D2PO/blob/main/docker/docker-rocm/Dockerfile","dependencies":[{"id":23011872029,"package_name":"hardandheavy/transformers-rocm","ecosystem":"docker","requirements":"2.2.0","direct":true,"kind":"build","optional":false}]},{"ecosystem":"docker","filepath":"docker/docker-rocm/docker-compose.yml","sha":null,"kind":"manifest","created_at":"2025-05-06T18:51:01.242Z","updated_at":"2025-05-06T18:51:01.242Z","repository_link":"https://github.com/LotuSrc/D2PO/blob/main/docker/docker-rocm/docker-compose.yml","dependencies":[]},{"ecosystem":"pypi","filepath":"pyproject.toml","sha":null,"kind":"manifest","created_at":"2025-05-06T18:51:01.508Z","updated_at":"2025-05-06T18:51:01.508Z","repository_link":"https://github.com/LotuSrc/D2PO/blob/main/pyproject.toml","dependencies":[]},{"ecosystem":"pypi","filepath":"requirements.txt","sha":null,"kind":"manifest","created_at":"2025-05-06T18:51:01.631Z","updated_at":"2025-05-06T18:51:01.631Z","repository_link":"https://github.com/LotuSrc/D2PO/blob/main/requirements.txt","dependencies":[{"id":23011872492,"package_name":"transformers","ecosystem":"pypi","requirements":"\u003e=4.45.0,\u003c=4.51.3,","direct":true,"kind":"runtime","optional":false},{"id":23011872493,"package_name":"datasets","ecosystem":"pypi","requirements":"\u003e=2.16.0,\u003c=3.5.0","direct":true,"kind":"runtime","optional":false},{"id":23011872494,"package_name":"accelerate","ecosystem":"pypi","requirements":"\u003e=0.34.0,\u003c=1.6.0","direct":true,"kind":"runtime","optional":false},{"id":23011872495,"package_name":"peft","ecosystem":"pypi","requirements":"\u003e=0.14.0,\u003c=0.15.1","direct":true,"kind":"runtime","optional":false},{"id":23011872496,"package_name":"trl","ecosystem":"pypi","requirements":"\u003e=0.8.6,\u003c=0.9.6","direct":true,"kind":"runtime","optional":false},{"id":23011872497,"package_name":"tokenizers","ecosystem":"pypi","requirements":"\u003e=0.19.0,\u003c=0.21.1","direct":true,"kind":"runtime","optional":false},{"id":23011872498,"package_name":"gradio","ecosystem":"pypi","requirements":"\u003e=4.38.0,\u003c=5.25.0","direct":true,"kind":"runtime","optional":false},{"id":23011872499,"package_name":"scipy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872500,"package_name":"einops","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872501,"package_name":"sentencepiece","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872502,"package_name":"tiktoken","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872503,"package_name":"protobuf","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872504,"package_name":"uvicorn","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872505,"package_name":"fastapi","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872506,"package_name":"sse-starlette","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872507,"package_name":"matplotlib","ecosystem":"pypi","requirements":"\u003e=3.7.0","direct":true,"kind":"runtime","optional":false},{"id":23011872508,"package_name":"fire","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872509,"package_name":"omegaconf","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872510,"package_name":"packaging","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872511,"package_name":"pyyaml","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872512,"package_name":"numpy","ecosystem":"pypi","requirements":"\u003c2.0.0","direct":true,"kind":"runtime","optional":false},{"id":23011872513,"package_name":"pydantic","ecosystem":"pypi","requirements":"\u003c=2.10.6","direct":true,"kind":"runtime","optional":false},{"id":23011872514,"package_name":"pandas","ecosystem":"pypi","requirements":"\u003e=2.0.0","direct":true,"kind":"runtime","optional":false},{"id":23011872515,"package_name":"av","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872516,"package_name":"librosa","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":23011872517,"package_name":"tyro","ecosystem":"pypi","requirements":"\u003c0.9.0","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"pypi","filepath":"setup.py","sha":null,"kind":"manifest","created_at":"2025-05-06T18:51:02.465Z","updated_at":"2025-05-06T18:51:02.465Z","repository_link":"https://github.com/LotuSrc/D2PO/blob/main/setup.py","dependencies":[]}],"score":null,"created_at":"2025-09-04T15:51:36.721Z","updated_at":"2025-10-07T08:23:34.517Z","avatar_url":"https://github.com/LotuSrc.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/60001","html_url":"https://science.ecosyste.ms/projects/60001","bibtex_url":"https://science.ecosyste.ms/projects/60001/export.bibtex","apalike_url":"https://science.ecosyste.ms/projects/60001/export.apalike"}