devymex commited on
Commit
09eed8e
1 Parent(s): dc9015f

import torch

Browse files

`import torch` is missed in sample code.

Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -21,6 +21,7 @@ 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-6b"
 
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
  checkpoint = "Salesforce/codet5p-6b"