{"id":17117924,"url":"https://github.com/transmissions11/bistro","last_synced_at":"2025-04-13T04:35:28.700Z","repository":{"id":240149155,"uuid":"675875746","full_name":"transmissions11/bistro","owner":"transmissions11","description":"Opinionated GPT implementation and finetuning harness.","archived":false,"fork":false,"pushed_at":"2024-05-22T08:33:20.000Z","size":259388,"stargazers_count":5,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-04T09:09:35.565Z","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/transmissions11.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-08T00:04:46.000Z","updated_at":"2024-05-21T22:55:35.000Z","dependencies_parsed_at":"2024-05-17T01:42:06.347Z","dependency_job_id":"7a36f7b0-24f1-4b67-aa73-4bb2332da83d","html_url":"https://github.com/transmissions11/bistro","commit_stats":null,"previous_names":["transmissions11/bistro"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmissions11%2Fbistro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmissions11%2Fbistro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmissions11%2Fbistro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transmissions11%2Fbistro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transmissions11","download_url":"https://codeload.github.com/transmissions11/bistro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665156,"owners_count":21142118,"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-10-14T17:52:58.856Z","updated_at":"2025-04-13T04:35:28.681Z","avatar_url":"https://github.com/transmissions11.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bistro\n\nOpinionated GPT implementation and finetuning harness.\n\n## Installation\n\nCloning the repo:\n\n```sh\ngit clone git@github.com:transmissions11/bistro.git\ncd bistro\n```\n\nInstalling dependencies:\n\n```sh\npip install -r requirements.txt\n```\n\nDownloading and setting up a base model:\n\n```sh\npython lit_script.py download --repo_id lmsys/vicuna-7b-v1.5\npython lit_script.py convert_hf_checkpoint --checkpoint_dir checkpoints/lmsys/vicuna-7b-v1.5 --dtype bfloat16\n```\n\n_(Optional)_ Use Flash Attention 2 (only available in PyTorch 2.2)\n\n```bash\npip uninstall -y torch torchvision torchaudio torchtext\npip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121\n```\n\nSee [lit-gpt's setup guide](https://github.com/Lightning-AI/lit-gpt#setup) for additional info.\n\n## Acknowledgements\n\nBuilt on [lit-gpt](https://github.com/Lightning-AI/lit-gpt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransmissions11%2Fbistro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftransmissions11%2Fbistro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftransmissions11%2Fbistro/lists"}