| language: | |
| - en | |
| pretty_name: InstructorXL embeddings of the Arxiv.org titles | |
| task_categories: | |
| - sentence-similarity | |
| - feature-extraction | |
| size_categories: | |
| - 1M<n<10M | |
| # arxiv-titles-instructorxl-embeddings | |
| This dataset contains 768-dimensional embeddings generated from the [arxiv](https://arxiv.org/) | |
| paper titles 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 title 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 = "3D ActionSLAM: wearable person tracking in multi-floor environments" | |
| instruction = "Represent the Research Paper title for retrieval; Input:" | |
| embeddings = model.encode([[instruction, sentence]]) | |
| ``` | |