nielsr HF staff commited on
Commit
40577f5
1 Parent(s): 18798f9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -4
README.md CHANGED
@@ -46,8 +46,8 @@ Here is how to use this model:
46
  >>> dataset = load_dataset("huggingface/cats-image")
47
  >>> image = dataset["test"]["image"][0]
48
 
49
- >>> feature_extractor = AutoFeatureExtractor.from_pretrained("zuppif/regnet-y-040")
50
- >>> model = RegNetForImageClassification.from_pretrained("zuppif/regnet-y-040")
51
 
52
  >>> inputs = feature_extractor(image, return_tensors="pt")
53
 
@@ -60,6 +60,4 @@ Here is how to use this model:
60
  'tabby, tabby cat'
61
  ```
62
 
63
-
64
-
65
  For more code examples, we refer to the [documentation](https://huggingface.co/docs/transformers/master/en/model_doc/regnet).
46
  >>> dataset = load_dataset("huggingface/cats-image")
47
  >>> image = dataset["test"]["image"][0]
48
 
49
+ >>> feature_extractor = AutoFeatureExtractor.from_pretrained("facebook/regnet-y-040")
50
+ >>> model = RegNetForImageClassification.from_pretrained("facebook/regnet-y-040")
51
 
52
  >>> inputs = feature_extractor(image, return_tensors="pt")
53
 
60
  'tabby, tabby cat'
61
  ```
62
 
 
 
63
  For more code examples, we refer to the [documentation](https://huggingface.co/docs/transformers/master/en/model_doc/regnet).