piazzola commited on
Commit
3d051ef
·
1 Parent(s): 15079f2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -19,11 +19,13 @@ This model is a fine-tuned version of [facebook/opt-350m](https://huggingface.co
19
 
20
  **Make sure to set max_new_tokens = 20; otherwise, the model will generate one token at a time.**
21
 
22
- nlp = pipeline("text-generation",\
23
- model="piazzola/tmp_trainer",\
 
24
  max_new_tokens=20)
25
 
26
  nlp("Landlord hereby demises unto Tenant, and Tenant hereby leases from Landlord for the terms and upon the conditions set forth in this Lease 30,600 square feet of space in the building located at 15 Firstfield Road, Gaithersburg, Maryland, the Building, as set forth on Exhibit A, hereto attached, said space being referred to as the Premises.")
 
27
 
28
  ## Intended uses & limitations
29
 
 
19
 
20
  **Make sure to set max_new_tokens = 20; otherwise, the model will generate one token at a time.**
21
 
22
+ ```
23
+ nlp = pipeline("text-generation",
24
+ model="piazzola/tmp_trainer",
25
  max_new_tokens=20)
26
 
27
  nlp("Landlord hereby demises unto Tenant, and Tenant hereby leases from Landlord for the terms and upon the conditions set forth in this Lease 30,600 square feet of space in the building located at 15 Firstfield Road, Gaithersburg, Maryland, the Building, as set forth on Exhibit A, hereto attached, said space being referred to as the Premises.")
28
+ ```
29
 
30
  ## Intended uses & limitations
31