albertvillanova HF staff commited on
Commit
a815ad4
1 Parent(s): 0f27e65

Update instructions about version in dataset card

Browse files
Files changed (1) hide show
  1. README.md +36 -11
README.md CHANGED
@@ -252,17 +252,36 @@ dataset_info:
252
 
253
  ### Dataset Summary
254
 
255
- BIGPATENT, consisting of 1.3 million records of U.S. patent documents along with human written abstractive summaries. Each US patent application is filed under a Cooperative Patent Classification (CPC) code. There are nine such classification categories:
256
-
257
- - A (Human Necessities)
258
- - B (Performing Operations; Transporting)
259
- - C (Chemistry; Metallurgy)
260
- - D (Textiles; Paper)
261
- - E (Fixed Constructions)
262
- - F (Mechanical Engineering; Lightning; Heating; Weapons; Blasting)
263
- - G (Physics)
264
- - H (Electricity)
265
- - Y (General tagging of new or cross-sectional technology)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
 
267
  ### Supported Tasks and Leaderboards
268
 
@@ -277,6 +296,12 @@ English
277
  ### Data Instances
278
 
279
  Each instance contains a pair of `description` and `abstract`. `description` is extracted from the Description section of the Patent while `abstract` is extracted from the Abstract section.
 
 
 
 
 
 
280
 
281
  ### Data Fields
282
 
252
 
253
  ### Dataset Summary
254
 
255
+ BIGPATENT, consisting of 1.3 million records of U.S. patent documents along with human written abstractive summaries.
256
+ Each US patent application is filed under a Cooperative Patent Classification (CPC) code.
257
+ There are nine such classification categories:
258
+ - a: Human Necessities
259
+ - b: Performing Operations; Transporting
260
+ - c: Chemistry; Metallurgy
261
+ - d: Textiles; Paper
262
+ - e: Fixed Constructions
263
+ - f: Mechanical Engineering; Lightning; Heating; Weapons; Blasting
264
+ - g: Physics
265
+ - h: Electricity
266
+ - y: General tagging of new or cross-sectional technology
267
+
268
+ Current defaults are 2.1.2 version (fix update to cased raw strings) and 'all' CPC codes:
269
+ ```python
270
+ from datasets import load_dataset
271
+
272
+ ds = load_dataset("big_patent") # default is 'all' CPC codes
273
+ ds = load_dataset("big_patent", "all") # the same as above
274
+ ds = load_dataset("big_patent", "a") # only 'a' CPC codes
275
+ ds = load_dataset("big_patent", codes=["a", "b"])
276
+ ```
277
+
278
+ To use 1.0.0 version (lower cased tokenized words), pass both parameters `codes` and `version`:
279
+ ```python
280
+ ds = load_dataset("big_patent", codes="all", version="1.0.0")
281
+ ds = load_dataset("big_patent", codes="a", version="1.0.0")
282
+ ds = load_dataset("big_patent", codes=["a", "b"], version="1.0.0")
283
+ ```
284
+
285
 
286
  ### Supported Tasks and Leaderboards
287
 
296
  ### Data Instances
297
 
298
  Each instance contains a pair of `description` and `abstract`. `description` is extracted from the Description section of the Patent while `abstract` is extracted from the Abstract section.
299
+ ```
300
+ {
301
+ 'description': 'FIELD OF THE INVENTION \n [0001] This invention relates to novel calcium phosphate-coated implantable medical devices and processes of making same. The unique calcium-phosphate coated implantable medical devices minimize...',
302
+ 'abstract': 'This invention relates to novel calcium phosphate-coated implantable medical devices...'
303
+ }
304
+ ```
305
 
306
  ### Data Fields
307