niansong1996 commited on
Commit
ff684a0
1 Parent(s): a01287d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -1
README.md CHANGED
@@ -27,4 +27,12 @@ model-index:
27
  # args:
28
  # {arg_0}: {value_0} # Optional. The arguments passed during `Metric.compute()`. Example for `bleu`: max_order: 4
29
  verified: false # Optional. If true, indicates that evaluation was generated by Hugging Face (vs. self-reported).
30
- ---
 
 
 
 
 
 
 
 
 
27
  # args:
28
  # {arg_0}: {value_0} # Optional. The arguments passed during `Metric.compute()`. Example for `bleu`: max_order: 4
29
  verified: false # Optional. If true, indicates that evaluation was generated by Hugging Face (vs. self-reported).
30
+ ---
31
+
32
+ # LEVER for Codex on Spider
33
+ Basic usage:
34
+ Load the model and tokenizer as follows:
35
+ ```python
36
+ tokenizer = T5Tokenizer.from_pretrained("Yale-LILY/lever-spider-codex")
37
+ model = T5ForConditionalGeneration.from_pretrained("Yale-LILY/lever-spider-codex")
38
+ ```