"Fossies" - the Fresh Open Source Software Archive

Member "transformers-4.21.1/tests/fixtures/add_distilbert_like_config.json" (4 Aug 2022, 504 Bytes) of package /linux/misc/transformers-4.21.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JSON source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {
    2     "add_copied_from": true,
    3     "old_model_type": "distilbert",
    4     "new_model_patterns": {
    5         "model_name": "BERT New",
    6         "checkpoint": "huggingface/bert-new-base",
    7         "model_type": "bert-new",
    8         "model_lower_cased": "bert_new",
    9         "model_camel_cased": "BertNew",
   10         "model_upper_cased": "BERT_NEW",
   11         "config_class": "BertNewConfig",
   12         "tokenizer_class": "DistilBertTokenizer"
   13     },
   14     "frameworks": [
   15         "pt",
   16         "tf",
   17         "flax"
   18     ]
   19 }