All Projects → ianycxu → Rgcn With Bert

ianycxu / Rgcn With Bert

Graph Convolutional Networks (GCN) with BERT for Coreference Resolution Task [Pytorch][DGL]

Projects that are alternatives of or similar to Rgcn With Bert

Fakeimagedetector
Image Tampering Detection using ELA and CNN
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Rl Movie Recommender
The purpose of our research is to study reinforcement learning approaches to building a movie recommender system. We formulate the problem of interactive recommendation as a contextual multi-armed bandit.
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Biggansarewatching
Authors official implementation of "Big GANs Are Watching You" pre-print
Stars: ✭ 94 (+0%)
Mutual labels:  jupyter-notebook
Cirrus
Serverless ML Framework
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Tutorials
Tutorials on optimization and coding skills
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Bayesian Cognitive Modeling In Pymc3
PyMC3 codes of Lee and Wagenmakers' Bayesian Cognitive Modeling - A Pratical Course
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Qatm
Code for Quality-Aware Template Matching for Deep Learning
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Ai
bash script to install Artifical Images materials
Stars: ✭ 92 (-2.13%)
Mutual labels:  jupyter-notebook
Text Mining Course
Course Notes for Text Mining - Prof. Peter Organisciak
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Story2hallucination
Stars: ✭ 91 (-3.19%)
Mutual labels:  jupyter-notebook
Doc Browser
A documentation browser with support for DevDocs, Dash and Hoogle, written in Haskell and QML
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Classification Of Hyperspectral Image
Classification of the Hyperspectral Image Indian Pines with Convolutional Neural Network
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Scikit Learn Classifiers
An introduction to implementing a number of scikit-learn classifiers, along with some data exploration
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Prob mbrl
A library of probabilistic model based RL algorithms in pytorch
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Datascience repo Beta
Notebooks para comenzar desde cero en data science (en español)
Stars: ✭ 94 (+0%)
Mutual labels:  jupyter-notebook
Dvrl
Deep Variational Reinforcement Learning
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Attalos
Joint Vector Spaces
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook
Nf Jax
Normalizing Flows in Jax
Stars: ✭ 94 (+0%)
Mutual labels:  jupyter-notebook
Notebooktowebapp
💭 This is the accompanying repo for my article on converting a Jupyter Notebook to a streamlit web app.
Stars: ✭ 94 (+0%)
Mutual labels:  jupyter-notebook
American Gut
American Gut open-access data and IPython notebooks
Stars: ✭ 93 (-1.06%)
Mutual labels:  jupyter-notebook

Look Again at the Syntax: Relational Graph Convolutional Network for Gendered Ambiguous Pronoun Resolution

Original Paper

https://arxiv.org/abs/1905.08868

Introduction

We propose an end-to-end resolver by combining pre-trained BERT with Relational Graph Convolutional Network (R-GCN). R-GCN is used for digesting structural syntactic information and learning better task-specific embeddings. Empirical results demonstrate that, under explicit syntactic supervision and without the need to fine tune BERT, R-GCN's embeddings outperform the original BERT embeddings on the coreference task. Our work obtains the state-of-the-art results on GAP dataset, and significantly improves the snippet-context baseline F1 score from 66.9% to 80.3%. We participated in the 2019 GAP Coreference Shared Task, and our codes are available online. The overall architecture is shown below.

Dataset we have

The data set is Gendered Ambiguous Pronouns (GAP), which is a gender-balanced dataset containing 8908 coreference-labeled pairs sampled from Wikipedia. The dataset contains samples Each sample contains a small paragraph that mentions the potential subject's names later refered by a target pronoun. It also came up with two candidate names for the resolver to choose from. Columns contains:

Header Description
ID ID for this sample
Text Text containing pronoun and two names
Pronoun Target pronoun in text
Pronoun-offset Character offset in text
A Name A in text
A-offset Position of A in the text
A-coref Whether A confers this pronoun
B Name B in text
B-offset Position of B in the text
A-coref Whether B confers this pronoun

Data Preprocessing

We use SpaCy as our syntactic denpendency parser. DGL is used to transfer each dependency tree into a graph object. This DGL graph object then can be used as the input for GCN model which is also implemented by DGL. Several graphs are grouped together as a larger DGL batch-graph object for batch training setting.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].