Hoppa till huvudinnehåll

sbx-swe-sentence_relation-transformers-superlim2

Analyscitering Information

Språkbanken Text. sbx-swe-sentence_relation-transformers-superlim2 [Analysis]. Språkbanken Text. https://doi.org/10.23695/p25v-fs07
BibTeX Ytterligare sätt att citera datamängden.
Bestäm den logiska relationen mellan två meningar

Exempel

This analysis is used with Sparv. Check out Sparv's quick start guide to get started!

To use this analysis, add the following lines under export.annotations in the Sparv corpus configuration file:

- <sentence>:sbx_superlim.swenli.label  # None
- <sentence>:sbx_superlim.swenli.certainty  # None

You also need to install the following plugin: sbx_superlim.

For general information on how to install plugins, see here.

For more info on how to use Sparv, check out the Sparv documentation.

Example output:

<sentence swenli.certainty="N/A" swenli.label="N/A">
  <token>Ett</token>
  <token>öppet</token>
  <token>Sverige</token>
  <token>Vi</token>
  <token>lever</token>
  <token>i</token>
  <token>en</token>
  <token>orolig</token>
  <token>tid</token>
  <token>,</token>
  <token>där</token>
  <token>människor</token>
  <token>tvingas</token>
  <token>fly</token>
  <token>för</token>
  <token>sina</token>
  <token>liv</token>
  <token>från</token>
  <token>krig</token>
  <token>och</token>
  <token>förtryck</token>
  <token>.</token>
</sentence>
<sentence swenli.certainty="0.663418173789978" swenli.label="contradiction">
  <token>Inte</token>
  <token>sedan</token>
  <token>Andra</token>
  <token>världskriget</token>
  <token>har</token>
  <token></token>
  <token>många</token>
  <token>människor</token>
  <token>varit</token>
  <token></token>
  <token>flykt</token>
  <token>.</token>
</sentence>

Typ

  • Analys

Uppgift

  • relation between two sentences

Enhet

  • mening

Licens

Beroenden

Externa verktyg

Modeller

SweNLI 1.0
Also see https://huggingface.co/datasets/sbx/superlim-2

Nyckelord

  • transformers
  • huggingface
  • superlim

Kontakt

sb-info@svenska.gu.se