lucasmortensen commited on
Commit
565d66a
·
verified ·
1 Parent(s): 5cff974

Update public access instructions and add COD widget examples

Browse files
Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -3,6 +3,11 @@ license: apache-2.0
3
  library_name: transformers
4
  pipeline_tag: text-generation
5
  base_model: google/flan-t5-base
 
 
 
 
 
6
  language:
7
  - en
8
  - nl
@@ -41,8 +46,6 @@ Install the inference dependencies; Transformers 5.1.0 is the version recorded w
41
  uv add "transformers==5.1.0" torch sentencepiece
42
  ```
43
 
44
- The repository is currently private. An account with access must first authenticate with `hf auth login`.
45
-
46
  ```python
47
  import torch
48
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
 
3
  library_name: transformers
4
  pipeline_tag: text-generation
5
  base_model: google/flan-t5-base
6
+ widget:
7
+ - text: "cod: fever | age: unknown | sex: unknown"
8
+ example_title: "Cause text with missing metadata"
9
+ - text: "cod: pneumonia | age: 65 | sex: female"
10
+ example_title: "Cause text with age and sex"
11
  language:
12
  - en
13
  - nl
 
46
  uv add "transformers==5.1.0" torch sentencepiece
47
  ```
48
 
 
 
49
  ```python
50
  import torch
51
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer