Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
64b6b2b2
Unverified
Commit
64b6b2b2
authored
Jan 11, 2023
by
Ying Zhang
Committed by
GitHub
Jan 11, 2023
Browse files
Update docstring for CLIPConfig (#21066)
Update doc for CLIPConfig
parent
8f796960
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/transformers/models/clip/configuration_clip.py
src/transformers/models/clip/configuration_clip.py
+1
-0
No files found.
src/transformers/models/clip/configuration_clip.py
View file @
64b6b2b2
...
@@ -290,6 +290,7 @@ class CLIPConfig(PretrainedConfig):
...
@@ -290,6 +290,7 @@ class CLIPConfig(PretrainedConfig):
>>> configuration = model.config
>>> configuration = model.config
>>> # We can also initialize a CLIPConfig from a CLIPTextConfig and a CLIPVisionConfig
>>> # We can also initialize a CLIPConfig from a CLIPTextConfig and a CLIPVisionConfig
>>> from transformers import CLIPTextConfig, CLIPVisionConfig
>>> # Initializing a CLIPText and CLIPVision configuration
>>> # Initializing a CLIPText and CLIPVision configuration
>>> config_text = CLIPTextConfig()
>>> config_text = CLIPTextConfig()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment