Update README.md
Browse files
README.md
CHANGED
@@ -76,6 +76,7 @@ kao i korpus [PDRS 1.0](https://www.clarin.si/repository/xmlui/handle/11356/1752
|
|
76 |
>>> tensor_z = LongTensor(tokenizer.encode(z, add_special_tokens=False)).unsqueeze(0)
|
77 |
>>> model.eval()
|
78 |
>>> with no_grad():
|
|
|
79 |
>>> vektor_x = model(input_ids=tensor_x).hidden_states[-1].squeeze()
|
80 |
>>> vektor_y = model(input_ids=tensor_y).hidden_states[-1].squeeze()
|
81 |
>>> vektor_z = model(input_ids=tensor_z).hidden_states[-1].squeeze()
|
@@ -118,4 +119,4 @@ kao i korpus [PDRS 1.0](https://www.clarin.si/repository/xmlui/handle/11356/1752
|
|
118 |
|
119 |
</div>
|
120 |
|
121 |
-
<
|
|
|
76 |
>>> tensor_z = LongTensor(tokenizer.encode(z, add_special_tokens=False)).unsqueeze(0)
|
77 |
>>> model.eval()
|
78 |
>>> with no_grad():
|
79 |
+
|
80 |
>>> vektor_x = model(input_ids=tensor_x).hidden_states[-1].squeeze()
|
81 |
>>> vektor_y = model(input_ids=tensor_y).hidden_states[-1].squeeze()
|
82 |
>>> vektor_z = model(input_ids=tensor_z).hidden_states[-1].squeeze()
|
|
|
119 |
|
120 |
</div>
|
121 |
|
122 |
+
<link rel="stylesheet" href="styles.css"/>
|