Update README.md
Browse files
README.md
CHANGED
|
@@ -49,7 +49,7 @@ sentence = f"{tokenizer.sep_token}{code_snippet}{tokenizer.cls_token}"
|
|
| 49 |
tokenized_sensence = tokenizer(sentence, return_tensors="pt",truncation=True, max_length=2048)
|
| 50 |
|
| 51 |
#Embedding the tokenized sentence
|
| 52 |
-
embedded_sentence = model(**
|
| 53 |
```
|
| 54 |
|
| 55 |
You will get as an output six elements:
|
|
|
|
| 49 |
tokenized_sensence = tokenizer(sentence, return_tensors="pt",truncation=True, max_length=2048)
|
| 50 |
|
| 51 |
#Embedding the tokenized sentence
|
| 52 |
+
embedded_sentence = model(**tokenized_sensence)
|
| 53 |
```
|
| 54 |
|
| 55 |
You will get as an output six elements:
|