{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/llama-2-open-foundation-and-fine-tuned-chat","title":"Llama 2: Open Foundation and Fine-Tuned Chat Models","arxiv_id":"2307.09288","date":"2023-07-18","proceeding":null,"authors":["Hugo Touvron","Louis Martin","Kevin Stone","Peter Albert","Amjad Almahairi","Yasmine Babaei","Nikolay Bashlykov","Soumya Batra","Prajjwal Bhargava","Shruti Bhosale","Dan Bikel","Lukas Blecher","Cristian Canton Ferrer","Moya Chen","Guillem Cucurull","David Esiobu","Jude Fernandes","Jeremy Fu","Wenyin Fu","Brian Fuller","Cynthia Gao","Vedanuj Goswami","Naman Goyal","Anthony Hartshorn","Saghar Hosseini","Rui Hou","Hakan Inan","Marcin Kardas","Viktor Kerkez","Madian Khabsa","Isabel Kloumann","Artem Korenev","Punit Singh Koura","Marie-Anne Lachaux","Thibaut Lavril","Jenya Lee","Diana Liskovich","Yinghai Lu","Yuning Mao","Xavier Martinet","Todor Mihaylov","Pushkar Mishra","Igor Molybog","Yixin Nie","Andrew Poulton","Jeremy Reizenstein","Rashi Rungta","Kalyan Saladi","Alan Schelten","Ruan Silva","Eric Michael Smith","Ranjan Subramanian","Xiaoqing Ellen Tan","Binh Tang","Ross Taylor","Adina Williams","Jian Xiang Kuan","Puxin Xu","Zheng Yan","Iliyan Zarov","Yuchen Zhang","Angela Fan","Melanie Kambadur","Sharan Narang","Aurelien Rodriguez","Robert Stojnic","Sergey Edunov","Thomas Scialom"],"abstract":"In this work, we develop and release Llama 2, a collection of pretrained and fine-tuned large language models (LLMs) ranging in scale from 7 billion to 70 billion parameters. Our fine-tuned LLMs, called Llama 2-Chat, are optimized for dialogue use cases. Our models outperform open-source chat models on most benchmarks we tested, and based on our human evaluations for helpfulness and safety, may be a suitable substitute for closed-source models. We provide a detailed description of our approach to fine-tuning and safety improvements of Llama 2-Chat in order to enable the community to build on our work and contribute to the responsible development of LLMs.","url_abs":"https://arxiv.org/abs/2307.09288v2","url_pdf":"https://arxiv.org/pdf/2307.09288v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/facebookresearch/llama","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/IBM/Dromedary","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"GPL-3.0"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/Lightning-AI/lit-gpt","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/coastalcph/eu-politics-llms","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/eternityyw/tram-benchmark","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/flagalpha/llama2-chinese","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/glb400/Toy-RecLM","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/idiap/abroad-re","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"GPL-3.0"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/llamafamily/llama-chinese","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/meetyou-ai-lab/can-mc-evaluate-llms","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/ninglab/ecellm","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"CC-BY-4.0"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/rijgersberg/geitje","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/squeezeailab/squeezellm","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/usyd-fsalab/fp6_llm","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/xuetianci/pacit","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/xverse-ai/xverse-13b","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/xzhang97666/alpacare","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/young-geng/easylm","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":null},{"paper_slug":"llama-2-open-foundation-and-fine-tuned-chat","repo_url":"https://github.com/zurichnlp/contradecode","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"arithmetic-reasoning","task_name":"Arithmetic Reasoning"},{"task_slug":"code-generation","task_name":"Code Generation"},{"task_slug":"math-word-problem-solving","task_name":"Math Word Problem Solving"},{"task_slug":"multi-task-language-understanding","task_name":"Multi-task Language Understanding"},{"task_slug":"multiple-choice-qa","task_name":"Multiple Choice Question Answering (MCQA)"},{"task_slug":"question-answering","task_name":"Question Answering"},{"task_slug":"sentence-completion","task_name":"Sentence Completion"}],"methods":[{"method_slug":"absolute-position-encodings","method_name":"Absolute Position Encodings"},{"method_slug":"adamw","method_name":"AdamW"},{"method_slug":"attention","method_name":"Attention"},{"method_slug":"bpe","method_name":"BPE"},{"method_slug":"dense-connections","method_name":"Dense Connections"},{"method_slug":"dropout","method_name":"Dropout"},{"method_slug":"entropy-regularization","method_name":"Entropy Regularization"},{"method_slug":"feedforward-network","method_name":"Feedforward Network"},{"method_slug":"grouped-query-attention","method_name":"Grouped-query attention"},{"method_slug":"label-smoothing","method_name":"Label Smoothing"},{"method_slug":"ppo","method_name":"PPO"},{"method_slug":"rmsnorm","method_name":"RMSNorm"},{"method_slug":"residual-connection","method_name":"Residual Connection"},{"method_slug":"rope","method_name":"Rotary Embeddings"},{"method_slug":"softmax","method_name":"Softmax"},{"method_slug":"swiglu","method_name":"SwiGLU"},{"method_slug":"transformer","method_name":"Transformer"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/arithmetic-reasoning-on-gsm8k","task":"Arithmetic Reasoning","dataset":"GSM8K","model":"LLaMA 2 70B (on-shot)","rank_in_archive_order":123,"of":164,"metrics":{"Accuracy":"56.8","Parameters (Billion)":"70"},"uses_additional_data":false},{"leaderboard":"/sota/code-generation-on-mbpp","task":"Code Generation","dataset":"MBPP","model":"Llama 2 70B (zero-shot)","rank_in_archive_order":76,"of":99,"metrics":{"Accuracy":"45"},"uses_additional_data":false},{"leaderboard":"/sota/code-generation-on-mbpp","task":"Code Generation","dataset":"MBPP","model":"Llama 2 34B (0-shot)","rank_in_archive_order":89,"of":99,"metrics":{"Accuracy":"33"},"uses_additional_data":false},{"leaderboard":"/sota/code-generation-on-mbpp","task":"Code Generation","dataset":"MBPP","model":"Llama 2 13B (0-shot)","rank_in_archive_order":90,"of":99,"metrics":{"Accuracy":"30.6"},"uses_additional_data":false},{"leaderboard":"/sota/code-generation-on-mbpp","task":"Code Generation","dataset":"MBPP","model":"Llama 2 7B (0-shot)","rank_in_archive_order":97,"of":99,"metrics":{"Accuracy":"20.8"},"uses_additional_data":false},{"leaderboard":"/sota/math-word-problem-solving-on-mawps","task":"Math Word Problem Solving","dataset":"MAWPS","model":"LLaMA 2-Chat","rank_in_archive_order":16,"of":25,"metrics":{"Accuracy (%)":"82.4"},"uses_additional_data":false},{"leaderboard":"/sota/math-word-problem-solving-on-svamp","task":"Math Word Problem Solving","dataset":"SVAMP","model":"LLaMA 2-Chat","rank_in_archive_order":12,"of":26,"metrics":{"Execution Accuracy":"69.2"},"uses_additional_data":false},{"leaderboard":"/sota/multi-task-language-understanding-on-mmlu","task":"Multi-task Language Understanding","dataset":"MML","model":"LLaMA 2 34B (5-shot)","rank_in_archive_order":16,"of":44,"metrics":{"Average (%)":"62.6"},"uses_additional_data":false},{"leaderboard":"/sota/multi-task-language-understanding-on-mmlu","task":"Multi-task Language Understanding","dataset":"MML","model":"LLaMA 2 13B (5-shot)","rank_in_archive_order":23,"of":44,"metrics":{"Average (%)":"54.8"},"uses_additional_data":false},{"leaderboard":"/sota/multi-task-language-understanding-on-mmlu","task":"Multi-task Language Understanding","dataset":"MML","model":"LLaMA 2 7B (5-shot)","rank_in_archive_order":28,"of":44,"metrics":{"Average (%)":"45.3"},"uses_additional_data":false},{"leaderboard":"/sota/multiple-choice-question-answering-mcqa-on-25","task":"Multiple Choice Question Answering (MCQA)","dataset":"MMLU (Professional medicine)","model":"Llama2-7B","rank_in_archive_order":5,"of":6,"metrics":{"Accuracy":"43.38"},"uses_additional_data":false},{"leaderboard":"/sota/multiple-choice-question-answering-mcqa-on-25","task":"Multiple Choice Question Answering (MCQA)","dataset":"MMLU (Professional medicine)","model":"Llama2-7B-chat","rank_in_archive_order":6,"of":6,"metrics":{"Accuracy":"40.07"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-boolq","task":"Question Answering","dataset":"BoolQ","model":"LLaMA 2 70B (0-shot)","rank_in_archive_order":18,"of":65,"metrics":{"Accuracy":"85"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-boolq","task":"Question Answering","dataset":"BoolQ","model":"LLaMA 2 34B (0-shot)","rank_in_archive_order":22,"of":65,"metrics":{"Accuracy":"83.7"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-boolq","task":"Question Answering","dataset":"BoolQ","model":"LLaMA 2 13B (0-shot)","rank_in_archive_order":25,"of":65,"metrics":{"Accuracy":"81.7"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-boolq","task":"Question Answering","dataset":"BoolQ","model":"LLaMA 2 7B (zero-shot)","rank_in_archive_order":30,"of":65,"metrics":{"Accuracy":"77.4"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-multitq","task":"Question Answering","dataset":"MultiTQ","model":"LLaMA2","rank_in_archive_order":7,"of":11,"metrics":{"Hits@1":"18.5"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-natural-questions","task":"Question Answering","dataset":"Natural Questions","model":"LLaMA 2 70B (one-shot)","rank_in_archive_order":31,"of":47,"metrics":{"EM":"33.0"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-piqa","task":"Question Answering","dataset":"PIQA","model":"LLaMA 2 70B (0-shot)","rank_in_archive_order":18,"of":67,"metrics":{"Accuracy":"82.8"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-piqa","task":"Question Answering","dataset":"PIQA","model":"LLaMA 2 34B (0-shot)","rank_in_archive_order":24,"of":67,"metrics":{"Accuracy":"81.9"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-piqa","task":"Question Answering","dataset":"PIQA","model":"LLaMA 2 13B (0-shot)","rank_in_archive_order":32,"of":67,"metrics":{"Accuracy":"80.5"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-piqa","task":"Question Answering","dataset":"PIQA","model":"LLaMA 2 7B (0-shot)","rank_in_archive_order":38,"of":67,"metrics":{"Accuracy":"78.8"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-pubchemqa","task":"Question Answering","dataset":"PubChemQA","model":"Llama2-7B-chat","rank_in_archive_order":2,"of":2,"metrics":{"BLEU-2":"0.075","BLEU-4":"0.009","MEATOR":"0.149","ROUGE-1":"0.184","ROUGE-2":"0.043","ROUGE-L":"0.142"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-triviaqa","task":"Question Answering","dataset":"TriviaQA","model":"LLaMA 2 70B (one-shot)","rank_in_archive_order":7,"of":56,"metrics":{"EM":"85"},"uses_additional_data":false},{"leaderboard":"/sota/question-answering-on-uniprotqa","task":"Question Answering","dataset":"UniProtQA","model":"Llama2-7B-chat","rank_in_archive_order":2,"of":2,"metrics":{"BLEU-2":"0.019","BLEU-4":"0.002","MEATOR":"0.052","ROUGE-1":"0.103","ROUGE-2":"0.060","ROUGE-L":"0.009"},"uses_additional_data":false},{"leaderboard":"/sota/sentence-completion-on-hellaswag","task":"Sentence Completion","dataset":"HellaSwag","model":"LLaMA 2 70B (0-shot)","rank_in_archive_order":26,"of":89,"metrics":{"Accuracy":"85.3"},"uses_additional_data":false},{"leaderboard":"/sota/sentence-completion-on-hellaswag","task":"Sentence Completion","dataset":"HellaSwag","model":"LLaMA 2 34B (0-shot)","rank_in_archive_order":33,"of":89,"metrics":{"Accuracy":"83.3"},"uses_additional_data":false},{"leaderboard":"/sota/sentence-completion-on-hellaswag","task":"Sentence Completion","dataset":"HellaSwag","model":"LLaMA 2 13B (0-shot)","rank_in_archive_order":43,"of":89,"metrics":{"Accuracy":"80.7"},"uses_additional_data":false},{"leaderboard":"/sota/sentence-completion-on-hellaswag","task":"Sentence Completion","dataset":"HellaSwag","model":"LLaMA 2 7B (0-shot)","rank_in_archive_order":49,"of":89,"metrics":{"Accuracy":"77.2"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2307.09288","atlas_url":"https://app.syntology.ai/?focus=2307.09288","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2307.09288"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/xverse-ai/xverse-13b","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/coastalcph/eu-politics-llms","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/facebookresearch/llama","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/IBM/Dromedary","reach":{"status":"ok","spdx":"GPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/squeezeailab/squeezellm","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zurichnlp/contradecode","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/eternityyw/tram-benchmark","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/xuetianci/pacit","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/young-geng/easylm","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/meetyou-ai-lab/can-mc-evaluate-llms","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/llamafamily/llama-chinese","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/glb400/Toy-RecLM","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/rijgersberg/geitje","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/flagalpha/llama2-chinese","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/usyd-fsalab/fp6_llm","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/idiap/abroad-re","reach":{"status":"ok","spdx":"GPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ninglab/ecellm","reach":{"status":"ok","spdx":"CC-BY-4.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Lightning-AI/lit-gpt","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/xzhang97666/alpacare","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_fixture":4,"ran_draft_wrong":7,"ran":18,"ran_honours":1,"ran_violates":1,"unverified":21},"by_repo_kind":{"listed":{"samples":52,"ran":31,"repositories":8}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":16,"samples":[{"code_sha256_prefix":"30d7eec482ebf6b1","entry":"repeat_kv","repo":"IBM/Dromedary","repo_kind":"listed","path":"training/llama_with_flash_attn.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/training/llama_with_flash_attn.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":2,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"30d7eec482ebf6b1"}},{"code_sha256_prefix":"cdc0ad3109c8984b","entry":"round_to_nearest_pole_sim","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"squeezellm/quant.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/squeezellm/quant.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":2,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cdc0ad3109c8984b"}},{"code_sha256_prefix":"bf78fefededc09f7","entry":"Config","repo":"Lightning-AI/lit-gpt","repo_kind":"listed","path":"litgpt/model.py","file_url":"https://github.com/Lightning-AI/lit-gpt/blob/HEAD/litgpt/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bf78fefededc09f7"}},{"code_sha256_prefix":"9715deb8f27d4266","entry":"FeedForward","repo":"glb400/Toy-RecLM","repo_kind":"listed","path":"model.py","file_url":"https://github.com/glb400/Toy-RecLM/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9715deb8f27d4266"}},{"code_sha256_prefix":"1bcd8d227ad19b17","entry":"LlamaConfig","repo":"meetyou-ai-lab/can-mc-evaluate-llms","repo_kind":"listed","path":"Embeddings/src/llama/modeling_llama.py","file_url":"https://github.com/meetyou-ai-lab/can-mc-evaluate-llms/blob/HEAD/Embeddings/src/llama/modeling_llama.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1bcd8d227ad19b17"}},{"code_sha256_prefix":"50260ad39d7c5e06","entry":"LlamaMLP","repo":"meetyou-ai-lab/can-mc-evaluate-llms","repo_kind":"listed","path":"Embeddings/src/llama/modeling_llama.py","file_url":"https://github.com/meetyou-ai-lab/can-mc-evaluate-llms/blob/HEAD/Embeddings/src/llama/modeling_llama.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"50260ad39d7c5e06"}},{"code_sha256_prefix":"98b6bb174c074dae","entry":"LlamaRMSNorm","repo":"meetyou-ai-lab/can-mc-evaluate-llms","repo_kind":"listed","path":"Embeddings/src/llama/modeling_llama.py","file_url":"https://github.com/meetyou-ai-lab/can-mc-evaluate-llms/blob/HEAD/Embeddings/src/llama/modeling_llama.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"98b6bb174c074dae"}},{"code_sha256_prefix":"26ec53f064adbca5","entry":"LlamaRotaryEmbedding","repo":"meetyou-ai-lab/can-mc-evaluate-llms","repo_kind":"listed","path":"Embeddings/src/llama/modeling_llama.py","file_url":"https://github.com/meetyou-ai-lab/can-mc-evaluate-llms/blob/HEAD/Embeddings/src/llama/modeling_llama.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"26ec53f064adbca5"}},{"code_sha256_prefix":"4d273bfb0feb28e0","entry":"PromptTemplate","repo":"zurichnlp/contradecode","repo_kind":"listed","path":"translation_models/llama.py","file_url":"https://github.com/zurichnlp/contradecode/blob/HEAD/translation_models/llama.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4d273bfb0feb28e0"}},{"code_sha256_prefix":"1e7100681c300ca2","entry":"RMSNorm","repo":"Lightning-AI/lit-gpt","repo_kind":"listed","path":"litgpt/model.py","file_url":"https://github.com/Lightning-AI/lit-gpt/blob/HEAD/litgpt/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1e7100681c300ca2"}},{"code_sha256_prefix":"b47d48e431b34acd","entry":"apply_rotary_emb","repo":"IBM/Dromedary","repo_kind":"listed","path":"llama_dromedary/llama_dromedary/model.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/llama_dromedary/llama_dromedary/model.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"b47d48e431b34acd"}},{"code_sha256_prefix":"e34097675d132bc1","entry":"apply_rotary_pos_emb","repo":"IBM/Dromedary","repo_kind":"listed","path":"training/llama_with_flash_attn.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/training/llama_with_flash_attn.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"e34097675d132bc1"}},{"code_sha256_prefix":"faa77017b4beec30","entry":"check_indicator_and_length","repo":"Lightning-AI/lit-gpt","repo_kind":"listed","path":"litgpt/model.py","file_url":"https://github.com/Lightning-AI/lit-gpt/blob/HEAD/litgpt/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"faa77017b4beec30"}},{"code_sha256_prefix":"b5445674ab17410f","entry":"extract_alpaca_dataset","repo":"IBM/Dromedary","repo_kind":"listed","path":"training/data_utils_sft.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/training/data_utils_sft.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"b5445674ab17410f"}},{"code_sha256_prefix":"48456f10725088b5","entry":"extract_dromedary_dataset","repo":"IBM/Dromedary","repo_kind":"listed","path":"training/data_utils_sft.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/training/data_utils_sft.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"48456f10725088b5"}},{"code_sha256_prefix":"f82430123a91cf21","entry":"extract_unnatural_instructions_data","repo":"IBM/Dromedary","repo_kind":"listed","path":"training/data_utils_sft.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/training/data_utils_sft.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"f82430123a91cf21"}},{"code_sha256_prefix":"a9e7f2cdf016b88b","entry":"find_layers","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"squeezellm/modelutils.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/squeezellm/modelutils.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a9e7f2cdf016b88b"}},{"code_sha256_prefix":"ffe8d3a5e6f4b477","entry":"find_multiple","repo":"Lightning-AI/lit-gpt","repo_kind":"listed","path":"litgpt/model.py","file_url":"https://github.com/Lightning-AI/lit-gpt/blob/HEAD/litgpt/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ffe8d3a5e6f4b477"}},{"code_sha256_prefix":"55e55d5b9201bf5c","entry":"generate_prompt","repo":"IBM/Dromedary","repo_kind":"listed","path":"inference/run_stream_chatbot_demo.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/inference/run_stream_chatbot_demo.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"55e55d5b9201bf5c"}},{"code_sha256_prefix":"c478c1e77422f0de","entry":"generate_prompt","repo":"IBM/Dromedary","repo_kind":"listed","path":"mc_evaluation/evaluate_hhh_eval.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/mc_evaluation/evaluate_hhh_eval.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"c478c1e77422f0de"}},{"code_sha256_prefix":"0c0f540ee97855aa","entry":"get_log_prob","repo":"IBM/Dromedary","repo_kind":"listed","path":"mc_evaluation/evaluate_hhh_eval.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/mc_evaluation/evaluate_hhh_eval.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"0c0f540ee97855aa"}},{"code_sha256_prefix":"47407f4c74f590df","entry":"get_log_prob","repo":"IBM/Dromedary","repo_kind":"listed","path":"mc_evaluation/evaluate_truthfulqa_mc.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/mc_evaluation/evaluate_truthfulqa_mc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"47407f4c74f590df"}},{"code_sha256_prefix":"b14dfe7367095841","entry":"measure_multiple_choice_grade","repo":"IBM/Dromedary","repo_kind":"listed","path":"mc_evaluation/evaluate_hhh_eval.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/mc_evaluation/evaluate_hhh_eval.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"b14dfe7367095841"}},{"code_sha256_prefix":"dfcc630d6e498f6f","entry":"measure_multiple_choice_grade","repo":"IBM/Dromedary","repo_kind":"listed","path":"mc_evaluation/evaluate_truthfulqa_mc.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/mc_evaluation/evaluate_truthfulqa_mc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"dfcc630d6e498f6f"}},{"code_sha256_prefix":"14a84c2cbfebc413","entry":"precompute_freqs_cis","repo":"IBM/Dromedary","repo_kind":"listed","path":"llama_dromedary/llama_dromedary/model.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/llama_dromedary/llama_dromedary/model.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"14a84c2cbfebc413"}},{"code_sha256_prefix":"303e2b878d149f4a","entry":"remove_outliers","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"squeezellm/outliers.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/squeezellm/outliers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"303e2b878d149f4a"}},{"code_sha256_prefix":"e3a24217edf7812c","entry":"remove_outliers_by_sensitivity","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"squeezellm/outliers.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/squeezellm/outliers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e3a24217edf7812c"}},{"code_sha256_prefix":"3d2bc2ac00f3f434","entry":"remove_outliers_by_threshold","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"squeezellm/outliers.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/squeezellm/outliers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3d2bc2ac00f3f434"}},{"code_sha256_prefix":"70bf6ebaafd266c4","entry":"reshape_for_broadcast","repo":"IBM/Dromedary","repo_kind":"listed","path":"llama_dromedary/llama_dromedary/model.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/llama_dromedary/llama_dromedary/model.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"70bf6ebaafd266c4"}},{"code_sha256_prefix":"b99eea6376d1e212","entry":"rotate_half","repo":"IBM/Dromedary","repo_kind":"listed","path":"training/llama_with_flash_attn.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/training/llama_with_flash_attn.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"b99eea6376d1e212"}},{"code_sha256_prefix":"8845976729f4c4ee","entry":"sample_top_p","repo":"IBM/Dromedary","repo_kind":"listed","path":"llama_dromedary/llama_dromedary/generation.py","file_url":"https://github.com/IBM/Dromedary/blob/HEAD/llama_dromedary/llama_dromedary/generation.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"8845976729f4c4ee"}},{"code_sha256_prefix":"4334c46d3961b3fb","entry":"Attention","repo":"glb400/Toy-RecLM","repo_kind":"listed","path":"model.py","file_url":"https://github.com/glb400/Toy-RecLM/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4334c46d3961b3fb"}},{"code_sha256_prefix":"cf00f2eef08595e6","entry":"FlaxLLaMAModel","repo":"young-geng/easylm","repo_kind":"listed","path":"EasyLM/models/llama/llama_model.py","file_url":"https://github.com/young-geng/easylm/blob/HEAD/EasyLM/models/llama/llama_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cf00f2eef08595e6"}},{"code_sha256_prefix":"72032d6f73d90892","entry":"FlaxLLaMAPreTrainedModel","repo":"young-geng/easylm","repo_kind":"listed","path":"EasyLM/models/llama/llama_model.py","file_url":"https://github.com/young-geng/easylm/blob/HEAD/EasyLM/models/llama/llama_model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"72032d6f73d90892"}},{"code_sha256_prefix":"4427e517543e4577","entry":"LLaMA2_SASRec","repo":"glb400/Toy-RecLM","repo_kind":"listed","path":"model.py","file_url":"https://github.com/glb400/Toy-RecLM/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4427e517543e4577"}},{"code_sha256_prefix":"b336e5e4f4b40ceb","entry":"LLaMAMLP","repo":"Lightning-AI/lit-gpt","repo_kind":"listed","path":"litgpt/model.py","file_url":"https://github.com/Lightning-AI/lit-gpt/blob/HEAD/litgpt/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b336e5e4f4b40ceb"}},{"code_sha256_prefix":"1104581ac75ea9c6","entry":"LlamaAttention","repo":"meetyou-ai-lab/can-mc-evaluate-llms","repo_kind":"listed","path":"Embeddings/src/llama/modeling_llama.py","file_url":"https://github.com/meetyou-ai-lab/can-mc-evaluate-llms/blob/HEAD/Embeddings/src/llama/modeling_llama.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1104581ac75ea9c6"}},{"code_sha256_prefix":"660d5e5234e28212","entry":"LlamaDecoderLayer","repo":"meetyou-ai-lab/can-mc-evaluate-llms","repo_kind":"listed","path":"Embeddings/src/llama/modeling_llama.py","file_url":"https://github.com/meetyou-ai-lab/can-mc-evaluate-llms/blob/HEAD/Embeddings/src/llama/modeling_llama.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"660d5e5234e28212"}},{"code_sha256_prefix":"865ca1b3e9c1aa5c","entry":"LlamaModel","repo":"meetyou-ai-lab/can-mc-evaluate-llms","repo_kind":"listed","path":"Embeddings/src/llama/modeling_llama.py","file_url":"https://github.com/meetyou-ai-lab/can-mc-evaluate-llms/blob/HEAD/Embeddings/src/llama/modeling_llama.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"865ca1b3e9c1aa5c"}},{"code_sha256_prefix":"75e3a8170f256bb7","entry":"ModelArgs","repo":"glb400/Toy-RecLM","repo_kind":"listed","path":"model.py","file_url":"https://github.com/glb400/Toy-RecLM/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"75e3a8170f256bb7"}},{"code_sha256_prefix":"61aae005c3076a9b","entry":"TransformerBlock","repo":"glb400/Toy-RecLM","repo_kind":"listed","path":"model.py","file_url":"https://github.com/glb400/Toy-RecLM/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"61aae005c3076a9b"}},{"code_sha256_prefix":"92dc709e4e73e133","entry":"get_c4","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"squeezellm/datautils.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/squeezellm/datautils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"92dc709e4e73e133"}},{"code_sha256_prefix":"fd802dc39c73084a","entry":"get_model","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"llama.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/llama.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fd802dc39c73084a"}},{"code_sha256_prefix":"b65e0b634a94c717","entry":"get_module_names","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"squeezellm/model_parse.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/squeezellm/model_parse.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b65e0b634a94c717"}},{"code_sha256_prefix":"b1e98f962f5ae82d","entry":"get_ptb","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"squeezellm/datautils.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/squeezellm/datautils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b1e98f962f5ae82d"}},{"code_sha256_prefix":"efc347eff314b865","entry":"get_wikitext2","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"squeezellm/datautils.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/squeezellm/datautils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"efc347eff314b865"}},{"code_sha256_prefix":"b796bb9465578920","entry":"init_model","repo":"xverse-ai/xverse-13b","repo_kind":"listed","path":"chat_demo.py","file_url":"https://github.com/xverse-ai/xverse-13b/blob/HEAD/chat_demo.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b796bb9465578920"}},{"code_sha256_prefix":"77fbadc3b9632874","entry":"kmeans_fit","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"quantization/nuq.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/quantization/nuq.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"77fbadc3b9632874"}},{"code_sha256_prefix":"b66c43d90a1a3a1b","entry":"load_model","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"squeezellm/model_parse.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/squeezellm/model_parse.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b66c43d90a1a3a1b"}},{"code_sha256_prefix":"c0d4637f25eabf00","entry":"load_quant","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"llama.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/llama.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c0d4637f25eabf00"}},{"code_sha256_prefix":"dd982ece7960b018","entry":"parse_model","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"squeezellm/model_parse.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/squeezellm/model_parse.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dd982ece7960b018"}},{"code_sha256_prefix":"5445de6acd6035bb","entry":"tiktoken_tokenizer","repo":"squeezeailab/squeezellm","repo_kind":"listed","path":"models/xgen-7b-8k-base/tokenization_xgen.py","file_url":"https://github.com/squeezeailab/squeezellm/blob/HEAD/models/xgen-7b-8k-base/tokenization_xgen.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5445de6acd6035bb"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}