dumperize commited on
Commit
d6e6dba
1 Parent(s): d1be8cc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -31,7 +31,7 @@ We refined the model on the dataset with descriptions and movie posters by russi
31
  ```python
32
  from PIL import Image
33
  import torch
34
- from transformers import AutoTokenizer, AutoModel
35
 
36
  tokenizer = AutoTokenizer.from_pretrained("dumperize/movie-picture-captioning")
37
  feature_extractor = ViTFeatureExtractor.from_pretrained("dumperize/movie-picture-captioning")
 
31
  ```python
32
  from PIL import Image
33
  import torch
34
+ from transformers import AutoTokenizer, ViTFeatureExtractor, VisionEncoderDecoderModel
35
 
36
  tokenizer = AutoTokenizer.from_pretrained("dumperize/movie-picture-captioning")
37
  feature_extractor = ViTFeatureExtractor.from_pretrained("dumperize/movie-picture-captioning")