martynawck commited on
Commit
d7d4696
1 Parent(s): 15e8ab1

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -0
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Model description
2
+
3
+ - Morphosyntactic analyzer: Spacy
4
+ - Tagset: NKJP
5
+ - Embedding vectors: Fasttext
6
+ - Dataset: NLPrePL-NKJP-fair-by-name (https://huggingface.co/datasets/ipipan/nlprepl)
7
+
8
+ # How to use
9
+
10
+ ## Clone
11
+
12
+ ```
13
+ git clone [email protected]:ipipan/nlpre_spacy_nkjp_fasttext_nkjp-by-name
14
+ ```
15
+
16
+ ## Load model
17
+
18
+ ```
19
+ import spacy
20
+
21
+ model_name = './nlpre_spacy_nkjp_fasttext_nkjp-by-name'
22
+ model_upos = spacy.load(model_name + '/upos')
23
+ model_xpos = spacy.load(model_name + '/xpos+lemma')
24
+ ```