-
Notifications
You must be signed in to change notification settings - Fork 27.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🔥[Community Event] Doc Tests Sprint - Configuration files🔥 #19487
🔥[Community Event] Doc Tests Sprint - Configuration files🔥 #19487
Comments
I'd like to work on this; I'll start with YOLOS and open a PR :) |
I'll take on Whisper! |
I'll work on Beit! |
I'll take on GPT2 next! |
I can take imageGPT |
i'll work on yoso |
I'll work on
and open up PR soon :) |
Also will raise for Transformer-XL ! |
I'll work on bloom |
I'll take fsmt next |
While browsing the list of model configurations, I noticed that the DebertaConfig class does not have an example docstring section. Unsure if that is supposed to be like that, but just incase its not, I will add a PR to include the example docstring and maybe I can get some feedback from there. |
I'll work on dpt |
That would be very nice, @Saad135 ! Thank you |
I will take DeBERTa-v2 next |
I can take camembert next |
I can take DPR next |
I can take DeformableDetrConfig next |
Can I take timesformer next? |
Sure! For the context, we decide not to use the tiny random model checkpoints anymore. If there are some downstream models which lack the checkpoint, we just not to provide the expected values. |
Hello, I would like to take on gptj, longformer, and hubert |
@ydshieh , may I share a list of models that are yet to be worked on? |
@elabongaatuo GPT-J is large, and our CI won't be able to run doctest with its checkpoints. I think gptj, longformer, and hubert are all covered in Feel free to check the modeling files that are not in the above file 🤗 if you want to work on it ❤️ . Thank you! |
@ydshieh , thank you. m2m_100,llama and mvp don't have modeling files. a go ahead to work on them? |
|
Hi @ydshieh , I am new to open source, so just wanted to confirm whether I can take Falcon or not? Config file of Falcon is not mentioned in the documentation_tests.txt file. |
Hello @ydshieh , I am new to open sorce and want to take Edit: I couldn't find configuration files for |
I'll take roformer #26530 |
This sprint is similar to #16292 - but for model configuration files, i.e.
configuration_[model_name].py
.For example,
src/transformers/models/bert/configuration_bert.py
The expected changes
The changes we expect could be find #19485:
(with random weights)
in the comment before model initialization lineconfiguration_[model_name].py
toutils/documentation_tests.txt
(respecting the order)Please do step 3. only after Running the doctest and make sure all tests pass (see below) 🙏
How to run doctests
Suppose you are working on
src/transformers/models/bert/configuration_bert.py
. The steps to run the test are:Stage your changes
Prepare the files to be tested
or if you prefer to be more specific
This will change some files (doc-testing needs to add additional lines that we don't include in the doc source files).
Launch the test:
Cleanup git status
git checkout -- .
to clean up the changes in step 1.
Ready (or not)?
If all tests pass, you can commit, push and open a PR 🔥 🚀 , otherwise iterate the above steps 💯 !
The text was updated successfully, but these errors were encountered: