Text Generation
PyTorch
English
llama
nielsr HF Staff commited on
Commit
d37c289
·
verified ·
1 Parent(s): d982f5e

Add `library_name: transformers` to metadata

Browse files

This PR updates the model card to include the `library_name: transformers` in the metadata.

This addition is based on the model's `config.json` and `tokenizer_config.json` files, which indicate compatibility with the `transformers` library (e.g., `model_type: llama`, `tokenizer_class: LlamaTokenizer`, `transformers_version`).

Adding `library_name` enables the automated "how to use" widget on the model page, providing users with a readily available code snippet for interacting with the model using the 🤗 Transformers library.

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