timpal0l's picture
Update README.md
5d2f29e
|
raw
history blame
No virus
433 Bytes
metadata
language: sv
tags:
  - bert
license: apache-2.0
datasets:
  - nordicpile

Bert Large Cased

64k vocab

from transformers import pipeline

classifier = pipeline("fill-mask")
classifier("Paris is the <mask> of France.")

# [{'score': 0.7, 'sequence': 'Paris is the capital of France.'},
# {'score': 0.2, 'sequence': 'Paris is the birthplace of France.'},
# {'score': 0.1, 'sequence': 'Paris is the heart of France.'}]