pierluigic commited on
Commit
134900a
1 Parent(s): 4974c4d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -30,8 +30,8 @@ from WordTransformer import WordTransformer
30
  from InputExample import InputExample
31
 
32
  model = WordTransformer('pierluigic/xl-lexeme')
33
- examples = InputExample(texts=["the quick fox jumps over the lazy dog"], positions=[[10,13]])
34
- fox_embedding = model.encode(examples)[0] #The embedding of the target word "fox"
35
  ```
36
 
37
 
 
30
  from InputExample import InputExample
31
 
32
  model = WordTransformer('pierluigic/xl-lexeme')
33
+ examples = InputExample(texts="the quick fox jumps over the lazy dog", positions=[10,13])
34
+ fox_embedding = model.encode(examples) #The embedding of the target word "fox"
35
  ```
36
 
37