Skip to main content

SRL Transformer model

Project description

Upload Python Package Code style: black

Semantic Role Lableing with BERT

Semantic Role Labeling based on AllenNLP implementation of Shi et al, 2019. It uses VerbAatlas inventory and it's trained also on predicate disambiguation, in addition to arguments identification and disambiguation.

  • Language Model: BERT
  • Dataset: CoNLL 2012

Results

With bert-base-cased:

# Dev set
- F1 arguments 87.6
- F1 predicates 95.5
# Test set
- F1 arguments x
- F1 predicates x

With bert-base-multilingual-cased:

# Dev set
- F1 arguments 86.2
- F1 predicates 94.2
# Test set
- F1 arguments 86.1
- F1 predicates 94.9

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

transformer_srl-2.0.dev20202607.tar.gz (93.7 kB view details)

Uploaded Source

File details

Details for the file transformer_srl-2.0.dev20202607.tar.gz.

File metadata

  • Download URL: transformer_srl-2.0.dev20202607.tar.gz
  • Upload date:
  • Size: 93.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for transformer_srl-2.0.dev20202607.tar.gz
Algorithm Hash digest
SHA256 e50b6414b3a5c2d783d011e07ff5c423e4c5236009019444c1499615c53811f4
MD5 01386d3b8b9b49f617a9b8788e7533cd
BLAKE2b-256 00161c624a08797799d5ff24b83668cc3c43960478b15a71134bac5416124c5d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page