transformers
Replace assertions with value errors on distilbert model
#20463
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
22
Changes
View On
GitHub
Replace assertions with value errors on distilbert model
#20463
sgugger
merged 22 commits into
huggingface:main
from replace-assertions-with-ValueErrors-on-distilbert-model
Changed assert into 7-8 exceptions
e4131248
updated syntax error
210c0aff
updated error
e197dcbd
updated file (Co-autho: Batese2001)
6d862a20
Successful test on test_modeling_distilbert.py
8d23a507
Delete test_modeling_distilbert.ipynb
1a6bcb73
Update modeling_distilbert.py
eef54283
Successful raising of exceptions with the conditions that are contrar…
8216cbcc
Successful raising of exceptions with the conditions that are contrar…
e7135dad
committing the reformatted distilbert model
8ce829fc
reformatted distilbert model
0ad5940a
reformatted distilbert model
155b6968
reformatted distilbert model
e95bd4b3
reformatted distilbert model with black
e7c695f9
Changed comments that explain better about raising exceptions for not…
05e73a7a
Changed comments that explain better about raising exceptions for not…
f0d93664
changed based on the feedback
3903799c
Changed line 833 based on the suggestion made from @younesbelkada
79dc3377
Changed line 833 based on the suggestion made from @younesbelkada draft2
42540608
reformatted file
14b8b033
younesbelkada
commented on 2022-11-26
Update src/transformers/models/distilbert/modeling_distilbert.py
ceeac58d
younesbelkada
commented on 2022-11-26
Update src/transformers/models/distilbert/modeling_distilbert.py
2971804e
younesbelkada
approved these changes on 2022-11-26
JuheonChu
commented on 2022-11-27
sgugger
approved these changes on 2022-11-28
sgugger
merged
98122794
into main
3 years ago
JuheonChu
deleted the replace-assertions-with-ValueErrors-on-distilbert-model branch
3 years ago
Login to write a write a comment.
Login via GitHub
Reviewers
sgugger
younesbelkada
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Login to write a write a comment.
Login via GitHub