Updated CamemBERT model card to new standardized format#39227
Updated CamemBERT model card to new standardized format#39227stevhliu merged 6 commits intohuggingface:mainfrom
Conversation
|
Hi @stevhliu! I've added all the suggested changes to the CamemBERT model card, please let me know if there's anything else you'd like me to update! |
…amples, badges, and attribution
652abb9 to
a5dd7e1
Compare
stevhliu
left a comment
There was a problem hiding this comment.
Thanks, there are still some unresolved comments and the API references are scattered throughout the doc rather than having their own section
| ## CamembertForMultipleChoice | ||
|
|
||
| [[autodoc]] CamembertForMultipleChoice | ||
| You can also use CamemBERT for multiple-choice tasks via the command line: |
There was a problem hiding this comment.
Add this to the blocks above and make sure the example matches that of the Pipeline and AutoModel for consistency. See the BERT docs for an example
|
Hi @stevhliu. I went through all unresolved issues, applied all the suggestions and re-added the api references in the proper format. Please do let me know if there's anything you would like me to adjust! |
stevhliu
left a comment
There was a problem hiding this comment.
Thanks, just a few more things and then we can merge!
| </hfoption> | ||
|
|
||
| </Tip> | ||
| <hfoption id="Command line"> |
There was a problem hiding this comment.
| <hfoption id="Command line"> | |
| <hfoption id="transformers CLI"> |
| <hfoption id="Command line"> | ||
|
|
||
| ## Resources | ||
| ```bash |
There was a problem hiding this comment.
echo -e "Le camembert est un délicieux fromage <mask>." | transformers run --task fill-mask --model camembert-base --device 0|
Hi @stevhliu , I have incorporated remaining suggestions to the model document, let me know if there are any further changes you'd like me to make! |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
…39227) * Updated CamemBERT model card to new standardized format * Applied review suggestions for CamemBERT: restored API refs, added examples, badges, and attribution * Updated CamemBERT usage examples, quantization, badges, and format * Updated CamemBERT badges * Fixed CLI Section
…39227) * Updated CamemBERT model card to new standardized format * Applied review suggestions for CamemBERT: restored API refs, added examples, badges, and attribution * Updated CamemBERT usage examples, quantization, badges, and format * Updated CamemBERT badges * Fixed CLI Section
…39227) * Updated CamemBERT model card to new standardized format * Applied review suggestions for CamemBERT: restored API refs, added examples, badges, and attribution * Updated CamemBERT usage examples, quantization, badges, and format * Updated CamemBERT badges * Fixed CLI Section
…39227) * Updated CamemBERT model card to new standardized format * Applied review suggestions for CamemBERT: restored API refs, added examples, badges, and attribution * Updated CamemBERT usage examples, quantization, badges, and format * Updated CamemBERT badges * Fixed CLI Section
…39227) * Updated CamemBERT model card to new standardized format * Applied review suggestions for CamemBERT: restored API refs, added examples, badges, and attribution * Updated CamemBERT usage examples, quantization, badges, and format * Updated CamemBERT badges * Fixed CLI Section
…39227) * Updated CamemBERT model card to new standardized format * Applied review suggestions for CamemBERT: restored API refs, added examples, badges, and attribution * Updated CamemBERT usage examples, quantization, badges, and format * Updated CamemBERT badges * Fixed CLI Section
…39227) * Updated CamemBERT model card to new standardized format * Applied review suggestions for CamemBERT: restored API refs, added examples, badges, and attribution * Updated CamemBERT usage examples, quantization, badges, and format * Updated CamemBERT badges * Fixed CLI Section
…39227) * Updated CamemBERT model card to new standardized format * Applied review suggestions for CamemBERT: restored API refs, added examples, badges, and attribution * Updated CamemBERT usage examples, quantization, badges, and format * Updated CamemBERT badges * Fixed CLI Section
What does this PR do?
This PR updates the CamemBERT model card
camembert.md, by standardizing its format according to #36979. It includes example code for performing masked language modelling with the pipeline and AutoModel classes, as well as a Quantization example.Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@stevhliu please do let me know if you'd like me to make any changes!