[urls to hub] Replace outdated model tags with their now-canonical pipeline types (#14617)

* Replace outdated model tags with their now-canonical pipeline types

* spam the CI till it's green
This commit is contained in:
Julien Chaumond
2021-12-06 10:35:01 +01:00
committed by GitHub
parent c824d7ed48
commit 6cdc3a7844
15 changed files with 16 additions and 15 deletions

View File

@@ -17,7 +17,7 @@
Pre-training/Fine-tuning the library models for causal language modeling (GPT, GPT-2, CTRL, ...) on a text file or a dataset.
Here is the full list of checkpoints on the hub that can be fine-tuned by this script:
https://huggingface.co/models?filter=causal-lm
https://huggingface.co/models?filter=text-generation
"""
# You can also adapt this script on your own causal language modeling task. Pointers for this are left as comments.

View File

@@ -18,7 +18,7 @@ Fine-tuning the library models for masked language modeling (BERT, ALBERT, RoBER
text file or a dataset.
Here is the full list of checkpoints on the hub that can be fine-tuned by this script:
https://huggingface.co/models?filter=masked-lm
https://huggingface.co/models?filter=fill-mask
"""
import json
import logging