Commit e4d288b
set bias=True for linear layer (#527)
Summary:
Pull Request resolved: #527
Pull Request resolved: #526
1. for output projection in text decoder, change bias=False to True. In many other places, e.g., LP head, ember's output module and LLAVA, they are using bias=True (which is default value in Linear).
2. add configuration of using MLP instead of attention pooler for vision adapter;
Reviewed By: Bellaktris
Differential Revision:
D55897450
Privacy Context Container: 303860477774201
fbshipit-source-id: 8e012b0c3d37566364f216dbfa8aec389142afe11 parent dbeed97 commit e4d288b
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
197 | 207 | | |
198 | 208 | | |
199 | 209 | | |
| |||
0 commit comments