{"id":21493588,"url":"https://github.com/alienkevin/llama2","last_synced_at":"2025-03-17T11:42:08.401Z","repository":{"id":190454029,"uuid":"673151475","full_name":"AlienKevin/llama2","owner":"AlienKevin","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-06T12:02:36.000Z","size":28304,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T21:25:00.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/AlienKevin.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":"2023-08-01T01:53:25.000Z","updated_at":"2024-05-06T12:02:41.000Z","dependencies_parsed_at":"2023-11-30T22:26:39.054Z","dependency_job_id":"42be93d2-622b-467e-a249-dc3ec93c7e93","html_url":"https://github.com/AlienKevin/llama2","commit_stats":null,"previous_names":["alienkevin/llama2"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2Fllama2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2Fllama2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2Fllama2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2Fllama2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlienKevin","download_url":"https://codeload.github.com/AlienKevin/llama2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244029526,"owners_count":20386426,"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-11-23T15:43:33.566Z","updated_at":"2025-03-17T11:42:08.380Z","avatar_url":"https://github.com/AlienKevin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Set up\n\n1. Download the code llama model from: https://huggingface.co/AlienKevin/codellama-34b.Q5_K_M.v3.gguf/blob/main/codellama-34b.Q5_K_M.v3.gguf\n\nPut the model under `models/`.\n\n2. Compile llama.cpp:\n```\ncd llama.cpp\nmake main\n```\n\n3. Install node.js and copy the compiled `lsp.js` into the project root\n\n4. Run model:\n```\nchmod +x run-code-34b.sh\n./run-code-34b.sh\n```\n\nSpecify the prompt on the first line of `run-code-34b.sh`:\n```\npython expand_prompt.py autoregressive list.filter_int\n```\n\n`expand_prompt.py` will expand the `autorgressive.template`, write the expanded form\nto `autoregressive.prelude`, and then concatenate the query from `queries/list.filter_int.txt` to the prelude and write the whole prompt (prelude + query) to `autoregressive.prompt`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falienkevin%2Fllama2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falienkevin%2Fllama2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falienkevin%2Fllama2/lists"}