<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Knowledge Bases using instruction tuned context aware Large Language Models</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Anmol Nayak</string-name>
          <email>Anmol.Nayak@in.bosch.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hari Prasad Timmapathini</string-name>
          <email>HariPrasad.Timmapathini@in.bosch.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>ARiSE Labs at Bosch</institution>
          ,
          <addr-line>Bangalore</addr-line>
          ,
          <country country="IN">India</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The advent of Large Language Models (LLM) has revolutionized the field of natural language processing, enabling significant progress in various applications. One key area of interest is the construction of Knowledge Bases (KB) using these powerful models. Knowledge bases serve as repositories of structured information, facilitating information retrieval and inference tasks. Our paper proposes LLM2KB, a system for constructing knowledge bases using large language models, with a focus on the Llama 2 architecture and the Wikipedia dataset. We perform parameter eficient instruction tuning for Llama-2-13b-chat and StableBeluga-13B by training small injection models that have only ≈0.05 % of the parameters of the base models using the Low-Rank Adaptation (LoRA) technique. These injection models have been trained with prompts that are engineered to utilize Wikipedia page contexts of subject entities fetched using a Dense Passage Retrieval (DPR) algorithm, to answer relevant object entities for a given subject entity and relation. Our best performing model achieved an average F1 score of 0.6185 across 21 relations in the LM-KBC challenge held at the ISWC 2023 conference.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>CEUR
ceur-ws.org</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>The rapid advancements in natural language processing (NLP) have propelled the development
of large language models, revolutionizing the way machines understand and generate human
language. One of the pivotal applications of these sophisticated models lies in the construction of
knowledge bases, which serve as repositories of structured information essential for a multitude
of NLP tasks, including information retrieval, question answering, and knowledge inference.</p>
      <p>
        Knowledge bases hold immense potential for enhancing machine understanding of the world,
but constructing them manually is a laborious and time-consuming process. However, the
emergence of large language models such as GPT-4 [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], Llama 2 [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] Stable Beluga 2 [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], has opened
new possibilities for knowledge base construction. These models possess extensive linguistic
knowledge and factual knowledge that can be leveraged for automated entity recognition,
relation extraction, and knowledge representation.
      </p>
      <p>One of the prominent sources for constructing knowledge bases is the vast repository of
human-curated information available on Wikipedia. This publicly accessible dataset contains
CEUR
Workshop
Proceedings
*Both authors contributed equally to this work.
an extensive wealth of knowledge on diverse topics, making it an ideal resource for building
comprehensive knowledge bases. Integrating Wikipedia data into knowledge bases allows for a
wider coverage and a well-rounded understanding of various domains.</p>
      <p>
        Nevertheless, the success of constructing knowledge bases using large language models hinges
on the ability to fine-tune these models efectively. Traditional fine-tuning methods often sufer
from scalability issues and demand an excessive amount of computational resources. However,
recent advancements in parameter-eficient fine-tuning techniques, like LoRA (Low-Rank
Adaptation) [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], have showcased promising results in reducing the complexity and computational
requirements while preserving model performance. By eficiently fine-tuning large language
models, researchers can unlock their true potential in knowledge base construction and empower
them to comprehend and generate valuable information.
      </p>
      <p>
        In this paper, we describe our system developed for Track 2 of the LM-KBC challenge at ISWC
2023 [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], which focuses on using language models of any size for knowledge base construction.
Given an input subject-entity (s) and relation (r), the system attempts to predict all the correct
disambiguated object-entities. Our system performs parameter eficient instruction tuning of
Llama-2-13b-chat and StableBeluga-13B using the LoRA technique while leveraging Wikipedia
text as context which is retrieved using a Dense Passage Retrieval (DPR) model.
      </p>
    </sec>
    <sec id="sec-3">
      <title>2. Related Work</title>
      <p>
        The inquiry into the potential of language models (LM) in replacing or aiding the creation and
curation of knowledge bases was initially posed by [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and later explored by other researchers [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
The LAMA dataset which probes relational knowledge in language models through masked
language modeling tasks to complete cloze-style sentences was introduced in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        While the initial study utilized manually designed prompts to probe the language model,
subsequent research has demonstrated the advantages of automatically learning prompts.
Various methods have emerged to mine prompts from large text corpora and select the most
efective ones [
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ]. Additionally, prompts can be directly learned through back-propagation [
        <xref ref-type="bibr" rid="ref10 ref11">10,
11</xref>
        ], showcasing how learned prompts can enhance the performance on LAMA tasks.
      </p>
      <p>
        The performance of probing language models can be significantly improved through various
approaches, such as directly learning continuous embeddings for prompts [
        <xref ref-type="bibr" rid="ref12 ref13">12, 13</xref>
        ], fine-tuning
the LM on the training data [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], or few-shot learning [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. The authors demonstrate that
combining few-shot examples with learned prompts achieves the best probing results.
      </p>
      <p>
        While probing language models has been extensively studied in the NLP community, the idea
of utilizing language models to support knowledge graph curation has not received adequate
attention [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Some works have demonstrated the combination of language models with
knowledge bases to complete query results efectively [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. Others have investigated how
language models can be employed to identify errors in knowledge graphs [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] or explored using
language models to weigh KG triples from ConceptNet for measuring semantic similarity. [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]
have showcased the utility of language models in entity typing by predicting entity classes
using language model-based approaches.
      </p>
      <p>
        Further, the LM-KBC challenge at ISWC 2022 [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] produced interesting submissions on using
LM for KB construction. [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] developed a system that performed task-specific pre-training of
BERT, used prompt decomposition for generating candidate objects progressively, and employed
adaptive thresholds for candidate selection. They utilized additional knowledge triples from
Wikidata KB for BERT pre-training and experimented with cloze-style prompts, but found that
masking nearby tokens of the object-entity did not improve performance. By mining prompts
from Wikipedia and using an ensemble approach with averaged voting, they achieved final
object-entity predictions. They also proposed sticky thresholds for candidate selection based
on likelihood comparison.
      </p>
      <p>
        [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ] introduces the ProP system, which employs GPT-3 [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ] under a few-shot setting for
knowledge base (KB) construction. ProP uses various prompting techniques, including manual
prompt creation and question-style prompts, to verify the accuracy of GPT-3 generated claims.
They utilize context examples with specific properties, such as varying answer sets, subjects
with empty answer sets, and question-answer pairs, to train the model efectively.
      </p>
      <p>
        [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ] utilized manual prompts, generated from three automated sources, and applied ensemble
learning for final predictions. Descriptive information from Wikidata was used to create prompts
through ”middle-word”, ”dependency-based” and ”paraphrasing-based” strategies. The
BERTlarge model was probed using these prompts, and the five most frequent and likely objects
were selected from the ensemble. Before selecting the top-5 objects, the candidate list was
post-processed by removing stopwords. The threshold for candidate selection was treated as a
hyper-parameter, and its tuning was done separately for each relation on the train dataset.
      </p>
      <p>
        [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ] proposes manual prompts tailored for each relation to probe the BERT-large model,
utilizing semantics and domain knowledge. They uniquely utilize word co-occurrences in
context to design prompts and reason about the relationship between subjects and objects in
questions to optimize prompt design for various relations, observing improvements through
simple modifications like changing articles in the prompt for the ”plays-instrument” relation. [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ]
conducts experiments with diferent manual prompts and candidate selection thresholds for
each relation during BERT model probing. They also investigate the impact of selecting a larger
number of options in the object list (100, 150, 180, or 200) on overall performance. Additionally,
they create an ensemble of their manually crafted prompts to further enhance the probing
results.
      </p>
    </sec>
    <sec id="sec-4">
      <title>3. The LM-KBC 2023 Challenge</title>
      <sec id="sec-4-1">
        <title>3.1. Description</title>
        <p>
          The LM-KBC 2023 challenge is centered around constructing disambiguated knowledge bases
from language models based on given subjects and relations. Unlike existing probing
benchmarks like LAMA [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ], LM-KBC 2023 does not assume any specific relation cardinalities, allowing
subjects to have zero, one, or multiple object-entities. Submissions are required to not only
rank predicted surface strings but also materialize disambiguated entities in the output. The
evaluation process involves calculating precision and recall for each test instance compared to
the ground-truth values. For every relation, the macro-averaged precision, recall and f1-score
are computed. The final ranking of participating systems is determined based on the average
F1-score across all 21 relations. Formally, the task involves predicting all correct object-entities
(o1, o2, ..., ok) using LM probing given the input subject-entity (s) and relation (r).
        </p>
        <p>The challenge comes with two tracks:
• Track 1: A small-model track with low computational requirements (&lt;1 billion parameters)
and usage of context is not allowed.
• Track 2: An open track, where participants can use any LM of their choice and usage of
context is allowed.</p>
      </sec>
      <sec id="sec-4-2">
        <title>3.2. Dataset</title>
        <p>The LM-KBC dataset comprises both training and validation sets, encompassing 21 diverse
relations. A test set containing only subject entities and relations was released towards the end
of the challenge. The train, validation and test set each comprise of 1940 records. Each relation
covers distinct subject-entities, and for each subject-relation pair, a comprehensive list of ground
truth object-entities is provided. Each row in the dataset files includes the subject-entity ID,
subject-entity name, a list of all possible object-entity IDs, a list of all possible object-entities,
and the corresponding relation. The entity IDs correspond to the Wikidata ID. To perform
instruction fine-tuning on the models, we consume the provided dataset and generate training
samples in 2 ways:
• Method 1: First, the Train set and Validation set are combined to produce a super set. With
each record, we begin generating a separate instruction tuning dataset (see Section 4.2
for details on the Prompts) by slot filling Prompt 1 and 2. Thus, each record in the super
set begins by producing 2 samples for the instruction tuning dataset. Further, for each
ObjectEntity in the record we slot fill Prompt 3, which additionally generates as many
new samples for the instruction tuning dataset as there are object entities. The generated
instruction tuning dataset is shufled, keeping 14310 samples for training and 1000 samples
for validation.
• Method 2: This method also utilises Prompt 1,2 and 3 in the same way as method 1
however the instruction tuning training dataset is generated only using the Train set,
while the entire Validation set is used to generate the instruction tuning validation dataset.
7666 samples were used for training and 7644 samples were used for validation.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>4. LLM2KB System Description</title>
      <sec id="sec-5-1">
        <title>4.1. Components</title>
        <sec id="sec-5-1-1">
          <title>4.1.1. Large Language Model</title>
          <p>
            We have selected ’Llama-2-13b-chat’ model from Meta AI and ’StableBeluga-13B’ model from
Stability AI as our base models, as they have been fine-tuned for instruction following, are
open source and have achieved state-of-the-art performance on numerous benchmarks. Both
the models are fine-tuned versions of the original Llama-2-13b base model and have 13 billion
parameters. Llama-2-13b-chat is fine-tuned for chat instructions using Supervised Fine Tuning
(SFT) and Reinforcement Learning with Human Feedback (RLHF). StableBeluga-13B is a
Llama2-13b model fine-tuned on an Orca [
            <xref ref-type="bibr" rid="ref26">26</xref>
            ] style instruction dataset.
          </p>
        </sec>
        <sec id="sec-5-1-2">
          <title>4.1.2. Context Retrieval Model</title>
          <p>
            We have selected Dense Passage Retrieval (DPR) from Meta AI [
            <xref ref-type="bibr" rid="ref27">27</xref>
            ] for subject entity context
retrieval. DPR comprises a collection of tools and models used in state-of-the-art open-domain
Question and Answer research. We used ’dpr-ctx_encoder-single-nq-base’ for encoding
questions and ’dpr-ctx_encoder-multiset-base’ for encoding contexts. Further, we store the dense
vectors of the contexts in a Facebook AI Similarity Search (FAISS) vector store for fast search
and retrieval. We believe that augmenting prompts with a context helps the LLM in two ways:
1. Since the answers are factual in nature, the context can aid the LLM to generate answers
with a higher degree of accuracy instead of just trying to recollect them from its stored
knowledge.
2. The chance of a LLM hallucination decreases since it can use the context as a reference
point while generating an answer.
          </p>
        </sec>
        <sec id="sec-5-1-3">
          <title>4.1.3. Entity Disambiguation</title>
          <p>Once the LLM has predicted an object entity, we send the object entity text to the Wikidata
API to fetch the potential candidates for the disambiguated entity. The candidates returned by
Wikidata are then given to the LLM to pick the correct disambiguated entity. We use the LLM
to perform disambiguation instead of just picking the top result returned by Wikidata API due
to the following reasons:
1. Since the Wikidata API returns candidates by using the object entity surface string as a
search key, it lacks the information of the subject entity and the relation to accurately
rank the correct disambiguated entity as the top result. We even attempted passing the
subject entity and relation along with the object entity surface string to the API, but the
response was either empty or irrelevant.
2. In special cases where the predicted object entity surface string could be disambiguated in
one or more ways, it is vital that the LLM is utilised to find the correct disambiguation. For
e.g. if the question is ”Who is William Shakespeare married to?”, and the LLM correctly
answers ”Anne Hathaway”, the Wikidata API will return entities of both Anne Hathaway
(wife of William Shakespeare) and Anne Hathaway (American actress).
3. Even if we assume that the top result returned by Wikidata is correct, it is risky to rely
on it since the API could in the future start returning results in a shufled order.</p>
        </sec>
      </sec>
      <sec id="sec-5-2">
        <title>4.2. LLM prompts</title>
        <p>We created 4 diferent prompts based on the format of each of the base models, where Prompts
1,2 and 3 are used for performing instruction tuning and Prompt 4 is used only during inference
for in-context learning. Note: During inference, Prompts 1,2 and 3 are trimmed after [/INST]
for Llama-2-13b-chat and after Answer: for StableBeluga-13B. Instruction tuning is a technique
to perform supervised fine tuning of models to make them learn to produce valid responses for
specific instructions. In our case, the instruction tuning helps the model in 2 ways:
1. Learn to answer relevant object entities for a given question (see Table 1) with and without
context. This is achieved with Prompt 1 and Prompt 2.
2. Given a predicted surface string of an object entity, learn to pick the correct Wikipedia
entity title (but not Wikidata ID) from a list of candidate options. This is achieved with
Prompt 3.</p>
        <p>In-context learning is a method where few examples of the expected output are supplied in
the prompt and the model uses them to produce an output in a similar fashion. Prompt 1,2 and
3 are expecting the LLM to produce an answer in a Python list of string format, however we
noticed that the model sometimes produces a syntactically incorrect list. Hence, we use Prompt
4 to demonstrate to the LLM an incorrect format Answer vs. correct format Answer.</p>
        <sec id="sec-5-2-1">
          <title>4.2.1. Llama-2-13b-chat prompts</title>
          <p>1. &lt;s&gt;[INST] «SYS»</p>
          <p>You are a helpful, respectful and honest assistant. Your answers should be crisp, short and
not repititive.</p>
          <p>Give valid wikipedia page titles in the answer. The answer should be in a python list of string
format.</p>
          <p>If you dont know the answer from both the given context and your past knowledge, answer
should just be a python empty list.
«/SYS»
context: ’{context}’
{question} [/INST] Answer: {answer} &lt;/s&gt;
In this prompt, the {question} variable is formed by first picking the relevant question
corresponding to the relation (see Table 1) and then replacing the subject entity of the
data row in the {question}. {context} variable is formed by concatenating the strings of
the top 2 contexts returned by the DPR system for the given {question}. It is important to
note that to fetch the top 2 contexts, the DPR context encoder is only fed the Wikipedia
page textual content of the subject entity and we do not use the content of the Wikipedia
Infobox (found at the top right corner of a Wikipedia page), since the Infobox already
contains semi-structured information about an entity which would defeat the purpose of
using a LLM. The {answer} variable is formed by replacing the object entities of the data
row.
2. &lt;s&gt;[INST] «SYS»</p>
          <p>You are a helpful, respectful and honest assistant. Your answers should be crisp, short and
not repititive.</p>
          <p>Give valid wikipedia page titles in the answer. The answer should be in a python list of string
format.</p>
          <p>If you dont know the answer from both the given context and your past knowledge, answer
should just be a python empty list.
«/SYS»
context: ”
{question} [/INST] Answer: {answer} &lt;/s&gt;
In this prompt, the {question} variable and {answer} variable are formed in the same
method as the previous prompt, however we do not supply any context.
3. &lt;s&gt;[INST] «SYS»</p>
          <p>You are a helpful, respectful and honest assistant. Your answers should be crisp, short and
not repititive.</p>
          <p>Choose an answer from the options in the context.</p>
          <p>If you dont know the answer from the given context, answer should just be a python empty
list.
«/SYS»
context: ’{options}’
{question} [/INST] Answer: {answer} &lt;/s&gt;
In this prompt, the {question} variable is formed in the same method as the previous
prompts, the {options} variable is a list of titles (appended with their descriptions) for the
Wikidata entities returned by the API when queried with a given object entity text. The
titles and descriptions are fetched from the API response. Each separate object entity
will lead to 1 unique training sample. For e.g. if a data row has 4 object entities, then we
will generate 4 separate training samples for it. The {answer} variable is the title of the
response entity which has the same Wikidata ID as the object entity.
4. &lt;s&gt;[INST] «SYS»</p>
          <p>Example 1: Wrong Format: [’People’s Republic of China’, ’Laos’, ’Thailand’, ’India’,
’Bangladesh’]”]. Correct Format: Answer: ”People’s Republic of China”, ”Laos”,
”Thailand”, ”India”, ”Bangladesh”] &lt;/s&gt;
Example 2: Wrong Format: [’Artibonite’, ’Nord-Est Department’, ’South Department’,’West
Department’, ’Centre Department’, ’Grand’Anse Department’, ’North Department’].
Correct Format: Answer: ”Artibonite”, ”Nord-Est Department”, ”South Department”, ”West
Department”, ”Centre Department”, ”Grand’Anse Department”, ”North Department”] &lt;/s&gt;
Example 3: Wrong Format: [’book’s and page’s’]. Correct Format: Answer: [”book’s and
page’s”] &lt;/s&gt;
Your answer should only be a valid python list of string format. Do not give any explainations.
«/SYS»
Use the examples to convert {answer} into a correct python list. [/INST] Answer:
Once an answer is generated from Prompt 1, 2 or 3, it is used as the {answer} variable in
this prompt to format the answer in a correct Python list of string format.</p>
        </sec>
        <sec id="sec-5-2-2">
          <title>4.2.2. StableBeluga-13B prompts</title>
          <p>Please refer the Appendix A for the prompts used for StableBeluga-13B. The {question}, {answer},
{context} and {options} variables are generated in the same method as described for the
Llama-213b-chat prompts.</p>
        </sec>
      </sec>
      <sec id="sec-5-3">
        <title>4.3. Training</title>
        <p>
          For both base models namely Llama-2-13b-chat and StableBeluga-13B, we load them in 4 bit
quantized state with frozen weights and only train an injection model using LoRA technique.
The injection model has ≈0.05 % of the parameters of the base models. The time taken for
training was ≈9 hours for method 1 data and ≈5 hours for method 2 data. The training setup
was as follows:
• Libraries: BitsandBytes [
          <xref ref-type="bibr" rid="ref28 ref29">28, 29</xref>
          ], HuggingFace [
          <xref ref-type="bibr" rid="ref30">30</xref>
          ], PyTorch [
          <xref ref-type="bibr" rid="ref31">31</xref>
          ]
• Base model: BitsandBytesConfig(load_in_4bit=True, bnb_4bit_use_double_quant=True,
bnb_4bit_quant_type=”nf4”, bnb_4bit_compute_dtype=torch.bfloat16)
• LoRA model: alpha=16, dropout=0.05, r=4, bias=”none”, task_type=”CAUSAL_LM”
• Trainer: epochs=3, optimizer=”paged_adamw_32bit”, gradient_accumulation_steps=2,
per_device_train_batch_size=1, per_device_eval_batch_size= 4, fp16=True,
learning_rate=2e-5, max_grad_norm=0.3, warmup_ratio=0.03,
lr_scheduler_type=”constant”, evaluation_strategy=”epoch”
• GPU: 2x NVIDIA V100
        </p>
      </sec>
      <sec id="sec-5-4">
        <title>4.4. Inference</title>
        <p>The overall architecture can be seen in Fig. 1. During inference, we first try to fetch the English
language Wikipedia page text of the subject entity using its Wikidata ID. If the subject entity
does not have an English page, we then pick the text from the primary alternate language page.
We then split the text into chunks of 300 tokens (with an overlap of 50 tokens to maintain
continuity) due to the following reasons:
• LLM have a limit on the context length, which in the case of Llama-2-13b-chat and
StableBeluga-13B is 4096 tokens. Since the Wikipedia text is usually large and may cross
the maximum context length supported by the LLM, it is not feasible to consume the
entire context in one shot.
• Due to the size of the LLM, passing lengthy inputs increases the inference time. Further,
it makes much more sense to pick those chunks of information from the entire Wikipedia
page that are relevant to a given question.</p>
        <p>Each of the context chunks are encoded using the DPR context encoder and stored in a FAISS
vector store for fast search and retrieval. To ensure that the LLM is not just fixated on using only
top 2 contexts, during inference we pick top 3 contexts to test its robustness towards handling
variability. To pick the top 3 relevant context chunks for a given question, the question is
encoded using the DPR question encoder and then passed to FAISS. The top 3 retrieved context
chunks are concatenated to form the {context} variable for the prompts. In cases where a subject
entity does not have a Wikipedia page, the {context} variable will be empty for the prompt, and
the LLM will have to rely on its stored knowledge to answer the question. Prompt 1 is executed
if a context was found whereas Prompt 2 is executed if no context was found.</p>
        <p>Once the LLM processes the prompt, the answer can have 0 or more object entities. For
disambiguating each of these surface strings, we query the Wikidata API with each of these
object entities separately. The API will return a list of candidate Wikidata entities, from which
we attempt to find the correct disambiguated entity. To do this, we collect all the candidate
entities and put them in a list to form the {context} in Prompt 3. The expectation is that the
LLM picks the correct disambiguated entity relevant to the question. The Wikidata ID of each
disambiguated object entity is then fetched and stored. In cases where the LLM generated
a string which was not an exact match of the provided options, we pass the LLM output to
Wikipedia API for fetching the most relevant entity.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>5. Results and Future Work</title>
      <p>The relation level performance of our system can be seen in Tables 2, 3 and 4 (Tables 3 and 4
are in the Appendix B). Our primary experiments involved utilising training samples generated
using method 1 for Llama-2-13b-chat and StableBeluga-13B. Additionally, we also trained a
Llama-2-13b-chat model with method 2 used to generate training samples. As described in
Section 3.2, method 1 utilized samples from both the training set and validation set as part of
the instruction tuning training data, whereas method 2 utilized samples only from the training
set for the instruction tuning training data. Our best performing model was Llama-2-13b-chat
when trained on instruction samples generated using method 1. In training with both method 1
and method 2 data generation strategies, Llama-2-13b-chat performed better than
StableBeluga13B. We found that while supplying additional training samples using method 1 gave a better
overall F1-score for Llama-2-13b-chat (0.6185), it was not significantly higher than when it was
instruction tuned with method 2 data (0.6016).</p>
      <p>’PersonHasNoblePrize’ is the highest scoring relation from our best model and
’PersonHasEmployer’ is the lowest scoring relation from our best model. All the 3 models did not perform
very highly on the 2 relations which only expected numeric answers namely
’PersonHasNumberOfChildren’ and ’SeriesHasNumberOfEpisodes’ even after supplying context. After going
through the Wikipedia contexts for the subject entities of these relations, we observed that a
large majority of them never mention anything about number of children or number of episodes,
leaving the LLM to solely rely on its memory of factual knowledge. Overall we observed that
the following are some of the practical challenges after subjective analysis of the results:
• Fragility of LLM during inference towards minor changes in prompts.
• Hallucinations of LLM.
• LLM produces a correct surface string of an object but Wikidata API is unable to return
any relevant entities for it.</p>
      <p>Our future work will focus on utilising 30 billion and 70 billion versions of the LLM to see
if that can push the performance further and also experiment with Chain-of-Thought prompt
techniques.</p>
    </sec>
    <sec id="sec-7">
      <title>A. StableBeluga-13B Prompts</title>
      <p>1. ### System:</p>
      <p>You are a helpful, respectful and honest assistant. Your answers should be crisp, short and
not repititive.</p>
      <p>Give valid wikipedia page titles in the answer. The answer should be in a python list of string
format.</p>
      <p>If you dont know the answer from both the given context and your past knowledge, answer
should just be a python empty list.
### User:
context: {context}
{question}
### Assistant</p>
      <p>Answer: {answer}
2. ### System:</p>
      <p>You are a helpful, respectful and honest assistant. Your answers should be crisp, short and
not repititive.</p>
      <p>Give valid wikipedia page titles in the answer. The answer should be in a python list of string
format.</p>
      <p>If you dont know the answer from both the given context and your past knowledge, answer
should just be a python empty list.
### User:
context: ”
{question}
### Assistant</p>
      <p>Answer: {answer}
3. ### System:</p>
      <p>You are a helpful, respectful and honest assistant. Your answers should be crisp, short and
not repititive.</p>
      <p>Choose an answer from the options in the context.</p>
      <p>If you dont know the answer from both the given context, answer should just be a python
empty list.
### User:
context: {options}
{question}
### Assistant</p>
      <p>Answer: [’{answer}’]
4. ### System:</p>
      <p>Example 1: Wrong Format: [’People’s Republic of China’, ’Laos’, ’Thailand’, ’India’, ’Bangla
desh’]”]. Correct Format: Answer: ”People’s Republic of China”, ”Laos”, ”Thailand”, ”India”,
”Bangladesh”] &lt;/s&gt;
Example 2: Wrong Format: [’Artibonite’, ’Nord-Est Department’, ’South Department’,
’West Department’, ’Centre Department’, ’Grand’Anse Department’, ’North Department’].
Correct Format: Answer: ”Artibonite”, ”Nord-Est Department”, ”South Department”, ”West
Department”, ”Centre Department”, ”Grand’Anse Department”, ”North Department”] &lt;/s&gt;
Example 3: Wrong Format: [’book’s and page’s’]. Correct Format: Answer: [”book’s and
page’s”] &lt;/s&gt;
### User:</p>
      <p>Your answer should only be a valid python list of string format. Do not give any explainations.
Use the examples to convert {answer} into a correct python list.
### Assistant</p>
      <p>Answer:</p>
    </sec>
    <sec id="sec-8">
      <title>B. Additional Results</title>
      <p>Tables 3 and 4 contain additional experimental results for Llama- 2-13b-chat and
StableBeluga13B.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1] OpenAI, Gpt-4
          <source>technical report</source>
          ,
          <year>2023</year>
          . arXiv:
          <volume>2303</volume>
          .
          <fpage>08774</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>H.</given-names>
            <surname>Touvron</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Martin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Stone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Albert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Almahairi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Babaei</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Bashlykov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Batra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Bhargava</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Bhosale</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Bikel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Blecher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. C.</given-names>
            <surname>Ferrer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Cucurull</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Esiobu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Fernandes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Fu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Fu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Fuller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Goswami</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Goyal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Hartshorn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Hosseini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Hou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Inan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kardas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Kerkez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Khabsa</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Kloumann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Korenev</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. S.</given-names>
            <surname>Koura</surname>
          </string-name>
          , M.
          <article-title>-</article-title>
          <string-name>
            <surname>A. Lachaux</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Lavril</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Liskovich</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Lu</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Mao</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          <string-name>
            <surname>Martinet</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Mihaylov</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Mishra</surname>
            , I. Molybog,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Nie</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Poulton</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Reizenstein</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Rungta</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Saladi</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Schelten</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Silva</surname>
            ,
            <given-names>E. M.</given-names>
          </string-name>
          <string-name>
            <surname>Smith</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Subramanian</surname>
            ,
            <given-names>X. E.</given-names>
          </string-name>
          <string-name>
            <surname>Tan</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Tang</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Taylor</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Williams</surname>
            ,
            <given-names>J. X.</given-names>
          </string-name>
          <string-name>
            <surname>Kuan</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Xu</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          <string-name>
            <surname>Yan</surname>
            , I. Zarov,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Fan</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Kambadur</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Narang</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Rodriguez</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Stojnic</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Edunov</surname>
          </string-name>
          ,
          <source>T. Scialom, Llama</source>
          <volume>2</volume>
          :
          <article-title>Open foundation and fine-tuned chat models</article-title>
          ,
          <year>2023</year>
          . arXiv:
          <volume>2307</volume>
          .
          <fpage>09288</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Stability</surname>
            <given-names>ai stable beluga</given-names>
          </string-name>
          ,
          <year>2023</year>
          . URL: https://stability.ai/blog/ stable-beluga
          <article-title>-large-instruction-fine-tuned-models.</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>E. J.</given-names>
            <surname>Hu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Shen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Wallis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Allen-Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Chen</surname>
          </string-name>
          , Lora:
          <article-title>Low-rank adaptation of large language models</article-title>
          ,
          <source>arXiv preprint arXiv:2106.09685</source>
          (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Singhania</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-C.</given-names>
            <surname>Kalo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Razniewski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. Z.</given-names>
            <surname>Pan</surname>
          </string-name>
          ,
          <article-title>Lm-kbc: Knowledge base construction from pre-trainedlanguage models, semantic web challenge @ iswc, CEUR-WS (</article-title>
          <year>2023</year>
          ). URL: https://lm-kbc.github.io/challenge2023/.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>F.</given-names>
            <surname>Petroni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Rocktäschel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Riedel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bakhtin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Miller</surname>
          </string-name>
          ,
          <article-title>Language models as knowledge bases?</article-title>
          ,
          <source>in: Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>2463</fpage>
          -
          <lpage>2473</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>S.</given-names>
            <surname>Razniewskia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Yatesa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Kassnerc</surname>
          </string-name>
          , G. Weikuma,
          <article-title>Language models as or for knowledge bases (</article-title>
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. F.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Araki</surname>
          </string-name>
          , G. Neubig,
          <article-title>How can we know what language models know?, Transactions of the Association for Computational Linguistics 8 (</article-title>
          <year>2020</year>
          )
          <fpage>423</fpage>
          -
          <lpage>438</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Bouraoui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Camacho-Collados</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Schockaert</surname>
          </string-name>
          ,
          <article-title>Inducing relational knowledge from bert</article-title>
          ,
          <source>in: Proceedings of the AAAI Conference on Artificial Intelligence</source>
          , volume
          <volume>34</volume>
          ,
          <year>2020</year>
          , pp.
          <fpage>7456</fpage>
          -
          <lpage>7463</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A.</given-names>
            <surname>Haviv</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Berant</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Globerson</surname>
          </string-name>
          , Bertese: Learning to speak to bert,
          <source>in: Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics:</source>
          Main Volume,
          <year>2021</year>
          , pp.
          <fpage>3618</fpage>
          -
          <lpage>3623</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>T.</given-names>
            <surname>Shin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Razeghi</surname>
          </string-name>
          , R. L.
          <string-name>
            <surname>Logan</surname>
            <given-names>IV</given-names>
          </string-name>
          , E. Wallace,
          <string-name>
            <given-names>S.</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <string-name>
            <surname>Autoprompt:</surname>
          </string-name>
          <article-title>Eliciting knowledge from language models with automatically generated prompts</article-title>
          ,
          <source>in: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>4222</fpage>
          -
          <lpage>4235</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>G.</given-names>
            <surname>Qin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Eisner</surname>
          </string-name>
          ,
          <article-title>Learning how to ask: Querying lms with mixtures of soft prompts</article-title>
          ,
          <source>in: Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>5203</fpage>
          -
          <lpage>5212</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zhong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Friedman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Chen</surname>
          </string-name>
          , Factual probing is [mask]:
          <article-title>Learning vs. learning to recall</article-title>
          ,
          <source>in: Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>5017</fpage>
          -
          <lpage>5033</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>L.</given-names>
            <surname>Fichtel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-C.</given-names>
            <surname>Kalo</surname>
          </string-name>
          , W.-T. Balke,
          <article-title>Prompt tuning or fine-tuning-investigating relational knowledge in pre-trained language models</article-title>
          ,
          <source>in: 3rd Conference on Automated Knowledge Base Construction</source>
          ,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>T.</given-names>
            <surname>He</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Cho</surname>
          </string-name>
          ,
          <string-name>
            <surname>J. Glass,</surname>
          </string-name>
          <article-title>An empirical study on few-shot knowledge probing for pretrained language models</article-title>
          ,
          <source>arXiv preprint arXiv:2109.02772</source>
          (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <surname>J.-C. Kalo</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          <string-name>
            <surname>Fichtel</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Ehler</surname>
          </string-name>
          , W.-T. Balke,
          <article-title>Knowlybert-hybrid query answering over language models and knowledge graphs</article-title>
          , in: International Semantic Web Conference,
          <year>2020</year>
          , pp.
          <fpage>294</fpage>
          -
          <lpage>310</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>H.</given-names>
            <surname>Arnaout</surname>
          </string-name>
          ,
          <string-name>
            <surname>T.-K. Tran</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Stepanova</surname>
            ,
            <given-names>M. H.</given-names>
          </string-name>
          <string-name>
            <surname>Gad-Elrab</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Razniewski</surname>
          </string-name>
          , G. Weikum,
          <article-title>Utilizing language model probes for knowledge graph repair</article-title>
          ,
          <source>in: Wiki Workshop</source>
          <year>2022</year>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>R.</given-names>
            <surname>Biswas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Sofronova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Alam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Heist</surname>
          </string-name>
          ,
          <article-title>Do judge an entity by its name! entity typing using language models, The Semantic Web: ESWC 2021 Satellite Events (</article-title>
          <year>2021</year>
          )
          <fpage>65</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>S.</given-names>
            <surname>Singhania</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.-P.</given-names>
            <surname>Nguyen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Razniewski</surname>
          </string-name>
          ,
          <article-title>Lm-kbc: Knowledge base construction from pre-trained language models, CEUR-WS (</article-title>
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>T.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Papasarantopoulos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Vougiouklis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. Z.</given-names>
            <surname>Pan</surname>
          </string-name>
          ,
          <article-title>Task-specific pre-training and prompt decomposition for knowledge graph population with language models</article-title>
          ,
          <source>CEURWS</source>
          (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>D.</given-names>
            <surname>Alivanistos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. B.</given-names>
            <surname>Santamaría</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Cochez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-C.</given-names>
            <surname>Kalo</surname>
          </string-name>
          , E. van Krieken,
          <string-name>
            <given-names>T.</given-names>
            <surname>Thanapalasingam</surname>
          </string-name>
          ,
          <article-title>Prompting as probing: Using language models for knowledge base construction, CEUR-WS (</article-title>
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>T.</given-names>
            <surname>Brown</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Mann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Ryder</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Subbiah</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. D.</given-names>
            <surname>Kaplan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Dhariwal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Neelakantan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Shyam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sastry</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Askell</surname>
          </string-name>
          , et al.,
          <article-title>Language models are few-shot learners</article-title>
          ,
          <source>Advances in neural information processing systems</source>
          <volume>33</volume>
          (
          <year>2020</year>
          )
          <fpage>1877</fpage>
          -
          <lpage>1901</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>X.</given-names>
            <surname>Ning</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Celebi</surname>
          </string-name>
          ,
          <article-title>Knowledge base construction from pre-trained language models by prompt learning</article-title>
          ,
          <source>CEUR-WS</source>
          (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>X.</given-names>
            <surname>Fang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Kalinowski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>You</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>An</surname>
          </string-name>
          ,
          <article-title>Prompt design and answer processing for knowledge base construction from pre-trained language models (kbc-lm), CEUR-WS (</article-title>
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>S.</given-names>
            <surname>Dalal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sharma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Jain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Dave</surname>
          </string-name>
          ,
          <article-title>Manual prompt generation for language model probing (</article-title>
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>S.</given-names>
            <surname>Mukherjee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Mitra</surname>
          </string-name>
          , G. Jawahar,
          <string-name>
            <given-names>S.</given-names>
            <surname>Agarwal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Palangi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Awadallah</surname>
          </string-name>
          , Orca:
          <article-title>Progressive learning from complex explanation traces of gpt-4</article-title>
          , arXiv preprint arXiv:
          <volume>2306</volume>
          .02707 (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>V.</given-names>
            <surname>Karpukhin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Oguz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Min</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Edunov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Chen</surname>
          </string-name>
          , W.-t. Yih,
          <article-title>Dense passage retrieval for open-domain question answering</article-title>
          ,
          <source>in: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>6769</fpage>
          -
          <lpage>6781</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>T.</given-names>
            <surname>Dettmers</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Belkada</surname>
          </string-name>
          , L. Zettlemoyer,
          <string-name>
            <surname>Llm.</surname>
          </string-name>
          int8 ()
          <article-title>: 8-bit matrix multiplication for transformers at scale</article-title>
          ,
          <source>arXiv preprint arXiv:2208.07339</source>
          (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>T.</given-names>
            <surname>Dettmers</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Shleifer</surname>
          </string-name>
          , L. Zettlemoyer, 8
          <article-title>-bit optimizers via block-wise quantization</article-title>
          ,
          <source>9th International Conference on Learning Representations, ICLR</source>
          (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <given-names>T.</given-names>
            <surname>Wolf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Debut</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Sanh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Chaumond</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Delangue</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Moi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Cistac</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Rault</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Louf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Funtowicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Davison</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Shleifer</surname>
          </string-name>
          , P. von Platen, C. Ma,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Jernite</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Plu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. Le</given-names>
            <surname>Scao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gugger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Drame</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Lhoest</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Rush</surname>
          </string-name>
          , Transformers:
          <article-title>State-of-the-art natural language processing</article-title>
          ,
          <source>in: Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations</source>
          ,
          <article-title>Association for Computational Linguistics</article-title>
          , Online,
          <year>2020</year>
          , pp.
          <fpage>38</fpage>
          -
          <lpage>45</lpage>
          . URL: https://aclanthology.org/
          <year>2020</year>
          .emnlp-demos.6. doi:
          <volume>10</volume>
          .18653/ v1/
          <year>2020</year>
          .emnlp- demos.6.
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31]
          <string-name>
            <given-names>A.</given-names>
            <surname>Paszke</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gross</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Massa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lerer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Bradbury</surname>
          </string-name>
          , G. Chanan,
          <string-name>
            <given-names>T.</given-names>
            <surname>Killeen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Lin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Gimelshein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Antiga</surname>
          </string-name>
          , et al.,
          <article-title>Pytorch: An imperative style, high-performance deep learning library</article-title>
          ,
          <source>Advances in neural information processing systems</source>
          <volume>32</volume>
          (
          <year>2019</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>