Update README.md
Browse files
README.md
CHANGED
@@ -39,7 +39,7 @@ model = AutoModel.from_pretrained(checkpoint, trust_remote_code=True).to(device)
|
|
39 |
inputs = tokenizer.encode("def print_hello_world():\tprint('Hello World!')", return_tensors="pt").to(device)
|
40 |
embedding = model(inputs)[0]
|
41 |
print(f'Dimension of the embedding: {embedding[0].size()}')
|
42 |
-
# Dimension of the embedding: torch.Size([
|
43 |
```
|
44 |
|
45 |
### BibTeX entry and citation info
|
|
|
39 |
inputs = tokenizer.encode("def print_hello_world():\tprint('Hello World!')", return_tensors="pt").to(device)
|
40 |
embedding = model(inputs)[0]
|
41 |
print(f'Dimension of the embedding: {embedding[0].size()}')
|
42 |
+
# Dimension of the embedding: torch.Size([14, 1024])
|
43 |
```
|
44 |
|
45 |
### BibTeX entry and citation info
|