From a5d36a1cabb190deb463dc6b870fe57c9dc576a7 Mon Sep 17 00:00:00 2001 From: Mateusz Klimaszewski <mk.klimaszewski@gmail.com> Date: Mon, 9 Nov 2020 10:22:28 +0100 Subject: [PATCH] Add information about pre-trained models. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 0213823..87a4657 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,14 @@ </a> </p> +[Pre-trained models!](http://mozart.ipipan.waw.pl/~mklimaszewski/models/) +```python +import combo.predict as predict +nlp = predict.SemanticMultitaskPredictor.from_pretrained("polish-herbert-base") +sentence = nlp("Moje zdanie.") +print(sentence.tokens) +``` + ## Installation Clone this repository and run: -- GitLab