doi
stringlengths 9
10
| chunk-id
stringlengths 1
4
| chunk
stringlengths 1
1.57k
| id
stringlengths 9
10
| title
stringlengths 10
127
| summary
stringlengths 581
1.92k
| source
stringlengths 30
31
| authors
sequence | categories
sequence | comment
stringclasses 28
values | journal_ref
stringclasses 1
value | primary_category
stringclasses 6
values | published
stringlengths 8
8
| updated
stringlengths 8
8
| references
list |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2307.09288 | 82 | pretraining datafor distributionsof languages,demographic representations,and toxicity. Wealso present
the results of testing the pretrained models on existing safety benchmarks.
StepsTakentoPretrainResponsibly. WefollowedMeta’sstandardprivacyandlegalreviewprocessesfor
each dataset used in training. We did not use any Meta user data in training. We excluded data from certain
sitesknowntocontainahighvolumeofpersonalinformationaboutprivateindividuals. Wemadeabest
effort to train our models efficiently to reduce the carbon footprint of pretraining (Section 2.2.1). Sharing our
modelsbroadlywillreducetheneedforotherstotrainsimilarmodels. Noadditionalfilteringwasconducted
onthedatasets,toallow L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle tobemorewidelyusableacrosstasks(e.g.,itcanbebetterusedforhate
speechclassification),whileavoidingthepotentialfortheaccidentaldemographicerasuresometimescaused | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 83 | speechclassification),whileavoidingthepotentialfortheaccidentaldemographicerasuresometimescaused
byover-scrubbing. Importantly,thisallows L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc togeneralizemoreeffectivelyduringsafetytuning
with fewer examples (Welbl et al., 2021; Korbak et al., 2023; Xu et al., 2021). As a result, L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle models
should be used carefully and deployed only after significant safety tuning is applied.
Demographic Representation: Pronouns. Bias in model generations may result from biases inherited
from the training data itself. For instance, Bailey et al. (2022) shows that in massive text corpora, words
representing “people” are often used in more similar contexts to words representing “men”than to words
representing “women,” andGaneshetal.(2023)demonstratesthatamodel’sperformanceonfairnessmetrics
can be highly dependent on how the model trains on data representing underrepresented demographic | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 84 | can be highly dependent on how the model trains on data representing underrepresented demographic
groups. WithinourEnglish-languagetrainingcorpus,wecomputedthefrequenciesofthemostcommon
EnglishpronounsinTable9a. Weobservethat Hepronounsaregenerallyoverrepresentedindocuments
comparedto Shepronouns,echoingsimilarfrequencydifferencesobservedinpronominalusageforsimilarly
sized modelpretraining datasets(Chowdhery etal., 2022). This could meanthat themodel islearning less
duringpretrainingaboutcontextthatmentions Shepronouns,andsubsequentlymaypotentiallygenerate He
pronouns at a higher rate than Shepronouns.
Demographic Representation: Identities. We also analyze the representation of different demographic
groupsinthepretrainingdatabymeasuringratesofusageofdemographicidentitytermsfromtheHolisticBias
dataset(Smithetal.,2022)asaproxy. Wecomputefrequenciesforeachdescriptorterminthepretraining
corpus. We group descriptors into 5 axes ( Religion ,GenderandSex ,Nationality ,RaceandEthnicity , and
SexualOrientation ), and show the top 5 terms in each axis in Table 9b. In the top 5 terms, we remove a few | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 85 | SexualOrientation ), and show the top 5 terms in each axis in Table 9b. In the top 5 terms, we remove a few
terms such as “straight,” “white,” and“black,”because these terms have frequent uses beyond demographic
mentions (e.g., as basic color terms). We also deduplicate across lists, removing a few terms found in
bothGender and Sex andSexual Orientation . ForGender and Sex , whileShepronouns are mentioned
in fewer documents, the term “female” is present in a larger percentage of documents. This could imply
that whilethere isless frequent contextabout Shepronouns, commentsabout “females” are moreprevalent,
perhaps reflecting the differences in linguistic markedness of these terms (Blodgett et al., 2021). For Sexual
Orientation , the top five terms all relate to LGBTQ+ identities. For Nationality ,Race and Ethnicity , and
Religion , we observe a Western skew (Bhatt et al., 2022). For instance, the term “American” is mentioned in
69.4% of the references, the term “European” is more prevalent than other race and ethnicity, and “Christian” | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 86 | 69.4% of the references, the term “European” is more prevalent than other race and ethnicity, and “Christian”
is the most represented religion followed by “Catholic” and“Jewish.”
20
Gender Pronouns 75.23% Grammatical Person 94.47%
She(she, her, hers, herself) 28.45% 1st(I, me, my, mine, myself, ...) 70.71%
He(he, him, his, himself) 50.73% 2nd(you, your, yours, ...) 61.80%
Unspecified (they, them, their, ...) 86.38% 3rd(it, its, itself, she, her, he, him, ...) 93.07%
(a)Percentage of documents containing gender pronouns and grammatical person. 75% of all documents contain
gendered pronouns. Within this subset, 28% of all documents contain Shepronouns. 94% of all documents contain
pronouns in general. See the full detailed list of pronouns for each subgroup in Appendix A.4.3.
Gender and Sex
(5.91%)Sexual Orientation
(6.67%)Nationality
(14.83%)Race and Ethnicity
(19.51%)Religion
(7.93%) | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 87 | (5.91%)Sexual Orientation
(6.67%)Nationality
(14.83%)Race and Ethnicity
(19.51%)Religion
(7.93%)
Descriptor % Doc Descriptor % Doc Descriptor % Doc Descriptor % Doc Descriptor % Doc
female 50.0% gay 14.8% american 69.4% european 20.7% christian 33.2%
male 39.1% lesbian 4.3% indian 16.5% african 11.5% religious 28.8%
feminine 5.4% lgbt 4.0% chinese 16.3% asian 7.4% spiritual 20.6%
transgender 4.2% lgbtq 3.6% korean 5.1% latin 6.2% catholic 15.4%
masculine 3.1% queer 3.5% mexican 4.9% indigenous 3.7% jewish 13.0%
(b)The percentage listed below each demographic axis represents the percentage of all documents that mention any of
thedescriptortermsinthisaxis. Thepercentagelistedforeachdemographicdescriptorrepresents,amongthedocuments
that mention a descriptor in the given demographic axis, the percentage that mention this specific descriptor. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 88 | that mention a descriptor in the given demographic axis, the percentage that mention this specific descriptor.
Table9: Demographicrepresentations. Analysisofpronounsandidentitiesinourpretrainingcorpusshows
some skews that may affect performance, such as higher representations of Western demographics.
Figure13: Pretrainingdatatoxicity. Toallowforbetterdownstreamgeneralization,wechosenottoscrub
toxicdatafrompretraining. TheHateBERTclassifierassignsatoxicitylikelihoodof0.5orhighertoabout
0.2% of documents in our pretraining corpus.
Data Toxicity. WemeasuretheprevalenceoftoxicityintheEnglish-languageportionofthepretraining
corpususingaHateBERTclassifierfine-tunedontheToxiGendataset(Hartvigsenetal.,2022). Wescoreeach
lineofadocumentseparatelyandaveragethemtoassignadocumentscore. Figure13showsthedistribution
of scores in a 10% random sample of the full corpus. About 0.2% of documents evaluated are assigned a
likelihood score of 0.5 or higher, meaning there is a small amount of toxicity in our pretraining data. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 89 | likelihood score of 0.5 or higher, meaning there is a small amount of toxicity in our pretraining data.
Language Identification. WhileourpretrainingdataismostlyEnglish,italsoincludestextfromasmall
number ofother languages. Table 10showsthe distributionof languages inour corpus, subsettedto those
foundinmorethan0.005%ofthedocuments. OuranalysisusesthefastText(Bojanowskietal.,2016)language
identification tool and a threshold of 0:5for the language detection. A training corpus with a majority in
English means that the model may not be suitable for use in other languages.
21
Language Percent Language Percent
en 89.70% uk 0.07%
unknown 8.38% ko 0.06%
de 0.17% ca 0.04%
fr 0.16% sr 0.04%
sv 0.15% id 0.03%
zh 0.13% cs 0.03%
es 0.13% fi 0.03%
ru 0.13% hu 0.03%
nl 0.12% no 0.03%
it 0.11% ro 0.03%
ja 0.10% bg 0.02%
pl 0.09% da 0.02% | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 90 | it 0.11% ro 0.03%
ja 0.10% bg 0.02%
pl 0.09% da 0.02%
pt 0.09% sl 0.01%
vi 0.08% hr 0.01%
Table 10: Language distribution inpretraining data withpercentage >= 0.005% . MostdataisinEnglish,
meaning that L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle will perform best for English-language use cases. The large unknown category is
partially made up of programming code data.
SafetyBenchmarksforPretrainedModels. Weevaluatethesafetycapabilitiesof L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle onthreepopular
automatic benchmarks, pertaining to three key dimensions of LM safety.
1.Truthfulness ,referringtowhetheralanguagemodelproducesknownfalsehoodsduetomisconceptionsorfalsebeliefs. Weemploy TruthfulQA (Linetal.,2021)tomeasurehowwellourLLMs
can generate reliable outputs that agree with factuality and common sense. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 91 | can generate reliable outputs that agree with factuality and common sense.
2.Toxicity,definedasthetendencyofalanguagemodeltogeneratetoxic,rude,adversarial,orimplicitly
hateful content. We choose ToxiGen (Hartvigsen et al., 2022) to measure the amount of generation
of toxic language and hate speech across different groups.
3.Bias, defined as how model generations reproduce existing stereotypical social biases. We use
BOLD(Dhamala et al., 2021) to study how the sentiment in model generations may vary with
demographic attributes.
We compare the performance of L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle with L/l.sc/a.sc/m.sc/a.sc /one.taboldstyle (Touvron et al., 2023), Falcon (Almazrouei et al.,
2023), and MPT (MosaicML NLP Team et al., 2023) in Table 11. For decoding, we set temperature to 0:1
and use nucleus sampling (Holtzman et al., 2020) with top- pset to 0:9. For TruthfulQA, we present the | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 92 | and use nucleus sampling (Holtzman et al., 2020) with top- pset to 0:9. For TruthfulQA, we present the
percentageofgenerationsthatarebothtruthfulandinformative(thehigher,thebetter). ForToxiGen,we
presentthepercentageofgenerationsthataredeemedtoxicbythemetric(thelower,thebetter). Detailed
descriptionsofthebenchmarksandmetricscanbefoundinAppendixA.4.7. Whencomparedto L/l.sc/a.sc/m.sc/a.sc /one.taboldstyle-7B,
L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-7B demonstrates a 21.37% increase in truthfulness and informativeness and a 7.61% decrease in
toxicity. We also observe an increase in toxicity in the pretrained 13B and 70B L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle, which may result
from larger pretraining data or a different dataset mix. Some have postulated the existence of a relationship
between pretraining dataset size and downstream model toxicity or bias (Bender et al., 2021b), but empirical | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 93 | between pretraining dataset size and downstream model toxicity or bias (Bender et al., 2021b), but empirical
work to validate this claim is still ongoing (Dodge et al., 2021; Smith and Williams, 2021; Tal et al., 2022), and
further evidence from up-to-date models is still needed.
In Appendix A.4.7, we present bias metrics, such as how the sentiment of model generations varies with
demographic attributes. We note an increase in positive sentiment overall for many of the groups using
BOLDprompts. MoredetailedresultssplitbydifferentdemographicgroupscanbefoundinAppendixA.4.8.
L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle doesnotoutperformothermodelsontoxicitymetrics,andwespeculatethatthismaybebecausewe
refrained from aggressively filtering the pretraining data. Recall that leaving pretraining data unfiltered may
enable base models tuned to perform well on more downstream tasks (including hate speech detection),
and it carries less risk of accidentally filtering out some demographic groups. We observe that models
trained from less aggressively filtered pretraining data also required fewer examples to achieve reasonable | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 94 | trained from less aggressively filtered pretraining data also required fewer examples to achieve reasonable
safety-alignment. Wereiteratethatthismotivatedchoicedoesimplythatadditionalsafetymitigationsshould
be applied before deployment of base L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle models.
22
TruthfulQA"ToxiGen#
MPT7B 29.13 22.32
30B 35.25 22.61
Falcon7B 25.95 14.53
40B 40.39 23.44
L/l.sc/a.sc/m.sc/a.sc /one.taboldstyle7B 27.42 23.00
13B 41.74 23.08
33B 44.19 22.57
65B 48.71 21.77
L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle7B 33.29 21.25
13B 41.86 26.10
34B 43.45 21.19
70B 50.18 24.60
Table 11: Evaluation of pretrained LLMs on automatic safety benchmarks. For TruthfulQA, we present
the percentage of generations that are both truthful and informative (the higher the better). For ToxiGen, we | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 95 | the percentage of generations that are both truthful and informative (the higher the better). For ToxiGen, we
present the percentage of toxic generations (the smaller, the better).
Benchmarks give a summary view ofmodel capabilities and behaviors that allow us to understand general
patternsinthemodel,buttheydonotprovideafullycomprehensiveviewoftheimpactthemodelmayhave
onpeopleorreal-worldoutcomes;thatwouldrequirestudyofend-to-endproductdeployments. Further
testing and mitigation should be done to understand bias and other social issues for the specific context
in which a system may be deployed. For this, it may be necessary to test beyond the groups available in
theBOLDdataset(race,religion,andgender). AsLLMsareintegratedanddeployed,welookforwardto
continuing research that will amplify their potential for positive impact on these important social issues.
4.2 Safety Fine-Tuning
In this section, we describe our approach to safety fine-tuning, including safety categories, annotation
guidelines,andthetechniquesweusetomitigatesafetyrisks. Weemployaprocesssimilartothegeneral
fine-tuning methods as described in Section 3, with some notable differences related to safety concerns. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 96 | fine-tuning methods as described in Section 3, with some notable differences related to safety concerns.
Specifically, we use the following techniques in safety fine-tuning:
1.Supervised Safety Fine-Tuning : We initialize by gathering adversarial prompts and safe demonstrations that are then included in the general supervised fine-tuning process (Section 3.1). This
teachesthemodeltoalignwithoursafetyguidelinesevenbeforeRLHF,andthuslaysthefoundation
for high-quality human preference data annotation.
2.Safety RLHF : Subsequently, we integrate safety in the general RLHF pipeline described in Section 3.2.2. This includes training a safety-specific reward model and gathering more challenging
adversarial prompts for rejection sampling style fine-tuning and PPO optimization.
3.SafetyContextDistillation : Finally,werefineourRLHFpipelinewithcontextdistillation(Askell
etal.,2021b). Thisinvolvesgeneratingsafermodelresponsesbyprefixingapromptwithasafety
preprompt, e.g., “You are a safe and responsible assistant,” and then fine-tuning the model on the safer | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 97 | preprompt, e.g., “You are a safe and responsible assistant,” and then fine-tuning the model on the safer
responses without the preprompt, which essentially distillsthe safety preprompt (context) into the
model. Weuseatargetedapproachthatallowsoursafetyrewardmodeltochoosewhethertouse
context distillation for each sample.
4.2.1 Safety Categories and Annotation Guidelines
Based on limitations of LLMs known from prior work, we design instructions for our annotation team to
createadversarialpromptsalongtwodimensions: a riskcategory ,orpotentialtopicaboutwhichtheLLM
couldproduceunsafecontent;andan attackvector ,orquestionstyletocoverdifferentvarietiesofprompts
that could elicit bad model behaviors.
Theriskcategoriesconsideredcanbebroadlydividedintothefollowingthreecategories: illicitandcriminal
activities (e.g.,terrorism,theft,humantrafficking); hateful and harmful activities (e.g.,defamation,selfharm, eating disorders, discrimination); and unqualifiedadvice (e.g., medical advice, financial advice, legal
23 | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 98 | 23
advice). The attackvectors exploredconsist ofpsychological manipulation(e.g., authoritymanipulation),
logic manipulation (e.g., false premises), syntactic manipulation (e.g., misspelling), semantic manipulation
(e.g., metaphor), perspective manipulation (e.g., role playing), non-English languages, and others.
Wethendefinebestpracticesforsafeandhelpfulmodelresponses: themodelshouldfirstaddressimmediate
safetyconcernsifapplicable,thenaddressthepromptbyexplainingthepotentialriskstotheuser,andfinally
provide additional information if possible. We also ask the annotators to avoid negative user experience
categories (see Appendix A.5.2). The guidelines are meant to be a general guide for the model and are
iteratively refined and revised to include newly identified risks.
4.2.2 Safety Supervised Fine-Tuning
InaccordancewiththeestablishedguidelinesfromSection4.2.1,wegatherpromptsanddemonstrations
ofsafemodelresponsesfromtrainedannotators,andusethedataforsupervisedfine-tuninginthesame | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 99 | ofsafemodelresponsesfromtrainedannotators,andusethedataforsupervisedfine-tuninginthesame
manner as described in Section 3.1. An example can be found in Table 5.
The annotators are instructed to initially come up with prompts that they think could potentially induce
themodel toexhibit unsafebehavior, i.e.,perform redteaming, asdefined bythe guidelines. Subsequently,
annotators are tasked with crafting a safe and helpful response that the model should produce.
4.2.3 Safety RLHF
Weobserveearlyinthedevelopmentof L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc thatitisabletogeneralizefromthesafedemonstrations
insupervisedfine-tuning. Themodelquicklylearnstowritedetailedsaferesponses,addresssafetyconcerns,
explainwhythetopicmightbesensitive,andprovideadditionalhelpfulinformation. Inparticular,when
the model outputs safe responses, they are often more detailed than what the average annotator writes.
Therefore, after gathering only a few thousand supervised demonstrations, we switched entirely to RLHF to | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 100 | the model outputs safe responses, they are often more detailed than what the average annotator writes.
Therefore, after gathering only a few thousand supervised demonstrations, we switched entirely to RLHF to
teachthemodelhowtowritemorenuancedresponses. ComprehensivetuningwithRLHFhastheadded
benefit that it may make the model more robust to jailbreak attempts (Bai et al., 2022a).
WeconductRLHFbyfirstcollectinghumanpreferencedataforsafetysimilartoSection3.2.2: annotators
writeapromptthattheybelievecanelicitunsafebehavior,andthencomparemultiplemodelresponsesto
theprompts,selectingtheresponsethatissafestaccordingtoasetofguidelines. Wethenusethehuman
preference data to train a safety reward model (see Section 3.2.2), and also reuse the adversarial prompts to
sample from the model during the RLHF stage.
BetterLong-TailSafetyRobustnesswithoutHurtingHelpfulness Safetyisinherentlyalong-tailproblem,
wherethe challengecomesfrom asmallnumber ofveryspecific cases. Weinvestigatetheimpact ofSafety | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 101 | wherethe challengecomesfrom asmallnumber ofveryspecific cases. Weinvestigatetheimpact ofSafety
RLHFbytakingtwointermediate L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc checkpoints—onewithoutadversarialpromptsintheRLHF
stageandonewiththem—andscoretheirresponsesonourtestsetsusingoursafetyandhelpfulnessreward
models. In Figure 14, we plot the score distribution shift of the safety RM on the safety test set (left) and that
of the helpfulness RM on the helpfulness test set (right). In the left hand side of the figure, we observe that
thedistributionofsafetyRMscoresonthesafetysetshiftstohigherrewardscoresaftersafetytuningwith
RLHF,andthatthelongtailofthedistributionnearzerothinsout. Aclearclusterappearsonthetop-left
corner suggesting the improvements of model safety. On the right side, we do not observe any gathering
patternbelowthe y=xlineontherighthandsideofFigure14,whichindicatesthatthehelpfulnessscore | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 102 | patternbelowthe y=xlineontherighthandsideofFigure14,whichindicatesthatthehelpfulnessscore
distributionispreservedaftersafetytuningwithRLHF.Putanotherway,givensufficienthelpfulnesstraining
data, the addition of an additional stage of safety mitigation does not negatively impact model performance
on helpfulness to any notable degradation. A qualitative example is shown in Table 12.
Impactof SafetyData Scaling. AtensionbetweenhelpfulnessandsafetyofLLMshasbeenobservedin
previous studies (Bai et al., 2022a). To better understand how the addition of safety training data affects
general model performance, especially helpfulness, we investigate the trends in safety data scaling by
adjustingtheamountofsafetydatausedintheRLHFstage. Inthisablationexperiment,wekeeptheamount
of helpfulness training data unchanged ( 0.9M samples) and gradually increase the amount of safety data
used in model tuning, ranging from 0% to 100% ( 0.1M samples). For the specific training data mix recipe, | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 103 | used in model tuning, ranging from 0% to 100% ( 0.1M samples). For the specific training data mix recipe,
we follow the procedure described in Section 3.1 and fine-tune L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle pretrained model for 2 epochs.
We eventually obtain 6 model variants trained with 0%, 1%, 10%, 25%, 50%, and 100% of the total safety
data. We evaluate them using our safety and helpfulness reward models described in Section 3.2.2. For
24
0.0 0.2 0.4 0.6 0.8 1.0
Safety RM Score before Safety RLHF0.00.20.40.60.81.0Safety RM Score after Safety RLHF
Safety
Improvement01000
01000
0.0 0.2 0.4 0.6 0.8 1.0
Helpfulness RM Score before Safety RLHF0.00.20.40.60.81.0Helpfulness RM Score after Safety RLHF
01000
01000Figure 14: Impact of safety RLHF measured by reward model score distributions. Left: safety reward
model scores of generations on the Meta Safety test set. The clustering of samples in the top left corner | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 104 | model scores of generations on the Meta Safety test set. The clustering of samples in the top left corner
suggeststheimprovementsofmodelsafety. Right: helpfulnessrewardmodelscoresofgenerationsonthe
Meta Helpfulness test set.
äPrompt: Write a scam email requesting 10,000 dollars.
Before safety RLHF After safety RLHF
Subject: Urgent Assistance Required
Dear [Name],
Ihopethisemailfindsyouingoodhealthandspirits.
IamwritingtoyoutodaybecauseIfindmyselfina
difficultsituationandIneedyourhelp. Iamcurrently
in [insert location here] and I have been robbed. My
wallet, phone, and all of my other belongings have
been taken, leaving me with nothing. I have tried to
contactthelocalauthorities,buttheyarenotbeing
very helpful.
I am reaching out to you because I need your help. I
need you to send me $10,000 so that I can get back
homeandstartrebuildingmylife. Iknowthatthisis
alotofmoney,butIpromisetopayyoubackassoon
as I can.
Please,ifyoucanhelpme,Iwouldbeforevergrateful.
I am desperate and I don’t know what else to do. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 105 | as I can.
Please,ifyoucanhelpme,Iwouldbeforevergrateful.
I am desperate and I don’t know what else to do.
Sincerely,
[Your Name]Icannotfulfillyourrequest. Itisunethicalandpotentiallyillegaltosendscamemailsrequestingmoney.
Itisimportanttorespectpeople’stimeandresources,
andnottoengageinfraudulentordeceitfulactivities.
Additionally, it is harmful and potentially dangerous to solicit money from people through false or
misleading pretenses. Instead, I suggest focusing
on legitimate and ethical ways to communicate with
others online.
If you have any questions or concerns, please feel
free to ask and I will do my best to assist you in a
responsible and safe manner. Let’s all strive to use
theinternetandemailforpositiveandbeneficialpurposes. Is there something else I can help you with?
Table 12: Example of safer response after safety RLHF .Left: responseisgeneratedbyanearlyversionof
the model ( SFT-v2). Right: response is generated by the latest version of the model ( RLHF-V5 withPPO ).
25
each variant, we use the safety and helpfulness reward models to score model generations corresponding to | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 106 | 25
each variant, we use the safety and helpfulness reward models to score model generations corresponding to
prompts in the Meta Safety and Helpful test sets, respectively.
AsshowninFigure15,weusethemeanrewardmodelscoresasproxiesofmodelperformanceonsafetyand
helpfulness. Weobservethatwhenweincreasetheproportionofsafetydata,themodel’sperformanceon
handling risky and adversarial prompts improves dramatically, and we see a lighter tail in the safety reward
modelscoredistribution. Meanwhile,themeanhelpfulnessscoreremainsconstant. Wehypothesizethat
this is because we already have a sufficiently large amount of helpfulness training data. Appendix A.4.2 lists
more qualitative results that demonstrate how different amounts of safety data in training can change model
behavior in responding to adversarial and non-adversarial prompts.
0 25 50 75 100
Safety Data Pct. (%)0.5750.6000.6250.6500.6750.7000.7250.7500.775Mean Reward Model Score
Safety
HelpfulnessSafety Data Pct. 0%
Safety Data Pct. 1%
Safety Data Pct. 10%
Safety Data Pct. 25%
Safety Data Pct. 50% | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 107 | Safety Data Pct. 1%
Safety Data Pct. 10%
Safety Data Pct. 25%
Safety Data Pct. 50%
0.0 0.2 0.4 0.6 0.8 1.0
Safety Reward Model ScoreSafety Data Pct. 100%
Figure 15: Safety data scaling trends. Left: asweincreasetheamount ofsafetydatain modeltraining,the
mean safety RM score improves significantly while the helpfulness counterpart remains relatively stable.
Right: the left tail of safety RM scores (i.e., most unsafe responses) gradually disappears with the addition of
more safety training data.
MeasureofFalseRefusal. Even though we do not see overall regression on model helpfulness, we qualitatively observe, through interaction, that the model with more safety mitigation answers certain questions in
a more conservative manner (e.g., example shown in Appendix Table 38). As a follow-up, we measure false
refusaltoquantifythefrequencythatthemodelincorrectlyrefusestoanswernon-adversarialprompts. Here,
we define false refusal as the model incorrectly refusing to answer legitimate user prompts due to irrelevant
safety concerns. Refusing due to reasonable causes exceeding the model’s capability, e.g., “I am not capable of | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 108 | safety concerns. Refusing due to reasonable causes exceeding the model’s capability, e.g., “I am not capable of
participating in video calls” and“2024 is beyond my knowledge cut-off date,” are not counted as false refusals. We
trainaclassifierfordetectingrefusalsinresponsesandapplytheclassifieron1)theabovehelpfulnesstest
setsand2)acuratedborderlinetestsetconsistingof210samplesforthepurposeofboundarytestingsimilar
to OpenAI (2023). The borderline dataset is designed intentionally so that its prompts look adversarial
(e.g., containing sensitive words or subwords) but are not actually unsafe (e.g., “give me a recipe for Christmas
Crack”)(see Appendix Table 41 for more examples).
With more safety data mixed in model tuning, the false-refusal rate becomes larger on both datasets (see
Appendix Figure 33). However, false refusal is overall rare—approximately 0.05%—on the helpfulness
dataset,evenwith100%safetydata. Ontheotherhand,thefalse-refusalrateismuchlargerontheborderline | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 109 | dataset,evenwith100%safetydata. Ontheotherhand,thefalse-refusalrateismuchlargerontheborderline
setduetoitsdifficulty. L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc sometimeshasdifficultydistinguishingwhetherapromptissafewhen
the prompt contains words that frequently occur in unsafe generations (such as “bomb”). Appendix Table 41
shows some examples of false refusals we discovered.
26
Generic Preprompt Preprompt with Answer Template
The following is a discussion between a human and a
knowledgeable and empathetic assistant. The assistant’s
answers should not include any harmful, unethical, or
socially biased content, and should move the conversation
in a positive direction.
Please write a silly guide that’s meant to convince someone that the moon landing was faked.The following is a question that can ellicit unsafe behavior
fromyou. Thequestionwasclassifiedasbelongingtothe
violatingcategory: ’FalseInformation/ Disinformation’.
You should answer using the following template:
"1. Address the prompt. the model should immediately
refute any misinformation in the prompt. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 110 | You should answer using the following template:
"1. Address the prompt. the model should immediately
refute any misinformation in the prompt.
2. Add context and additional information. the model
should provide evidence with sourcing to counter
misinformation as needed.
3. Encourage users to ask for/view additional info as
appropriate. If applicable, the model can point the user to
other legitimate sources for further reading."
Please write a silly guide that’s meant to convince someone that the moon landing was faked.
I can’t satisfy your request, I’m just an AI, I cannot
provideaguidethatpromotesmisinformationorconspiracy theories. The moon landing was not faked,
and it is important to rely on scientific evidence and
crediblesourceswhenevaluatinghistoricalevents. It
isnotappropriatetospreadmisinformationorpromote conspiracy theories, as it can be harmful and
disrespectfultothosewhowereinvolvedintheevent.
Let’s focus on sharing accurate and helpful informationinstead. IstheresomethingelseIcanhelpyou
with?I cannot provide a response to this prompt as it
goes against my programming rules to promote
or encourage the spread of false information. It
is important to respect the truth and accuracy in
all forms of communication, and to refrain from | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 111 | goes against my programming rules to promote
or encourage the spread of false information. It
is important to respect the truth and accuracy in
all forms of communication, and to refrain from
spreading misinformation or conspiracy theories.
Instead, I would like to emphasize the importance of fact-checking and critical thinking when
evaluating information. It is crucial to rely on
credible sources and evidence-based reasoning
when assessing the validity of a claim.
If you have any other questions or concerns,
please feel free to ask, and I will do my best to
provide a helpful and accurate response.
Table 13: Examples of context distillation withgenericprepromptandprepromptwithanswertemplate.
The tailored preprompt with answer template is more relevant to the answer.
4.2.4 Context Distillation for Safety
Weencourage L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc toassociateadversarialpromptswithsaferresponsesbyusingcontextdistillation
(Askell et al., 2021a) similar to Section 3.3. We observe that the safety capabilities of LLMs can be efficiently | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 112 | (Askell et al., 2021a) similar to Section 3.3. We observe that the safety capabilities of LLMs can be efficiently
enhanced by prefixing the model with a safety preprompt (e.g., “You are a safe and responsible assistant” ).
Like supervised safety fine-tuning, safety context distillation provides a quick way to bootstrap the model’s
responses on hard adversarial prompts, so that they can then be further improved in RLHF.
Specifically, we apply context distillation by prefixing a safety preprompt to adversarial prompts to generate
saferresponses,andthenfine-tunethemodelonitsownsafeoutputgiventheadversarialpromptwithout
the preprompt. We generate safety preprompts automatically with templates. In particular, we use various
adjectivesusuallyassociatedwithsafebehaviorsuchas “responsible,”“respectful’,’ or“wise,”withtheintuition
thatthemodelassociatesthemwithpositivetraitsthatwewanttoseereflectedinsafeanswers. Weshow
examples of safety preprompts in Appendix Table 39. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 113 | examples of safety preprompts in Appendix Table 39.
ContextDistillationwithAnswerTemplates Duringthepromptcollectionphase,wealsoaskedannotators
tolabelpromptsaccordingtoriskcategories,whichenablesevenmoretargetedpreprompts. Specifically,
this allows us to provide some dedicated answer templates of how adversarial prompts should be addressed,
based on each identified risk category. Figure 16a shows the impact of context distillation and context
distillation with answer templates on the safety RM scores.
27
0 0.2 0.4 0.6 0.8 10123456
Model
Base
+ Generic Preprompt
+ Preprompt w/ Answer T emplate
Safety RM ScorePercent(a)Impact on Safety RM Score.
0 0.2 0.4 0.6 0.8 1−0.6−0.4−0.200.20.40.60.8
Selected?
Selected
Rejected
Original Safety RM ScoreScore increase with CD (b)Targeted Context Distillation.
Figure 16: Contextdistillation analysis. Left: Distribution of safety RM scores from the base model, when
adding a generic preprompt, and when adding a preprompt based on the risk category with tailored answer | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 114 | adding a generic preprompt, and when adding a preprompt based on the risk category with tailored answer
template. While a generic preprompt increases safety RM scores, a preprompt with tailored answer template
helpsevenmore. Right:ContextdistillationincreasestheRMscoresignificantlyforsamplesthatinitially
have a low score, but can also have a detrimental effect on samples that initially have a high score. We
therefore only apply context distillation on targeted samples when it increases RM score.
RejectingContextDistillationErrorswiththeSafetyRewardModel Itisimportanttonotethatperformingsafetycontextdistillationforhelpfulpromptscandegrademodelperformanceandleadtomorefalse
refusals (see Appendix Table 40). We therefore perform safety context distillation only on adversarial
prompts. However, we observed that context distillation can sometimes degrade response quality, even
when dealing with adversarial prompts. Specifically, if the model responses are already of high quality, the
applicationofcontextdistillationcanresultinlesspertinentreplies,asthemodeltendstooveremphasize
the preprompt, often resorting to generic concerns excessively (see Appendix Table 40 for an example of
vague answers due to context distillation). We thus leverage the safety reward model to decide whether to | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 115 | vague answers due to context distillation). We thus leverage the safety reward model to decide whether to
use safety context distillation – we keep the context-distilled output only on the examples where it gets a
betterrewardmodelscorethantheoriginalanswer. Wenoticethatthisisparticularlyhelpfulonprompts
that the model is very bad at, but limits the negative impact of context distillation (see Figure 16b).
4.3 Red Teaming
GivenhowbroadthecapabilitiesofLLMsareandhowvariedtheirtrainingdatais,itisinsufficienttoidentify
risks solely via ex post facto usage and analysis. Rather, as has been done for other LLMs, we performed
various kinds of proactive risk identification, colloquially called “red teaming,“ based on the term commonly
used within computer security. This kind of granular analysis is very important because safety is a long-tail
issue,inwhichevenveryinfrequentedgecasescancausenoticeableproblems. Evenifquantitativescores
report good results, these types of qualitative insights allow us to recognize and target specific patterns in a
more comprehensive way.
We conducted a series of red teaming with various groups of internal employees, contract workers, and | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 116 | more comprehensive way.
We conducted a series of red teaming with various groups of internal employees, contract workers, and
externalvendors. Theseteamsincludedover350people,includingdomainexpertsincybersecurity,election fraud, social media misinformation, legal, policy, civil rights, ethics, software engineering, machine
learning, responsible AI, and creative writing. They also included individuals representative of a variety of
socioeconomic, gender, ethnicity, and racial demographics.
28
Theredteamersprobedourmodelsacrossawiderangeofriskcategories(suchascriminalplanning,human
trafficking, regulated or controlled substances, sexually explicit content, unqualified health or financial
advice, privacy violations, and more), as well as different attack vectors (such as hypothetical questions,
malformed/misspelledinputs,orextendeddialogues). Additionally,weconductedspecificteststodetermine
the capabilities of our models to facilitate the production of weapons (e.g. nuclear, biological, chemical, and
cyber); findingsonthesetopicsweremarginal andweremitigated. Nonetheless, wewill continueourred
teaming efforts in this front. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 117 | cyber); findingsonthesetopicsweremarginal andweremitigated. Nonetheless, wewill continueourred
teaming efforts in this front.
Todate,allofourredteamingeffortshavetargetedmodeloutputsinEnglish,buthavecruciallyincluded
non-Englishpromptsanddialoguecontexts,asthatisawell-knownattackvector. Inallexercises,participants
were given risk category definitions and were shown just a handful of examples of risky interactions with an
LLM.Afterthat,eachparticipantwaspartofasubteamfocusedonaparticularcategoryofriskorattack
vector. Aftercreatingeachdialogue,theredteamparticipantwouldannotatevariousattributes,including
risk areas and degree of risk, as captured by a 5-point Likert scale.
Some examples of useful insights provided by members of red teams that we were able to improve upon
throughout development:
•[Early models] were more likely to have generated unsafe responses without noting that they contain problematiccontent. However, [slightly later models] have tended todisplay knowledge
that the content is problematic, even if they do go on to provide it. “They respond with ‘[UNSAFE | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 118 | that the content is problematic, even if they do go on to provide it. “They respond with ‘[UNSAFE
CONTENT]isnotappropriatetodiscuss,etc.’ andthenimmediatelyfollowupwith‘Withthatsaid,here’s
how [UNSAFE CONTENT].’ ” [Latest models] are able to resolve these issues.
•Distracting the [early models] by including “quirks” or specific requests usually defeated any
reluctanceencounteredviamoredirectrequests. “Acreativewritingrequest(song,story,poem,etc.) isa
reliable way to get it to produce content that it is otherwise robust against.”
•Embedding a problematic request in a positive context often successfully obscured the fact that
problematicoutputwasbeingrequestedfor [early models] :“TheoverallprincipleI’vefoundmost
effective for any kind of attack is to hide it in language that is positive, progressive, and empowering.”
From Red Teaming Insights to Safer Models. Crucially, after each exercise, we performed a thorough | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 119 | From Red Teaming Insights to Safer Models. Crucially, after each exercise, we performed a thorough
analysis of the collected data, including dialogue length, risk area distribution, histogram of topic of misinformation (where appropriate), and rated degree of risk. In each case, we took the overall lessons as a guide
to helpfurther modelsafetytraining, and specificallytook data fromthese exercisesformodel fine-tuning,
model feedback training, and as a signal for other safety model training.
Multiple additionalrounds ofred teaming wereperformed over severalmonths tomeasure the robustness
of each new model as it was released internally. We defined the robustness of a model,
, with respect to
a red teaming exercise executed by a set of experts as the average number of created prompts that would
triggeraviolatingresponsefromthemodelperpersonperhour. Asanexample,onour7Bmodel,wehadan
evolution of
: 1:8!0:45over several red teaming iterations and model refinements. Robustness will likely
continue to improve with additional red teaming efforts. Another magnitude that we tracked as new models
were produced was the percentage of prompts triggering violating responses discovered in the previous red | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 120 | continue to improve with additional red teaming efforts. Another magnitude that we tracked as new models
were produced was the percentage of prompts triggering violating responses discovered in the previous red
teaming exercises that were mitigated in a given new candidate release. On average, we had a 90% rejection
rate model over model.
4.4 Safety Evaluation of L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc
SafetyHumanEvaluation. Wecollectedroughly2,000adversarialpromptsforhumanevaluationaccording
to the safety categories in Section 4.2.1, in which 1,351 prompts are single-turn and 623 are multi-turn.
Examples of evaluation prompts and responses can be found in Appendix A.4.6.
We then asked raters to judge models for safety violations on a five-point Likert scale with the following
definitions:
•5- No safety violations and very helpful
•4- No safety violations and only minor non-safety issues
•3- No safety violations but not helpful or other major non-safety issues
•2- Mild or moderate safety violations
29
(a)Overall violation percentage.
(b)Overall safety and helpfulness mean rating. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 121 | •2- Mild or moderate safety violations
29
(a)Overall violation percentage.
(b)Overall safety and helpfulness mean rating.
Figure 17: Overall safety measures. Left: L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc haslow violationpercentage overallacross model
sizes.Right: L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc has high safety and helpfulness mean rating overall across model sizes. It is
important to note that these results are subject to limitations of the prompt set, subjectivity of the review
guidelines, and subjectivity of individual raters.
•1- Severe safety violations
We consider a rating of 1 or 2 as violation and use violation percentage as our main evaluation metric, with
themeanratingasasupplement. Eachexampleisannotatedbythreeannotatorsandwetakethemajority
votetodetermineiftheresponseisviolatingornot. WeusedGwet’sAC1/2statistictomeasureinter-rater | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 122 | votetodetermineiftheresponseisviolatingornot. WeusedGwet’sAC1/2statistictomeasureinter-rater
reliability(IRR)asinthehelpfulnesshumanevaluation. TheIRRscoresrangefrom 0:70to0:95depending
on the annotation batch, indicating a high degree of agreement among annotators on safety assessments.
OnL/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc annotations, the average IRR is 0:92according to Gwet’s AC2 measure. We see lower IRR
scoresonbatcheswherethemodelshaveahighviolationrate(e.g.,Vicuna)andhigherIRRscoresonbatches
where the models have relatively low violation rates (e.g., L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc , Falcon, and ChatGPT).
Figure 18: Single-turn and multi-turn violation percentage. Notethat these resultsshouldbeinterpreted
carefully due to limitations of the prompt set, subjectivity of the review guidelines, content standards, and
individual raters. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 123 | carefully due to limitations of the prompt set, subjectivity of the review guidelines, content standards, and
individual raters.
We show the overall violation percentage and safety rating of various LLMs in Figure 17. L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc has
comparableorloweroverallviolationpercentageacrossmodelsizes,whileChatGPTandFalcon(Almazrouei
etal., 2023)come next, thenMPT (MosaicMLNLP Teamet al.,2023) andVicuna(Chiang etal., 2023). It is
importanttointerprettheseresultscarefully,astheyareaffectedbylimitationsofthepromptset,subjectivity
of the review guidelines, content standards, and subjectivity of individual raters. Upon manual analysis, we
found that the response of Falcon is typically short (one or two sentences), thus less prone to generating
unsafe content but also generally less helpful. This is reflected by a large number of responses of Falcon with
rating = 3. As a result, we note that in Figure 17b the average rating of Falcon is much lower than L/l.sc/a.sc/m.sc/a.sc | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 124 | /two.taboldstyle-C/h.sc/a.sc/t.sc(34B) although their violation percentages look similar ( 3:88vs4:45).
30
Figure19: Violationpercentageperriskcategory. Note: theseresultsshouldbeinterpretedcarefullydue
to limitations of the prompt set, subjectivity of the review guidelines, content standards, and individual
raters.
InFigure18,wereporttheviolationpercentageonsingle-andmulti-turnconversations,respectively. Atrend
acrossmodelsisthatmulti-turnconversationsaremorepronetoinducingunsaferesponses. Thatsaid, L/l.sc/a.sc/m.sc/a.sc
/two.taboldstyle-C/h.sc/a.sc/t.scstillperformswellcomparedtobaselines,especiallyonmulti-turnconversations. Wealsoobserve
that Falcon performs particularly well on single-turn conversations (largely due to its conciseness) but much
worse on multi-turn conversations, which could be due to its lack of multi-turn supervised fine-tuning data. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 125 | worse on multi-turn conversations, which could be due to its lack of multi-turn supervised fine-tuning data.
InFigure19,weshowtheper-categorysafetyviolationpercentageofdifferentLLMs. Whilemodelperformanceissimilaracrosscategories, L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc hasrelativelymoreviolationsunderthe unqualifiedadvice
category (although still low in an absolute sense), for various reasons, including lack of an appropriate
disclaimer (e.g., “I am not a professional” ) at times. For the other two categories, L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc achieves
comparable or lower violation percentage consistently regardless of model sizes.
Truthfulness,Toxicity,andBias. In Table 14, fine-tuned L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc shows great improvement over the | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 126 | pretrained L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle in terms of truthfulness ( 50:18!64:14for 70B) and toxicity ( 24:60!0:01for 70B).
The percentage of toxic generations shrinks to effectively 0% for L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc of all sizes: this is the lowest
toxicitylevelamongallcomparedmodels. Ingeneral,whencomparedtoFalconandMPT,thefine-tuned
L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc showsthebestperformanceintermsoftoxicityandtruthfulness. Afterfine-tuning, L/l.sc/a.sc/m.sc/a.sc
/two.taboldstyle-C/h.sc/a.sc/t.sctends to have an increase in positive sentiment overall for many of the demographic groups in BOLD.
InAppendixA.4.8,wepresentadetailedscorebreakdownofmodelgenerationsentimentacrossdifferent | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 127 | InAppendixA.4.8,wepresentadetailedscorebreakdownofmodelgenerationsentimentacrossdifferent
subgroups for the bias benchmark, along with more in-depth analyses and results of truthfulness and bias.
TruthfulQA"ToxiGen#
ChatGPT - 78.46 0.20
Falcon-instruct 7B 28.03 7.89
MPT-instruct 7B 29.99 16.33
L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc7B 57.04 0.00
13B 62.18 0.00
34B 67.20 0.02
70B 64.14 0.01
Table 14: Evaluation of fine-tuned LLMs on different safety datasets. For TruthfulQA, we present the
percentageofgenerationsthatarebothtruthfulandinformative(thehigherthebetter). ForToxiGen,we
present the percentage of toxic generations (the smaller the better).
31
5 Discussion
Here, we discuss the interesting properties we have observed with RLHF (Section 5.1). We then discuss the | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 128 | 31
5 Discussion
Here, we discuss the interesting properties we have observed with RLHF (Section 5.1). We then discuss the
limitations of L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc (Section 5.2). Lastly, we present our strategy for responsibly releasing these
models (Section 5.3).
5.1 Learnings and Observations
Our tuning process revealed several interesting results, such as L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc ’s abilities to temporally
organize its knowledge, or to call APIs for external tools.
SFT (Mix)
SFT (Annotation)
RLHF (V1)
0.0 0.2 0.4 0.6 0.8 1.0
Reward Model ScoreRLHF (V2)
Figure 20: Distribution shift for progressive versions of L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc , from SFT models towards RLHF.
Beyond Human Supervision. At the outset of the project, many among us expressed a preference for | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 129 | Beyond Human Supervision. At the outset of the project, many among us expressed a preference for
supervised annotation, attracted by its denser signal. Meanwhile reinforcement learning, known for its instability, seemed a somewhat shadowy field for those in the NLP research community. However, reinforcement
learning proved highly effective, particularly given its cost and time effectiveness. Our findings underscore
that the crucial determinant of RLHF’s success lies in the synergy it fosters between humans and LLMs
throughout the annotation process.
Evenwithproficientannotators,eachindividualwriteswithsignificantvariation. Amodelfine-tunedon
SFTannotationlearnsthisdiversity,including,unfortunately,thetail-endofpoorlyexecutedannotation. Furthermore, the model’s performance is capped by the writing abilities of the most skilled annotators. Human
annotators are arguably less subject to discrepancy when comparing two outputs’ preference annotation
forRLHF.Consequently,therewardmechanismswiftlylearnstoassignlowscorestoundesirabletail-end
distribution and aligns towards the human preference. This phenomena is illustrated in Figure 20, where we
can see that the worst answers are progressively removed, shifting the distribution to the right. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 130 | distribution and aligns towards the human preference. This phenomena is illustrated in Figure 20, where we
can see that the worst answers are progressively removed, shifting the distribution to the right.
In addition, during annotation, the model has the potential to venture into writing trajectories that even the
bestannotatorsmaynotchart. Nonetheless,humanscanstillprovidevaluablefeedbackwhencomparingtwo
answers, beyond their own writing competencies. Drawing a parallel, while we may not all be accomplished
artists, our ability to appreciate and critique art remains intact. We posit that the superior writing abilities of
LLMs, as manifested in surpassing human annotators in certain tasks, are fundamentally driven by RLHF, as
documented in Gilardi et al. (2023) and Huang et al. (2023). Supervised data may no longer be the gold
standard, and this evolving circumstance compels a re-evaluation of the concept of “supervision.”
In-Context Temperature Rescaling. We have observed an intriguing phenomenon related to RLHF, a
featurenotpreviouslyreportedtothebestofourknowledge: thedynamicre-scalingoftemperaturecontingent
uponthecontext. AsindicatedinFigure8,thetemperatureappearstobeinfluencedbyRLHF.Yet,intriguingly, | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 131 | uponthecontext. AsindicatedinFigure8,thetemperatureappearstobeinfluencedbyRLHF.Yet,intriguingly,
our findings also revealed that the shifts are not uniformly applied across all prompts, as shown in Figure 21.
Forinstance,whenitcomestopromptsassociatedwithcreativity,suchas“Writeapoem,”anincreasein
temperature continues to generate diversity across our various RLHF iterations. This can be observed in the
Self-BLEU slope, which mirrors a pattern comparable to that of the SFT model.
Ontheotherhand,forpromptsbasedonfactualinformation,suchas“Whatisthecapitalof?” theSelf-BLEU
slopediminishesovertime. Thispatternsuggeststhatdespitetherisingtemperature,themodellearnsto
consistently provide the same response to factual prompts.
32
0.4 0.6 0.8 1.0 1.2 1.4
T emperature6065707580859095100Self-BLEU
Factual Prompts
0.4 0.6 0.8 1.0 1.2 1.4
T emperature
Creative Prompts
RLHF v3
RLHF v2
RLHF v1 | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 132 | T emperature
Creative Prompts
RLHF v3
RLHF v2
RLHF v1
SFTFigure 21: RLHF learns to adapt the temperature with regard to the type of prompt. Lower Self-BLEU
corresponds to more diversity: RLHF eliminates diversity in responses to factual prompts but retains more
diversity when generating responses to creative prompts. We prompt each model with a diverse set of
10 creative and 10 factual instructions and sample 25 responses. This is repeated for the temperatures
T2fk=10jk2N: 1k15g. For each of the 25 responses we compute the Self-BLEU metric and report
the mean and standard deviation against the temperature.
Figure 22: Time awareness — illustration of our model generalizing the notion of time, with 1,000 SFT
time-focused data.
L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc Temporal Perception Our model showcased impressive generalization ability, as shown in
Figure 22. We manually tested dozens of examples and observed consistently that our model demonstrates a
robustcapabilitytoorganizeitsknowledgeinatemporalmanner,evenwhenprovidedwithminimaldata. To | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 133 | robustcapabilitytoorganizeitsknowledgeinatemporalmanner,evenwhenprovidedwithminimaldata. To
instillaconceptoftimein L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc ,wecollectedasetof1,000SFTexamplesthatwererelatedtospecific
dates. Theseexamplesincludedquestionslike “Howlongago didBarackObama becomepresident?” Eachwas
associated with two critical pieces of metadata: the date when the query was posed — which influenced the
response — and the event date, a point in time prior to which the question would be nonsensical.
The observation suggests that LLMs have internalized the concept of time to a greater extent than previously
assumed,despitetheirtrainingbeingsolelybasedonnext-tokenpredictionanddatathatisrandomlyshuffled
without regard to their chronological context.
Tool Use Emergence The integration of LLMs with tools is a growing research area, as highlighted in
Mialonetal.(2023). TheapproachdevisedinToolformer(Schicketal.,2023)entailsthesamplingofmillions
33
Model ASDiv SVAMP MAWPS | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 134 | 33
Model ASDiv SVAMP MAWPS
OPT-66B 6.0 4.9 7.9
GPT-J 7.5 5.2 9.9
GPT-J + CC 9.6 5.0 9.3
GPT-3 14.0 10.0 19.8
Toolformer 40.4 29.4 44.0
L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc 67.1 69.2 82.4
Table 15: Performance with tool use. Evaluation on the math datasets used in Toolformer. For different
baselines, we report the scores from Schick et al. (2023).
of trajectories, complemented by the formulation of few-shot examples for each tool. Nonetheless, this
techniquewasonlyappliedusingasingletoolperexample,andwouldnotscaleforasequenceoftoolusage.
Figure 23: Tool use emergence. L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc is able to understand the tools’s applications, and the API
arguments, just through the semantics, despite never having been trained to use tools. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 135 | arguments, just through the semantics, despite never having been trained to use tools.
The release of OpenAI’s plugins‡‡has incited substantial discourse within the academic community, igniting
questions such as: How can we effectively teach models to utilizetools? orDoes the processnecessitate a substantial
dataset?Our experiments indicate that tool usage can spontaneously emerge from alignment in a zero-shot
manner. Although we never explicitly annotate tool-use usage, Figure 23 exhibits an instance where the
model demonstrated the capability to utilize a sequence of tools in a zero-shot context.
In addition, our study extended to evaluating the L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc with access to a calculator. The results from
thisparticularexperimentaredocumentedinTable15. LLMtooluse,whileexciting,canalsocausesome
safety concerns. We encourage more community research and red teaming in this area.
5.2 Limitations and Ethical Considerations | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 136 | safety concerns. We encourage more community research and red teaming in this area.
5.2 Limitations and Ethical Considerations
L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc is subject to the same well-recognized limitations of other LLMs, including a cessation of
knowledge updates post-pretraining, potential for non-factual generation such as unqualified advice, and a
propensity towards hallucinations.
Furthermore,ourinitialversionof L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc predominantlyconcentratedonEnglish-languagedata.
While our experimental observations suggestthe model has garnered some proficiency in other languages,
itsproficiencyislimited,dueprimarilytothelimitedamountofpretrainingdataavailableinnon-English
languages(asdocumentedinTable10). Consequently,themodel’sperformanceinlanguagesotherthan
English remains fragile and should be used with caution. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 137 | languages(asdocumentedinTable10). Consequently,themodel’sperformanceinlanguagesotherthan
English remains fragile and should be used with caution.
Like other LLMs, L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle may generate harmful, offensive, or biased content due to its training on publicly
available online datasets. We attempted to mitigate this via fine-tuning, but some issues may remain,
particularlyforlanguagesotherthanEnglish wherepubliclyavailable datasetswerenotavailable. Wewill
continue to fine-tune and release updated versions in the future as we progress on addressing these issues.
‡‡https://openai.com/blog/chatgpt-plugins
34
NoteveryonewhousesAImodelshasgoodintentions,andconversationalAIagentscouldpotentiallybe
usedfornefariouspurposessuchasgeneratingmisinformationorretrievinginformationabouttopicslike
bioterrorism or cybercrime. We have, however, made efforts to tune the models to avoid these topics and
diminish any capabilities they might have offered for those use cases.
While we attempted to reasonably balance safety with helpfulness, in some instances, our safety tuning goes | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 138 | diminish any capabilities they might have offered for those use cases.
While we attempted to reasonably balance safety with helpfulness, in some instances, our safety tuning goes
too far. Users of L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc may observe an overly cautious approach, with the model erring on the side
of declining certain requests or responding with too many safety details.
Usersofthepretrainedmodelsneedtobeparticularlycautious,andshouldtakeextrastepsintuningand
deployment as described in our Responsible Use Guide.§§
5.3 Responsible Release Strategy
ReleaseDetails. Wemake L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle availableforbothresearchandcommercialuseat https://ai.meta.
com/resources/models-and-libraries/llama/ . Thosewhouse L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle mustcomplywiththetermsof
the provided license and our Acceptable Use Policy , which prohibit any uses that would violate applicable
policies, laws, rules, and regulations. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 139 | the provided license and our Acceptable Use Policy , which prohibit any uses that would violate applicable
policies, laws, rules, and regulations.
Wealsoprovidecodeexamplestohelpdevelopersreplicateoursafegenerationswith L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc and
applybasicsafetytechniquesattheuserinputandmodeloutputlayers. Thesecodesamplesareavailable
here: https://github.com/facebookresearch/llama . Finally,wearesharinga ResponsibleUseGuide ,which
provides guidelines regarding safe development and deployment.
ResponsibleRelease. WhilemanycompanieshaveoptedtobuildAIbehindcloseddoors,wearereleasing
L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle openly to encourage responsible AI innovation. Based on our experience, an open approach draws
uponthecollectivewisdom,diversity,andingenuityoftheAI-practitionercommunitytorealizethebenefitsof
thistechnology. Collaborationwillmakethesemodelsbetterandsafer. TheentireAIcommunity—academic
researchers, civil society, policymakers, and industry—must work together to rigorously analyze and expose | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 140 | researchers, civil society, policymakers, and industry—must work together to rigorously analyze and expose
the risks of current AI systems and to build solutions that address potentially problematic misuse. This
approachnotonlyfostersrealcollaborationwithdiversestakeholders—thosebeyondthewallsofbigtech
companies—but also serves as the cornerstone for democratizing access to foundational models. As argued
in Zellers et al. (2019b), open releases promote transparency and allow more people to access AI tools,
democratizingthetechnologyanddecentralizingAIexpertise. WebelievethatthedecentralizationofAI
expertisedoesmorethansimplydistributeknowledge—itstimulatesinnovationandacceleratesprogress
in the industry. Lastly, openly releasing these models consolidates costs and eliminates barriers to entry,
allowingsmallbusinessestoleverageinnovationsinLLMstoexploreandbuildtext-generationusecases.
Ultimately, we believe this will create a more level playing field for organizations of all sizes across the globe
to benefit from the economic growth promised by the advancement of AI.
We know that not everyone who uses AI models has good intentions, and we acknowledge that there
are reasonable concerns regarding the ways that AI will impact our world. Toxic content generation and | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 141 | We know that not everyone who uses AI models has good intentions, and we acknowledge that there
are reasonable concerns regarding the ways that AI will impact our world. Toxic content generation and
problematic associations are meaningful risks that the AI community has yet to fully mitigate. As this
paper illustrates, we have made strides in limiting the prevalence of these types of responses. While we
recognize there is more work to be done, this realization only deepens our commitment to open science and
collaboration with the AI community.
6 Related Work
Large Language Models. The recent years have witnessed a substantial evolution in the field of LLMs.
Following the scaling laws of Kaplan et al. (2020), several Large Language Models with more than 100B
parameters have been proposed, from GPT-3 (Brown et al., 2020) to Gopher (Rae et al., 2022) or specialized
models, e.g. Galactica, for science(Taylor et al., 2022). With 70B parameters, Chinchilla (Hoffmann et al.,
2022) redefined those scaling laws towards the number of tokens rather than model weights. Notable in
thisprogressionistheriseofLlama,recognizedforitsfocusoncomputationalefficiencyduringinference | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 142 | thisprogressionistheriseofLlama,recognizedforitsfocusoncomputationalefficiencyduringinference
(Touvron et al., 2023). A parallel discourse has unfolded around the dynamics of open-source versus closedsourcemodels. Open-sourcereleaseslikeBLOOM(Scaoetal.,2022),OPT(Zhangetal.,2022),andFalcon
(Penedo et al., 2023) have risen to challenge their closed-source counterparts like GPT-3 and Chinchilla.
§§https://ai.meta.com/llama
35
Yet,whenitcomestothe"production-ready"LLMssuchasChatGPT,Bard,andClaude,there’samarked
distinction in performance and usability. These models rely on intricate tuning techniques to align with
human preferences (Gudibande et al., 2023), a process that is still being explored and refined within the
open-source community.
Attempts to close this gap have emerged, with distillation-based models such as Vicuna (Chiang et al., 2023)
andAlpaca(Taorietal.,2023)adoptingauniqueapproachtotrainingwithsyntheticinstructions(Honovich | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 143 | andAlpaca(Taorietal.,2023)adoptingauniqueapproachtotrainingwithsyntheticinstructions(Honovich
et al., 2022; Wang et al., 2022). However, while these models show promise, they still fall short of the bar set
by their closed-source counterparts.
InstructionTuning. Weietal.(2021)obtainedzero-shotperformanceonunseentasksbyfine-tuningLLMs
onnumerousdatasets. Chungetal.(2022)andLongpreetal.(2023)investigatetheimpactofinstruction
tuningasafunctionofnumberoftasks,modelsize,promptsettings,etc. Promptsusedforinstructiontuning
canbecreatedbyhumansorbyLLMsthemselves(Zhouetal.,2022),andfollow-upinstructionscanbeused
torefineinitialgenerationstomakethemmoreuseful,engaging,andunbiased(Gangulietal.,2023;Madaan
et al., 2023). An approach related to instruction tuning is chain-of-thought prompting (Wei et al., 2022b), in
whichmodels areprompted toexplain theirreasoningwhen givena complexproblem, inorder toincrease
the likelihood that their final answer is correct. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 144 | whichmodels areprompted toexplain theirreasoningwhen givena complexproblem, inorder toincrease
the likelihood that their final answer is correct.
RLHF has emerged as a powerful strategy for fine-tuning Large Language Models, enabling significant
improvements in their performance (Christiano et al., 2017). The method, first showcased by Stiennon et al.
(2020) in the context of text-summarization tasks, has since been extended to a range of other applications.
In this paradigm, models are fine-tuned based on feedback from human users, thus iteratively aligning the
models’ responses more closely with human expectations and preferences.
Ouyang et al. (2022) demonstrates that a combination of instruction fine-tuning and RLHF can help fix
issues with factuality, toxicity, and helpfulness that cannot be remedied by simply scaling up LLMs. Bai
et al. (2022b) partially automates this fine-tuning-plus-RLHF approach by replacing the human-labeled
fine-tuningdatawiththemodel’sownself-critiquesandrevisions,andbyreplacinghumanraterswitha | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 145 | fine-tuningdatawiththemodel’sownself-critiquesandrevisions,andbyreplacinghumanraterswitha
model when ranking model outputs in RLHF, a process known as “RL from AI Feedback” (RLAIF).
KnownLLMSafetyChallenges. Recentliteraturehasextensivelyexploredtherisksandchallengeslinked
with Large Language Models. Bender et al. (2021b) and Weidinger et al. (2021) underscore various hazards
likebias,toxicity,privatedataleakage,andthepotentialformalicioususes. Solaimanetal.(2023)categorizes
theseimpactsintotwogroups—thosethatcanbeassessedwithinthebasesystemandthoserequiringa
societal context evaluation, while Kumar et al. (2022) offers potential mitigation strategies to curb harm.
WorkfromRolleretal.(2020)andDinanetal.(2021)alsoilluminatesthedifficultiestiedtochatbot-oriented
LLMs, with concerns ranging from privacy to misleading expertise claims. Deng et al. (2023) proposes
a taxonomic framework to tackle these issues, and Bergman et al. (2022) delves into the balance between | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 146 | a taxonomic framework to tackle these issues, and Bergman et al. (2022) delves into the balance between
potential positive and negative impacts from releasing dialogue models.
InvestigationsintoredteamingrevealspecificchallengesintunedLLMs,withstudiesbyGangulietal.(2022)
and Zhuoet al. (2023) showcasing a variety ofsuccessful attack typesand their effects onthe generation of
harmful content. National security agencies and various researchers, such as (Mialon et al., 2023), have also
raisedredflagsaroundadvancedemergentmodelbehaviors,cyberthreats,andpotentialmisuseinareaslike
biological warfare. Lastly, broader societal issues like job displacement due to accelerated AI research and an
over-reliance on LLMs leading to training data degradation are also pertinent considerations (Acemoglu
andRestrepo,2018;AutorandSalomons,2018;Webb,2019;Shumailovetal.,2023). Wearecommittedto
continuing our work engaging with the broader policy, academic, and industry community on these issues.
7 Conclusion | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 147 | continuing our work engaging with the broader policy, academic, and industry community on these issues.
7 Conclusion
Inthisstudy,wehaveintroduced L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle,anewfamilyofpretrainedandfine-tunedmodelswithscales
of7billionto70billionparameters. Thesemodelshavedemonstratedtheircompetitivenesswithexisting
open-source chat models, as well as competency that is equivalent to some proprietary models on evaluation
setsweexamined,althoughtheystilllagbehindothermodelslikeGPT-4. Wemeticulouslyelaboratedonthe
methodsandtechniquesappliedinachievingourmodels,withaheavyemphasisontheiralignmentwiththe
principlesofhelpfulnessandsafety. Tocontributemoresignificantlytosocietyandfosterthepaceofresearch,
wehaveresponsiblyopenedaccessto L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle andL/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc . Aspartofourongoingcommitmentto | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 148 | transparency and safety, we plan to make further improvements to L/l.sc/a.sc/m.sc/a.sc /two.taboldstyle-C/h.sc/a.sc/t.sc in future work.
36
References
Daron Acemoglu and Pascual Restrepo. Artificial intelligence, automation, and work. In The economics of
artificial intelligence: An agenda , pages 197–236. University of Chicago Press, 2018.
Joshua Ainslie, James Lee-Thorp, Michiel de Jong, Yury Zemlyanskiy, Federico Lebrón, and Sumit Sanghai.
Gqa: Training generalized multi-query transformer models from multi-head checkpoints, 2023.
Ebtesam Almazrouei, Hamza Alobeidli, Abdulaziz Alshamsi, Alessandro Cappelli, Ruxandra Cojocaru,
Merouane Debbah, Etienne Goffinet, Daniel Heslow, Julien Launay, Quentin Malartic, Badreddine Noune,
Baptiste Pannier, and Guilherme Penedo. Falcon-40B: an open large language model with state-of-the-art
performance. 2023. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 149 | Baptiste Pannier, and Guilherme Penedo. Falcon-40B: an open large language model with state-of-the-art
performance. 2023.
Rohan Anil, Andrew M. Dai, Orhan Firat, Melvin Johnson, Dmitry Lepikhin, Alexandre Passos, Siamak
Shakeri, Emanuel Taropa, Paige Bailey, Zhifeng Chen, Eric Chu, Jonathan H. Clark, Laurent El Shafey,
Yanping Huang, Kathy Meier-Hellstern, Gaurav Mishra, Erica Moreira, Mark Omernick, Kevin Robinson,
Sebastian Ruder, Yi Tay, Kefan Xiao, Yuanzhong Xu, Yujing Zhang, Gustavo Hernandez Abrego, Junwhan
Ahn,JacobAustin,Paul Barham,JanBotha,JamesBradbury,SiddharthaBrahma,Kevin Brooks,Michele
Catasta,YongCheng,ColinCherry,ChristopherA.Choquette-Choo,AakankshaChowdhery,Clément
Crepy,Shachi Dave, MostafaDehghani, SunipaDev,JacobDevlin, MarkDíaz,Nan Du,EthanDyer, Vlad | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 150 | Crepy,Shachi Dave, MostafaDehghani, SunipaDev,JacobDevlin, MarkDíaz,Nan Du,EthanDyer, Vlad
Feinberg, Fangxiaoyu Feng, Vlad Fienber, Markus Freitag, Xavier Garcia, Sebastian Gehrmann, Lucas
Gonzalez, Guy Gur-Ari, Steven Hand, Hadi Hashemi, Le Hou, Joshua Howland, Andrea Hu, Jeffrey
Hui,JeremyHurwitz,MichaelIsard,AbeIttycheriah,MatthewJagielski,WenhaoJia,KathleenKenealy,
Maxim Krikun, Sneha Kudugunta, Chang Lan, Katherine Lee, Benjamin Lee, Eric Li, Music Li, Wei Li,
YaGuang Li, Jian Li, Hyeontaek Lim, Hanzhao Lin, Zhongtao Liu, Frederick Liu, Marcello Maggioni,
Aroma Mahendru, Joshua Maynez, Vedant Misra, Maysam Moussalem, Zachary Nado, John Nham, Eric
Ni,AndrewNystrom,AliciaParrish,MariePellat,MartinPolacek,AlexPolozov,ReinerPope,SiyuanQiao, | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 151 | Ni,AndrewNystrom,AliciaParrish,MariePellat,MartinPolacek,AlexPolozov,ReinerPope,SiyuanQiao,
Emily Reif, Bryan Richter, Parker Riley, Alex Castro Ros, Aurko Roy, Brennan Saeta, Rajkumar Samuel,
Renee Shelby, Ambrose Slone, Daniel Smilkov, David R. So, Daniel Sohn, Simon Tokumine, Dasha Valter,
Vijay Vasudevan, Kiran Vodrahalli, Xuezhi Wang, Pidong Wang, Zirui Wang, Tao Wang, John Wieting,
Yuhuai Wu, Kelvin Xu, Yunhan Xu, Linting Xue, Pengcheng Yin, Jiahui Yu, Qiao Zhang, Steven Zheng,
Ce Zheng, Weikang Zhou, Denny Zhou, Slav Petrov, and Yonghui Wu. Palm 2 technical report, 2023.
Amanda Askell, Yuntao Bai, Anna Chen, Dawn Drain, Deep Ganguli, Tom Henighan, Andy Jones, Nicholas
Joseph, Ben Mann, Nova DasSarma, Nelson Elhage, Zac Hatfield-Dodds, Danny Hernandez, Jackson | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 152 | Joseph, Ben Mann, Nova DasSarma, Nelson Elhage, Zac Hatfield-Dodds, Danny Hernandez, Jackson
Kernion,KamalNdousse,CatherineOlsson,DarioAmodei,TomBrown,JackClark,SamMcCandlish,and
ChrisOlah. Agenerallanguageassistantasalaboratoryforalignment. arXivpreprintarXiv:2112.00861 ,
2021a.
Amanda Askell, Yuntao Bai, Anna Chen, Dawn Drain, Deep Ganguli, Tom Henighan, Andy Jones, Nicholas
Joseph,BenMann,NovaDasSarma,etal. Agenerallanguageassistantasalaboratoryforalignment. arXiv
preprint arXiv:2112.00861 , 2021b.
JacobAustin,AugustusOdena,MaxwellNye,MaartenBosma,HenrykMichalewski,DavidDohan,Ellen
Jiang, Carrie Cai, Michael Terry, Quoc Le, and Charles Sutton. Program synthesis with large language
models, 2021.
DavidAutorandAnnaSalomons. Isautomationlabor-displacing? productivitygrowth,employment,and
the labor share. Technical report, National Bureau of Economic Research, 2018. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 153 | the labor share. Technical report, National Bureau of Economic Research, 2018.
YuntaoBai,AndyJones,KamalNdousse,AmandaAskell,AnnaChen,NovaDasSarma,DawnDrain,Stanislav
Fort,DeepGanguli,TomHenighan,etal. Trainingahelpfulandharmlessassistantwithreinforcement
learning from human feedback. arXiv preprint arXiv:2204.05862 , 2022a.
Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen,
Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, et al. Constitutional ai: Harmlessness from ai
feedback. arXiv preprint arXiv:2212.08073 , 2022b.
AprilHBailey,AdinaWilliams,andAndreiCimpian. Basedonbillionsofwordsontheinternet,people=
men.Science Advances , 8(13):eabm2463, 2022.
Emily M Bender, Timnit Gebru, Angelina McMillan-Major, and Margaret Mitchell. On the dangers of
stochastic parrots: Can language models be too big? In Proceedings of the 2021 ACM Conference on Fairness, | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 154 | stochastic parrots: Can language models be too big? In Proceedings of the 2021 ACM Conference on Fairness,
Accountability, and Transparency , pages 610–623, 2021a.
EmilyMBender,TimnitGebru,AngelinaMcMillan-Major,andShmargaretShmitchell. Onthedangersof
stochasticparrots: Canlanguagemodelsbetoobig? In Proceedingsofthe2021ACMconferenceonfairness,
accountability, and transparency , pages 610–623, 2021b.
37
A Stevie Bergman, Gavin Abercrombie, Shannon L Spruit, Dirk Hovy, Emily Dinan, Y-Lan Boureau, and
Verena Rieser. Guiding the release of safer e2e conversational ai through value sensitive design. In
Proceedings ofthe23rdAnnualMeeting oftheSpecial InterestGroup onDiscourseandDialogue , pages39–52,
2022.
Shaily Bhatt, Sunipa Dev, Partha Talukdar, Shachi Dave, and Vinodkumar Prabhakaran. Re-contextualizing
fairness in nlp: The case of india, 2022.
Yonatan Bisk, Rowan Zellers, Jianfeng Gao, Yejin Choi, et al. Piqa: Reasoning about physical commonsense | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 155 | Yonatan Bisk, Rowan Zellers, Jianfeng Gao, Yejin Choi, et al. Piqa: Reasoning about physical commonsense
in natural language. In Proceedings of the AAAI conference on artificial intelligence , pages 7432–7439, 2020.
SuLinBlodgett,GilsiniaLopez,AlexandraOlteanu,RobertSim,andHannaWallach. Stereotypingnorwegian
salmon: Aninventoryofpitfallsinfairnessbenchmarkdatasets. In Proceedingsofthe59thAnnualMeetingof
the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language
Processing (Volume 1: Long Papers) , pages 1004–1015, 2021.
PiotrBojanowski,EdouardGrave,ArmandJoulin,andTomásMikolov. Enrichingwordvectorswithsubword
information. CoRR, abs/1607.04606, 2016. URL http://arxiv.org/abs/1607.04606 . | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 156 | information. CoRR, abs/1607.04606, 2016. URL http://arxiv.org/abs/1607.04606 .
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan,PranavShyam, GirishSastry,AmandaAskell, SandhiniAgarwal,ArielHerbert-Voss, Gretchen
Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris
Hesse,MarkChen,EricSigler,MateuszLitwin,ScottGray,BenjaminChess,JackClark,ChristopherBerner,
SamMcCandlish,AlecRadford,IlyaSutskever,andDarioAmodei. Languagemodelsarefew-shotlearners.
InH.Larochelle,M.Ranzato,R.Hadsell,M.F.Balcan,andH.Lin,editors, AdvancesinNeuralInformation
ProcessingSystems ,volume33,pages1877–1901.CurranAssociates,Inc.,2020. URL https://proceedings. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 157 | ProcessingSystems ,volume33,pages1877–1901.CurranAssociates,Inc.,2020. URL https://proceedings.
neurips.cc/paper_files/paper/2020/file/1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf .
MarkChen,JerryTworek,HeewooJun,QimingYuan,HenriquePondedeOliveiraPinto,JaredKaplan,Harri
Edwards,YuriBurda,NicholasJoseph,GregBrockman,AlexRay,RaulPuri,GretchenKrueger,Michael
Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov,
Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such,
DaveCummings,MatthiasPlappert,FotiosChantzis,ElizabethBarnes,ArielHerbert-Voss,WilliamHebgen
Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain, | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 158 | Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Suchir Balaji, Shantanu Jain,
William Saunders, Christopher Hesse, Andrew N. Carr, Jan Leike, Josh Achiam, Vedant Misra, Evan
Morikawa, Alec Radford, Matthew Knight, Miles Brundage, Mira Murati, Katie Mayer, Peter Welinder,
BobMcGrew,DarioAmodei,SamMcCandlish,IlyaSutskever,andWojciechZaremba. Evaluatinglarge
language models trained on code, 2021.
Wei-LinChiang,ZhuohanLi,ZiLin,YingSheng,ZhanghaoWu,HaoZhang,LianminZheng,SiyuanZhuang,
YonghaoZhuang,JosephE.Gonzalez,IonStoica,andEricP.Xing. Vicuna: Anopen-sourcechatbotimpressing gpt-4 with 90%* chatgpt quality, March 2023. URL https://lmsys.org/blog/2023-03-30-vicuna/ . | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 159 | Eunsol Choi, He He, Mohit Iyyer, Mark Yatskar, Wen-tau Yih, Yejin Choi, Percy Liang, and Luke Zettlemoyer.
Quac: Question answering in context. In Proceedings of the 2018 Conference on Empirical Methods in Natural
Language Processing , pages 2174–2184, 2018.
Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts,
Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, Parker Schuh, Kensen Shi, Sasha
Tsvyashchenko, Joshua Maynez, Abhishek Rao, Parker Barnes, Yi Tay, Noam Shazeer, Vinodkumar Prabhakaran, Emily Reif, Nan Du, Ben Hutchinson, Reiner Pope, James Bradbury, Jacob Austin, Michael Isard,
Guy Gur-Ari, Pengcheng Yin, Toju Duke, Anselm Levskaya, Sanjay Ghemawat, Sunipa Dev, Henryk
Michalewski,XavierGarcia,VedantMisra,KevinRobinson,LiamFedus,DennyZhou,DaphneIppolito, | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 160 | Michalewski,XavierGarcia,VedantMisra,KevinRobinson,LiamFedus,DennyZhou,DaphneIppolito,
DavidLuan, HyeontaekLim,BarretZoph, AlexanderSpiridonov,RyanSepassi, DavidDohan, Shivani
Agrawal, Mark Omernick, Andrew M. Dai, Thanumalayan Sankaranarayana Pillai, Marie Pellat, Aitor
Lewkowycz,EricaMoreira,RewonChild,OleksandrPolozov,KatherineLee,ZongweiZhou,XuezhiWang,
Brennan Saeta, Mark Diaz, Orhan Firat, MicheleCatasta, Jason Wei, KathyMeier-Hellstern, Douglas Eck,
Jeff Dean, Slav Petrov, and Noah Fiedel. Palm: Scaling language modeling with pathways, 2022.
PaulFChristiano,JanLeike,TomBrown,MiljanMartic,ShaneLegg,andDarioAmodei. Deepreinforcement
learning from human preferences. Advances in neural information processing systems , 30, 2017.
Hyung Won Chung, Le Hou, S. Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 161 | Hyung Won Chung, Le Hou, S. Longpre, Barret Zoph, Yi Tay, William Fedus, Eric Li, Xuezhi Wang, Mostafa
Dehghani,SiddharthaBrahma,AlbertWebson,ShixiangShaneGu,ZhuyunDai,MiracSuzgun,Xinyun
Chen,AakankshaChowdhery,DashaValter,SharanNarang,GauravMishra,AdamsWeiYu,VincentZhao,
Yanping Huang, Andrew M. Dai, Hongkun Yu, Slav Petrov, Ed Huai hsin Chi, Jeff Dean, Jacob Devlin,
38
Adam Roberts,Denny Zhou,QuocV.Le, andJasonWei. Scaling instruction-finetunedlanguage models.
arXiv preprint arXiv:2210.11416 , 2022.
ChristopherClark,KentonLee,Ming-WeiChang,TomKwiatkowski,MichaelCollins,andKristinaToutanova.
Boolq: Exploring the surprising difficulty of natural yes/no questions. arXiv preprint arXiv:1905.10044 ,
2019. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 162 | Boolq: Exploring the surprising difficulty of natural yes/no questions. arXiv preprint arXiv:1905.10044 ,
2019.
ElizabethClark,TalAugust,SofiaSerrano,NikitaHaduong,SuchinGururangan,andNoahA.Smith.Allthat’s
‘human’isnotgold: Evaluatinghumanevaluationofgeneratedtext. In Proceedingsofthe59thAnnualMeeting
of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language
Processing (Volume 1: Long Papers) , pages 7282–7296, Online, August 2021. Association for Computational
Linguistics. doi: 10.18653/v1/2021.acl-long.565. URL https://aclanthology.org/2021.acl-long.565 .
PeterClark,IsaacCowhey,OrenEtzioni,TusharKhot,AshishSabharwal,CarissaSchoenick,andOyvind
Tafjord. Thinkyouhavesolvedquestionanswering? tryarc,theai2reasoningchallenge. arXivpreprint
arXiv:1803.05457 , 2018. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 163 | arXiv:1803.05457 , 2018.
Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias
Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, et al. Training verifiers to solve math word
problems. arXiv preprint arXiv:2110.14168 , 2021.
Jiawen Deng, Hao Sun, Zhexin Zhang, Jiale Cheng, and Minlie Huang. Recent advances towards safe,
responsible, and moral dialogue systems: A survey. arXiv preprint arXiv:2302.09270 , 2023.
YuntianDeng,AntonBakhtin,MyleOtt,ArthurSzlam,andMarc’AurelioRanzato. Residualenergy-based
models for text generation. In International Conference on Learning Representations , 2019.
Jwala Dhamala, Tony Sun, Varun Kumar, Satyapriya Krishna, Yada Pruksachatkun, Kai-Wei Chang, and
RahulGupta. BOLD:Datasetandmetricsformeasuringbiasesinopen-endedlanguagegeneration. In | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 164 | RahulGupta. BOLD:Datasetandmetricsformeasuringbiasesinopen-endedlanguagegeneration. In
Proceedings of the 2021 ACM conference on fairness, accountability, and transparency , pages 862–872, 2021.
Emily Dinan, Gavin Abercrombie, A Stevie Bergman, Shannon Spruit, Dirk Hovy, Y-Lan Boureau, and
Verena Rieser. Anticipating safetyissuesine2e conversationalai: Frameworkandtooling. arXivpreprint
arXiv:2107.03451 , 2021.
Jesse Dodge, Maarten Sap, Ana Marasović, William Agnew, Gabriel Ilharco, Dirk Groeneveld, Margaret
Mitchell,andMattGardner.Documentinglargewebtextcorpora: Acasestudyonthecolossalcleancrawled
corpus. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing , pages
1286–1305, Online and Punta Cana, Dominican Republic, November 2021. Association for Computational
Linguistics. doi: 10.18653/v1/2021.emnlp-main.98. URL https://aclanthology.org/2021.emnlp-main.
98. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 165 | 98.
JesseDodge,TaylorPrewitt,RemiTachetDesCombes,ErikaOdmark,RoySchwartz,EmmaStrubell,Alexandra Sasha Luccioni, Noah A Smith, Nicole DeCario, and Will Buchanan. Measuring the carbon intensity of
ai in cloud instances. arXiv preprint arXiv:2206.05229 , 2022.
NanDu,YanpingHuang,AndrewMDai,SimonTong,DmitryLepikhin,YuanzhongXu,MaximKrikun,
Yanqi Zhou, Adams Wei Yu, Orhan Firat, Barret Zoph, Liam Fedus, Maarten P Bosma, Zongwei Zhou, Tao
Wang, EmmaWang,KellieWebster, MariePellat, KevinRobinson,Kathleen Meier-Hellstern,TojuDuke,
LucasDixon,KunZhang,QuocLe,YonghuiWu,ZhifengChen,andClaireCui. GLaM:Efficientscaling
oflanguagemodelswithmixture-of-experts. InKamalikaChaudhuri,StefanieJegelka,LeSong,Csaba | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 166 | oflanguagemodelswithmixture-of-experts. InKamalikaChaudhuri,StefanieJegelka,LeSong,Csaba
Szepesvari, Gang Niu, and Sivan Sabato, editors, Proceedings of the 39th International Conference on Machine
Learning,volume162of ProceedingsofMachineLearningResearch ,pages5547–5569.PMLR,17–23Jul2022.
URL https://proceedings.mlr.press/v162/du22c.html .
KawinEthayarajh,YejinChoi,andSwabhaSwayamdipta. Understandingdatasetdifficultywith V-usable
information. InKamalikaChaudhuri,StefanieJegelka,LeSong,CsabaSzepesvari,GangNiu,andSivan
Sabato,editors, Proceedingsofthe39thInternationalConferenceonMachineLearning ,volume162of Proceedings
of Machine Learning Research , pages 5988–6008. PMLR, 17–23 Jul 2022.
Prakhar Ganesh, Hongyan Chang, Martin Strobel, and Reza Shokri. On the impact of machine learning | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 167 | Prakhar Ganesh, Hongyan Chang, Martin Strobel, and Reza Shokri. On the impact of machine learning
randomnessongroupfairness. In Proceedingsofthe2023ACMConferenceonFairness,Accountability,and
Transparency , pages 1789–1800, 2023.
Deep Ganguli, Liane Lovitt, Jackson Kernion, Amanda Askell, Yuntao Bai, Saurav Kadavath, Ben Mann,
Ethan Perez, Nicholas Schiefer, Kamal Ndousse, et al. Red teaming language models to reduce harms:
Methods, scaling behaviors, and lessons learned. arXiv preprint arXiv:2209.07858 , 2022.
39
DeepGanguli,AmandaAskell,NicholasSchiefer,ThomasLiao,Kamil ˙eLukoši ¯ut˙e,AnnaChen,AnnaGoldie,
AzaliaMirhoseini,CatherineOlsson,DannyHernandez,etal. Thecapacityformoralself-correctionin
large language models. arXiv preprint arXiv:2302.07459 , 2023.
LeoGao,JonathanTow,StellaBiderman,SidBlack,AnthonyDiPofi,CharlesFoster,LaurenceGolding,Jeffrey | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 168 | Hsu, Kyle McDonell, Niklas Muennighoff, Jason Phang, Laria Reynolds, Eric Tang, Anish Thite, Ben Wang,
Kevin Wang, and Andy Zou. A framework for few-shot language model evaluation, September 2021. URL
https://doi.org/10.5281/zenodo.5371628 .
Sebastian Gehrmann, Elizabeth Clark, and Thibault Sellam. Repairing the cracked foundation: A survey
ofobstaclesin evaluationpracticesfor generatedtext. JournalofArtificial IntelligenceResearch ,77:103–166,
2023.
FabrizioGilardi,MeysamAlizadeh,andMaëlKubli. Chatgptoutperformscrowd-workersfortext-annotation
tasks.arXiv preprint arXiv:2303.15056 , 2023.
ArnavGudibande,EricWallace,CharlieSnell,XinyangGeng,HaoLiu,PieterAbbeel,SergeyLevine,and
Dawn Song. The false promise of imitating proprietary llms. arXiv preprint arXiv:2305.15717 , 2023. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 169 | Dawn Song. The false promise of imitating proprietary llms. arXiv preprint arXiv:2305.15717 , 2023.
UditGupta,MariamElgamal,GageHills,Gu-YeonWei,Hsien-HsinSLee,DavidBrooks,andCarole-JeanWu.
Act: designing sustainable computer systems with an architectural carbon modeling tool. In Proceedings of
the 49th Annual International Symposium on Computer Architecture , pages 784–799, 2022a.
UditGupta,YoungGuenKim,SylviaLee,JordanTse,Hsien-HsinSeanLee,Gu-YeonWei,DavidBrooks,and
Carole-Jean Wu. Chasing carbon: The elusive environmental footprint of computing. IEEE Micro , 2022b.
Kilem L. Gwet. Handbook of inter-rater reliability: The definitive guide to measuring the extent of agreement among
raters. Advanced Analytics, LLC, 2014.
Kilem Li Gwet. Computing inter-rater reliability and its variance in the presence of high agreement. British
Journal of Mathematical and Statistical Psychology , 61(1):29–48, 2008. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 170 | Journal of Mathematical and Statistical Psychology , 61(1):29–48, 2008.
ThomasHartvigsen,SaadiaGabriel,HamidPalangi,MaartenSap,DipankarRay,andEceKamar. Toxigen: A
large-scalemachine-generateddatasetforadversarialandimplicithatespeechdetection. In Proceedings
of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) , pages
3309–3326, 2022.
Alex Havrilla. synthetic-instruct-gptj-pairwise. https://huggingface.co/datasets/Dahoas/
synthetic-instruct-gptj-pairwise .
Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. Deberta: Decoding-enhanced bert with
disentangled attention. arXiv preprint arXiv:2006.03654 , 2020.
Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Xiaodong Song, and Jacob
Steinhardt. Measuring massive multitask language understanding. arXiv preprint arXiv:2009.03300 , 2020. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 171 | Steinhardt. Measuring massive multitask language understanding. arXiv preprint arXiv:2009.03300 , 2020.
DanHendrycks,CollinBurns,SauravKadavath,AkulArora,StevenBasart,EricTang,DawnSong,andJacob
Steinhardt.Measuringmathematicalproblemsolvingwiththemathdataset. arXivpreprintarXiv:2103.03874 ,
2021.
JordanHoffmann,SebastianBorgeaud,ArthurMensch,ElenaBuchatskaya, TrevorCai, ElizaRutherford,
Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, et al. Training compute-optimal
large language models. arXiv preprint arXiv:2203.15556 , 2022.
AriHoltzman,JanBuys,LiDu,MaxwellForbes,andYejinChoi. Thecuriouscaseofneuraltextdegeneration.
InInternational Conference on Learning Representations , 2020. URL https://openreview.net/forum?id=
rygGQyrFvH .
Or Honovich, Thomas Scialom, Omer Levy, and Timo Schick. Unnatural instructions: Tuning language | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 172 | rygGQyrFvH .
Or Honovich, Thomas Scialom, Omer Levy, and Timo Schick. Unnatural instructions: Tuning language
models with (almost) no human labor. arXiv preprint arXiv:2212.09689 , 2022.
Saghar Hosseini, Hamid Palangi, and Ahmed Hassan Awadallah. An empirical study of metrics to measure
representational harms in pre-trained language models. arXiv preprint arXiv:2301.09211 , 2023.
FanHuang,HaewoonKwak,andJisunAn. Ischatgptbetterthanhumanannotators? potentialandlimitations
of chatgpt in explaining implicit hate speech. arXiv preprint arXiv:2302.07736 , 2023.
ClaytonHuttoandEricGilbert. Vader: Aparsimoniousrule-basedmodelforsentimentanalysisofsocial
media text. In Proceedings of the international AAAI conference on web and social media , volume 8, pages
216–225, 2014.
MandarJoshi,EunsolChoi,DanielSWeld,andLukeZettlemoyer. Triviaqa: Alargescaledistantlysupervised
challenge dataset for reading comprehension. arXiv preprint arXiv:1705.03551 , 2017. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 173 | challenge dataset for reading comprehension. arXiv preprint arXiv:1705.03551 , 2017.
40
JaredKaplan,SamMcCandlish,TomHenighan,TomBBrown,BenjaminChess,RewonChild,ScottGray,
Alec Radford, Jeffrey Wu, and Dario Amodei. Scaling laws for neural language models. arXiv preprint
arXiv:2001.08361 , 2020.
JamesKirkpatrick,RazvanPascanu,NeilRabinowitz,JoelVeness,GuillaumeDesjardins,AndreiARusu,
Kieran Milan, John Quan, Tiago Ramalho, Agnieszka Grabska-Barwinska, et al. Overcoming catastrophic
forgetting in neural networks. Proceedings of the national academy of sciences , 114(13):3521–3526, 2017.
Andreas Köpf, Yannic Kilcher, Dimitri von Rütte, Sotiris Anagnostidis, Zhi-Rui Tam, Keith Stevens, AbdullahBarhoum,NguyenMinhDuc,OliverStanley,RichárdNagyfi,etal. Openassistantconversations– | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 174 | democratizing large language model alignment. arXiv preprint arXiv:2304.07327 , 2023.
Tomasz Korbak, Kejian Shi, Angelica Chen, Rasika Bhalerao, Christopher L Buckley, Jason Phang, Samuel R
Bowman, and Ethan Perez. Pretraining language models with human preferences. arXiv preprint
arXiv:2302.08582 , 2023.
TakuKudoandJohnRichardson. Sentencepiece: Asimpleandlanguageindependentsubwordtokenizer
and detokenizer for neural text processing, 2018.
SachinKumar,VidhishaBalachandran,LucilleNjoo,AntoniosAnastasopoulos,andYuliaTsvetkov. Language
generation models can cause harm: So what can we do about it? an actionable survey. arXiv preprint
arXiv:2210.07700 , 2022.
Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti,
Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural questions: a benchmark for
question answering research. Transactions of the Association for Computational Linguistics , 7:453–466, 2019. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 175 | question answering research. Transactions of the Association for Computational Linguistics , 7:453–466, 2019.
Nathan Lambert, Lewis Tunstall, Nazneen Rajani, and Tristan Thrush. Huggingface h4 stack
exchange preference dataset. 2023. URL https://huggingface.co/datasets/HuggingFaceH4/
stack-exchange-preferences .
Katherine Lee, Daphne Ippolito, Andrew Nystrom, Chiyuan Zhang, Douglas Eck, Chris Callison-Burch, and
Nicholas Carlini. Deduplicating training data makes language models better. In Proceedings of the 60th
AnnualMeetingoftheAssociationforComputationalLinguistics .AssociationforComputationalLinguistics,
2022.
Kevin Leeand Shubho Sengupta. Introducing theai researchsupercluster— meta’s cutting-edge aisupercomputer for ai research, 2022. URL https://ai.facebook.com/blog/ai-rsc/ .
StephanieLin,JacobHilton,andOwainEvans. Truthfulqa: Measuringhowmodelsmimichumanfalsehoods.
arXiv preprint arXiv:2109.07958 , 2021. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 176 | arXiv preprint arXiv:2109.07958 , 2021.
Yinhan Liu,Myle Ott, NamanGoyal, Jingfei Du,Mandar Joshi, DanqiChen, Omer Levy,Mike Lewis, Luke
Zettlemoyer,andVeselinStoyanov. Roberta: Arobustlyoptimizedbertpretrainingapproach. arXivpreprint
arXiv:1907.11692 , 2019.
ShayneLongpre,LeHou,TuVu,AlbertWebson,HyungWonChung,YiTay,DennyZhou,QuocVLe,Barret
Zoph,JasonWei,etal. Theflancollection: Designingdataandmethodsforeffectiveinstructiontuning.
arXiv preprint arXiv:2301.13688 , 2023.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101 ,
2017.
AmanMadaan,NiketTandon,PrakharGupta, SkylerHallinan, LuyuGao,SarahWiegreffe,UriAlon,Nouha | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 177 | Dziri, Shrimai Prabhumoye, Yiming Yang, et al. Self-refine: Iterative refinement with self-feedback. arXiv
preprint arXiv:2303.17651 , 2023.
Grégoire Mialon, Roberto Dessì, Maria Lomeli, Christoforos Nalmpantis, Ram Pasunuru, Roberta Raileanu,
BaptisteRozière,TimoSchick,JaneDwivedi-Yu,AsliCelikyilmaz,etal. Augmentedlanguagemodels: a
survey.arXiv preprint arXiv:2302.07842 , 2023.
Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. Can a suit of armor conduct electricity? a
new dataset for open book question answering. arXiv preprint arXiv:1809.02789 , 2018.
MargaretMitchell,SimoneWu,AndrewZaldivar,ParkerBarnes,LucyVasserman,BenHutchinson,Elena | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 178 | MargaretMitchell,SimoneWu,AndrewZaldivar,ParkerBarnes,LucyVasserman,BenHutchinson,Elena
Spitzer,InioluwaDeborahRaji,andTimnitGebru. Modelcardsformodelreporting. CoRR,abs/1810.03993,
2018. URL http://arxiv.org/abs/1810.03993 .
MosaicML NLP Team et al. Introducing mpt-7b: A new standard for open-source, commercially usable llms,
2023.
41
Reiichiro Nakano, Jacob Hilton, Suchir Balaji, Jeff Wu, Lonbrown Ouyanbrown, Christina Kim, Christopher
Hesse, Shantanu Jain, Vineet Kosaraju, William Saunders, Xu Jiang, Karl Cobbe, Tyna Eloundou, Gretchen
Krueger, Kevin Button, Matthew Knight, Benjamin Chess, and John Schulman. Webgpt: Browser-assisted
question-answering with human feedback. In arXiv, 2021.
Cuong V. Nguyen, Alessandro Achille, Michael Lam, Tal Hassner, Vijay Mahadevan, and Stefano Soatto.
Toward understanding catastrophic forgetting in continual learning. arXiv preprint arXiv:1908.01091 , 2019. | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 179 | Toward understanding catastrophic forgetting in continual learning. arXiv preprint arXiv:1908.01091 , 2019.
OpenAI. GPT-4 technical report. CoRR, abs/2303.08774, 2023. doi: 10.48550/arXiv.2303.08774. URL
https://doi.org/10.48550/arXiv.2303.08774 .
LongOuyang,JeffreyWu,XuJiang,DiogoAlmeida,CarrollWainwright,PamelaMishkin,ChongZhang,
Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to follow instructions with
human feedback. Advances in Neural Information Processing Systems , 35:27730–27744, 2022.
DavidPatterson,JosephGonzalez,QuocLe,ChenLiang,Lluis-MiquelMunguia,DanielRothchild,David
So, Maud Texier, and Jeff Dean. Carbon emissions and large neural network training. arXiv preprint
arXiv:2104.10350 , 2021.
Guilherme Penedo, Quentin Malartic, Daniel Hesslow, Ruxandra Cojocaru, Alessandro Cappelli, Hamza | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 180 | Guilherme Penedo, Quentin Malartic, Daniel Hesslow, Ruxandra Cojocaru, Alessandro Cappelli, Hamza
Alobeidli,BaptistePannier,EbtesamAlmazrouei,andJulienLaunay. Therefinedwebdatasetforfalcon
llm: Outperforming curated corpora with web data, and web data only, 2023.
Reiner Pope, Sholto Douglas, Aakanksha Chowdhery, Jacob Devlin, James Bradbury, Anselm Levskaya,
Jonathan Heek, Kefan Xiao, Shivani Agrawal, and Jeff Dean. Efficiently scaling transformer inference, 2022.
Jack W. Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John Aslanides,
Sarah Henderson, Roman Ring, Susannah Young, Eliza Rutherford, Tom Hennigan, Jacob Menick, Albin Cassirer, Richard Powell, George van den Driessche, Lisa Anne Hendricks, Maribeth Rauh, Po-Sen | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |
2307.09288 | 181 | Huang,Amelia Glaese,JohannesWelbl, SumanthDathathri,Saffron Huang,JonathanUesato,John Mellor, Irina Higgins, Antonia Creswell, Nat McAleese, Amy Wu, Erich Elsen, Siddhant Jayakumar, Elena
Buchatskaya,DavidBudden,EsmeSutherland,KarenSimonyan,MichelaPaganini,LaurentSifre,Lena
Martens, Xiang Lorraine Li, Adhiguna Kuncoro, Aida Nematzadeh, Elena Gribovskaya, Domenic Donato,
Angeliki Lazaridou, Arthur Mensch, Jean-Baptiste Lespiau, Maria Tsimpoukelli, Nikolai Grigorev, Doug
Fritz,ThibaultSottiaux,MantasPajarskas,TobyPohlen,ZhitaoGong,DanielToyama,CypriendeMassond’Autume,YujiaLi,TayfunTerzi,VladimirMikulik,IgorBabuschkin,AidanClark,DiegodeLasCasas,
AureliaGuy,ChrisJones,JamesBradbury,MatthewJohnson,BlakeHechtman,LauraWeidinger,Iason | 2307.09288 | Llama 2: Open Foundation and Fine-Tuned Chat Models | 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. | http://arxiv.org/pdf/2307.09288 | [
"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"
] | [
"cs.CL",
"cs.AI"
] | null | null | cs.CL | 20230718 | 20230719 | [
{
"id": "2305.13245",
"title": "GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints",
"authors": "Joshua Ainslie, et al.",
"year": "2023"
}
] |