Transformers
PyTorch
code
custom_code
Inference Endpoints
codesage commited on
Commit
5712788
1 Parent(s): 16324a7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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([13, 1024])
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