Feature Extraction
Transformers
Safetensors
ModularStarEncoder
custom_code
andreagurioli1995 commited on
Commit
2159564
·
verified ·
1 Parent(s): 26243d8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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(**sentence)
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: