Text Generation
PyTorch
English
gpt2
nielsr HF Staff commited on
Commit
c73f766
·
verified ·
1 Parent(s): 4b0cd4a

Add `library_name: transformers` to model card metadata

Browse files

This PR improves the model card by adding the `library_name: transformers` metadata tag. The `config.json` file shows that the model is compatible with the `transformers` library, as indicated by `"transformers_version": "4.42.0.dev0"`.

Adding this tag will enable the automated "How to use" widget on the model page, providing users with a convenient code snippet for loading and using the model with the 🤗 Transformers library.

Files changed (1) hide show
  1. README.md +5 -3
README.md CHANGED
@@ -1,15 +1,17 @@
1
  ---
2
- license: apache-2.0
 
3
  datasets:
4
  - databricks/databricks-dolly-15k
5
  language:
6
  - en
 
 
7
  metrics:
8
  - rouge
9
- base_model:
10
- - openai-community/gpt2-large
11
  pipeline_tag: text-generation
12
  ---
 
13
  # init-gpt2-760M
14
 
15
  [paper](https://arxiv.org/abs/2306.08543) | [code](https://github.com/microsoft/LMOps/tree/main/minillm)
 
1
  ---
2
+ base_model:
3
+ - openai-community/gpt2-large
4
  datasets:
5
  - databricks/databricks-dolly-15k
6
  language:
7
  - en
8
+ license: apache-2.0
9
+ library_name: transformers
10
  metrics:
11
  - rouge
 
 
12
  pipeline_tag: text-generation
13
  ---
14
+
15
  # init-gpt2-760M
16
 
17
  [paper](https://arxiv.org/abs/2306.08543) | [code](https://github.com/microsoft/LMOps/tree/main/minillm)