--- language: - en pretty_name: InstructorXL embeddings of the Arxiv.org abstracts --- # arxiv-abstracts-instructorxl This dataset contains 768-dimensional embeddings generated from the [arxiv](https://arxiv.org/) paper abstracts using [InstructorXL](https://huggingface.co/hkunlp/instructor-xl) model. Each vector has an abstract used to create it, along with the DOI (Digital Object Identifier). The dataset was created using precomputed embeddings exposed by the [Alexandria Index](https://alex.macrocosm.so/download). ## Generation process The embeddings have been generated using the following instruction: ```text Represent the Research Paper abstract for retrieval; Input: ``` The following code snippet shows how to generate embeddings using the InstructorXL model: ```python from InstructorEmbedding import INSTRUCTOR model = INSTRUCTOR('hkunlp/instructor-xl') sentence = "The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an encoder-decoder configuration. The best performing models also connect the encoder and decoder through an attention mechanism. We propose a new simple network architecture, the Transformer, based solely on attention mechanisms, dispensing with recurrence and convolutions entirely. Experiments on two machine translation tasks show these models to be superior in quality while being more parallelizable and requiring significantly less time to train." instruction = "Represent the Research Paper abstract for retrieval; Input:" embeddings = model.encode([[instruction, sentence]]) ```