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.dev20202707.tar.gz (93.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: transformer_srl-2.0.dev20202707.tar.gz
  • Upload date:
  • Size: 93.5 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.dev20202707.tar.gz
Algorithm Hash digest
SHA256 a6b83fa029370aee94fc74b57dbedef93339b768000d850cea22d8eb35a7e0d6
MD5 384158ed0c357db41444642642dc9b3b
BLAKE2b-256 ff291aaf9cf6b5e3be263d6e2c3633b6f0ba037fb2e65a4c1c89579af1ed62dc

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