japoneris commited on
Commit
35a4941
1 Parent(s): 48dd1d6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
README.md CHANGED
@@ -21,8 +21,10 @@ Furthermore, it is instruction-tuned to align with natural language instructions
21
  This model can be easily loaded using the `AutoModelForSeq2SeqLM` functionality and employs the same tokenizer as [CodeGen](https://github.com/salesforce/CodeGen).
22
 
23
  ```python
 
24
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
25
 
 
26
  checkpoint = "Salesforce/codet5p-2b"
27
  device = "cuda" # for GPU usage or "cpu" for CPU usage
28
 
 
21
  This model can be easily loaded using the `AutoModelForSeq2SeqLM` functionality and employs the same tokenizer as [CodeGen](https://github.com/salesforce/CodeGen).
22
 
23
  ```python
24
+ import torch
25
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
26
 
27
+
28
  checkpoint = "Salesforce/codet5p-2b"
29
  device = "cuda" # for GPU usage or "cpu" for CPU usage
30