Update README.md
Browse files
README.md
CHANGED
@@ -37,9 +37,6 @@ tokenizer = T5Tokenizer.from_pretrained('bonur/t5-base-tr')
|
|
37 |
```
|
38 |
|
39 |
To make inference with given text, you can use the following code:
|
40 |
-
|
41 |
-
|
42 |
-
To get the sentence embeddings, you can use the following code:
|
43 |
```python
|
44 |
inputs = tokenizer("Bu hafta hasta olduğum için <extra_id_0> gittim.", return_tensors='pt')
|
45 |
with torch.no_grad():
|
|
|
37 |
```
|
38 |
|
39 |
To make inference with given text, you can use the following code:
|
|
|
|
|
|
|
40 |
```python
|
41 |
inputs = tokenizer("Bu hafta hasta olduğum için <extra_id_0> gittim.", return_tensors='pt')
|
42 |
with torch.no_grad():
|