MMSRL

Our Multimodal Semantic Role Labeling model for CONSTRAINT 2022
git clone https://esimon.eu/repos/MMSRL.git
Log | Files | Refs | Submodules | README

annotator D.ipynb (2746B)


      1 {
      2  "cells": [
      3   {
      4    "cell_type": "code",
      5    "execution_count": 1,
      6    "id": "laughing-being",
      7    "metadata": {},
      8    "outputs": [
      9     {
     10      "data": {
     11       "application/vnd.jupyter.widget-view+json": {
     12        "model_id": "3c936d0eb6e94c6d886efb748ef1ce18",
     13        "version_major": 2,
     14        "version_minor": 0
     15       },
     16       "text/plain": [
     17        "HTML(value='\\n            <p><strong>This notebook is for annotator D!</strong></p>\\n            <p><strong>In…"
     18       ]
     19      },
     20      "metadata": {},
     21      "output_type": "display_data"
     22     }
     23    ],
     24    "source": [
     25     "import annotations.annotator\n",
     26     "annotator = annotations.annotator.Annotator(\"D\", \"/images\")\n",
     27     "annotator.instructions()"
     28    ]
     29   },
     30   {
     31    "cell_type": "code",
     32    "execution_count": 2,
     33    "id": "proper-campus",
     34    "metadata": {},
     35    "outputs": [
     36     {
     37      "data": {
     38       "application/vnd.jupyter.widget-view+json": {
     39        "model_id": "4e34a804a0e7446a8f44732392e796e8",
     40        "version_major": 2,
     41        "version_minor": 0
     42       },
     43       "text/plain": [
     44        "VBox(children=(HTML(value='\\n        <img src=\"/images/covid_memes_2973.png\"/>\\n        <pre>MEANWHILE\\nAT THE…"
     45       ]
     46      },
     47      "metadata": {},
     48      "output_type": "display_data"
     49     }
     50    ],
     51    "source": [
     52     "# No need to run this multiple times, it calls itself back once you select the answer\n",
     53     "annotator.ask_next()"
     54    ]
     55   },
     56   {
     57    "cell_type": "code",
     58    "execution_count": null,
     59    "id": "982fb423",
     60    "metadata": {},
     61    "outputs": [],
     62    "source": []
     63   }
     64  ],
     65  "metadata": {
     66   "hide_input": false,
     67   "kernelspec": {
     68    "display_name": "Python 3 (ipykernel)",
     69    "language": "python",
     70    "name": "python3"
     71   },
     72   "language_info": {
     73    "codemirror_mode": {
     74     "name": "ipython",
     75     "version": 3
     76    },
     77    "file_extension": ".py",
     78    "mimetype": "text/x-python",
     79    "name": "python",
     80    "nbconvert_exporter": "python",
     81    "pygments_lexer": "ipython3",
     82    "version": "3.9.2"
     83   },
     84   "latex_envs": {
     85    "LaTeX_envs_menu_present": true,
     86    "autoclose": false,
     87    "autocomplete": true,
     88    "bibliofile": "biblio.bib",
     89    "cite_by": "apalike",
     90    "current_citInitial": 1,
     91    "eqLabelWithNumbers": true,
     92    "eqNumInitial": 1,
     93    "hotkeys": {
     94     "equation": "Ctrl-E",
     95     "itemize": "Ctrl-I"
     96    },
     97    "labels_anchors": false,
     98    "latex_user_defs": false,
     99    "report_style_numbering": false,
    100    "user_envs_cfg": false
    101   },
    102   "toc": {
    103    "base_numbering": 1,
    104    "nav_menu": {},
    105    "number_sections": true,
    106    "sideBar": true,
    107    "skip_h1_title": false,
    108    "title_cell": "Table of Contents",
    109    "title_sidebar": "Contents",
    110    "toc_cell": false,
    111    "toc_position": {},
    112    "toc_section_display": true,
    113    "toc_window_display": false
    114   }
    115  },
    116  "nbformat": 4,
    117  "nbformat_minor": 5
    118 }