rrrr66254 commited on
Commit
47f5f99
·
verified ·
1 Parent(s): 71fa813

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -4
README.md CHANGED
@@ -22,8 +22,6 @@ This is the model card of a 🤗 transformers model that has been pushed on the
22
  - **Developed by:** Dongjun Kim
23
  - **Model type:** Text2Text Generation
24
  - **Language(s) (NLP):** English
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
 
28
 
29
  ## Intended Uses
@@ -49,13 +47,14 @@ The model is **not** suitable for:
49
  ```python
50
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
51
 
52
- tokenizer = AutoTokenizer.from_pretrained("your-username/bart-gloss-finetuned")
53
- model = AutoModelForSeq2SeqLM.from_pretrained("your-username/bart-gloss-finetuned")
54
 
55
  gloss_input = "YOU GO STORE TOMORROW?"
56
  inputs = tokenizer(gloss_input, return_tensors="pt")
57
  output = model.generate(**inputs)
58
  print(tokenizer.decode(output[0], skip_special_tokens=True))
 
59
  ```
60
 
61
  ## Bias, Risks, and Limitations
 
22
  - **Developed by:** Dongjun Kim
23
  - **Model type:** Text2Text Generation
24
  - **Language(s) (NLP):** English
 
 
25
 
26
 
27
  ## Intended Uses
 
47
  ```python
48
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
49
 
50
+ tokenizer = AutoTokenizer.from_pretrained("rrrr66254/bart-gloss-finetuned")
51
+ model = AutoModelForSeq2SeqLM.from_pretrained("rrrr66254/bart-gloss-finetuned")
52
 
53
  gloss_input = "YOU GO STORE TOMORROW?"
54
  inputs = tokenizer(gloss_input, return_tensors="pt")
55
  output = model.generate(**inputs)
56
  print(tokenizer.decode(output[0], skip_special_tokens=True))
57
+ # Expected output is "Are you going to the store tomorrow?"
58
  ```
59
 
60
  ## Bias, Risks, and Limitations