{"id":106576,"name":null,"description":"Repository for CaLF: Learning to Generate Answers with Citations via Factual Consistency Models. CaLF is a weakly-supervised fine-tuning method leveraging factual consistency models to improve the quality of generated answers and their citations. [ACL 2024]","url":"https://github.com/amazon-science/learning-to-generate-answers-with-citations","last_synced_at":"2025-09-09T04:39:25.747Z","repository":{"id":248158190,"uuid":"827581124","full_name":"amazon-science/learning-to-generate-answers-with-citations","owner":"amazon-science","description":"Repository for CaLF: Learning to Generate Answers with Citations via Factual Consistency Models. CaLF is a weakly-supervised fine-tuning method leveraging factual consistency models to improve the quality of generated answers and their citations. [ACL 2024]","archived":false,"fork":false,"pushed_at":"2024-07-15T04:42:01.000Z","size":11528,"stargazers_count":8,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-03T11:35:39.287Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/amazon-science.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-07-12T00:15:10.000Z","updated_at":"2025-04-09T14:44:27.000Z","dependencies_parsed_at":"2024-07-15T05:43:52.678Z","dependency_job_id":"2e362562-6a89-48ce-8f66-581f450dd392","html_url":"https://github.com/amazon-science/learning-to-generate-answers-with-citations","commit_stats":null,"previous_names":["amazon-science/learning-to-generate-answers-with-citations"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amazon-science/learning-to-generate-answers-with-citations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazon-science%2Flearning-to-generate-answers-with-citations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazon-science%2Flearning-to-generate-answers-with-citations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazon-science%2Flearning-to-generate-answers-with-citations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazon-science%2Flearning-to-generate-answers-with-citations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amazon-science","download_url":"https://codeload.github.com/amazon-science/learning-to-generate-answers-with-citations/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazon-science%2Flearning-to-generate-answers-with-citations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274244211,"owners_count":25248157,"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":"amazon-science","name":"Amazon Science","uuid":"70298811","kind":"organization","description":"","email":null,"website":"https://amazon.science","location":null,"twitter":"AmazonScience","company":null,"icon_url":"https://avatars.githubusercontent.com/u/70298811?v=4","repositories_count":80,"last_synced_at":"2023-03-11T11:51:04.161Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/amazon-science","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-02-15T02:42:01.238Z","updated_at":"2023-03-11T11:51:04.185Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amazon-science","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amazon-science/repositories"},"packages":[],"commits":{"id":5387469,"full_name":"amazon-science/learning-to-generate-answers-with-citations","default_branch":"master","committers":null,"total_commits":null,"total_committers":null,"total_bot_commits":null,"total_bot_committers":null,"mean_commits":null,"dds":null,"past_year_committers":null,"past_year_total_commits":null,"past_year_total_committers":null,"past_year_total_bot_commits":null,"past_year_total_bot_committers":null,"past_year_mean_commits":null,"past_year_dds":null,"last_synced_at":null,"last_synced_commit":null,"created_at":"2024-11-12T23:08:57.769Z","updated_at":"2024-11-12T23:08:57.769Z","commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazon-science%2Flearning-to-generate-answers-with-citations/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-09T00:17:06.873Z","repositories_count":5505610,"commits_count":857644976,"contributors_count":31373693,"owners_count":914464,"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":{"full_name":"amazon-science/learning-to-generate-answers-with-citations","html_url":"https://github.com/amazon-science/learning-to-generate-answers-with-citations","last_synced_at":"2024-11-12T23:09:16.399Z","status":null,"issues_count":0,"pull_requests_count":2,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":6863.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":2,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":1,"past_year_issues_count":0,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":6863.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":1,"past_year_merged_pull_requests_count":1,"created_at":"2024-11-12T23:08:58.152Z","updated_at":"2025-09-01T22:45:15.905Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazon-science%2Flearning-to-generate-answers-with-citations","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazon-science%2Flearning-to-generate-answers-with-citations/issues","issue_labels_count":{},"pull_request_labels_count":{"dependencies":2},"issue_author_associations_count":{"NONE":1},"pull_request_author_associations_count":{"NONE":3,"CONTRIBUTOR":1},"issue_authors":{"yatao-zhuozhuo":1},"pull_request_authors":{"Raldir":2,"dependabot[bot]":2},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2025-09-06T00:00:15.144Z","repositories_count":10122615,"issues_count":31721744,"pull_requests_count":98828394,"authors_count":10710967,"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":{"yatao-zhuozhuo":1},"past_year_pull_request_authors":{},"maintainers":[],"active_maintainers":[]},"events":{"total":{"IssuesEvent":1,"WatchEvent":5},"last_year":{"IssuesEvent":1,"WatchEvent":5}},"keywords":[],"dependencies":[{"ecosystem":"pypi","filepath":"requirements.txt","sha":null,"kind":"manifest","created_at":"2024-07-15T05:43:49.895Z","updated_at":"2024-07-15T05:43:49.895Z","repository_link":"https://github.com/amazon-science/learning-to-generate-answers-with-citations/blob/main/requirements.txt","dependencies":[{"id":19112332528,"package_name":"nltk","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332529,"package_name":"rouge-score","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332530,"package_name":"sacrebleu","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332531,"package_name":"spacy","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332532,"package_name":"bert-score","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332533,"package_name":"mauve-text","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332639,"package_name":"accelerate","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332640,"package_name":"sentencepiece","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332641,"package_name":"bitsandbytes","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332642,"package_name":"peft","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332643,"package_name":"deepspeed","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332644,"package_name":"pytorch_lightning","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332646,"package_name":"sentence_transformers","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332647,"package_name":"shap","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332648,"package_name":"ipython","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332649,"package_name":"protobuf","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332650,"package_name":"transformers","ecosystem":"pypi","requirements":"==4.35.2","direct":true,"kind":"runtime","optional":false},{"id":19112332651,"package_name":"gitpython","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332652,"package_name":"isort","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":19112332653,"package_name":"black","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]}],"score":null,"created_at":"2025-09-08T22:27:27.392Z","updated_at":"2025-10-07T08:31:50.856Z","avatar_url":"https://github.com/amazon-science.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/106576","html_url":"https://science.ecosyste.ms/projects/106576"}