sbmaruf commited on
Commit
4ddc735
1 Parent(s): a83a46a

update readme

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md CHANGED
@@ -64,6 +64,22 @@ retrieval_corpus_dataset = datasets.load_dataset("NTU-NLP-sg/xCodeEval", "retrie
64
 
65
  ```
66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  Data can be also downloaded as a git LFS repo from huggingface.
68
 
69
  ![xCodeEval_hf](https://github.com/ntunlp/xCodeEval/blob/main/xcodeeval-hf.png?raw=true)
 
64
 
65
  ```
66
 
67
+ ## Hf large data download tricks.
68
+
69
+ If you are facing long delay with data processing, add a `ignore_verifications=True`.
70
+
71
+ ```
72
+ prog_synthesis_dataset = datasets.load_dataset("NTU-NLP-sg/xCodeEval", "program_synthesis", ignore_verifications=True)
73
+ ```
74
+
75
+ If you are facing long delay with data downloading, use huggingface streaming mode.
76
+
77
+ ```
78
+ prog_synthesis_dataset = datasets.load_dataset("NTU-NLP-sg/xCodeEval", "program_synthesis", streaming=True)
79
+ ```
80
+
81
+ ## Just Give me the raw data (😠)
82
+
83
  Data can be also downloaded as a git LFS repo from huggingface.
84
 
85
  ![xCodeEval_hf](https://github.com/ntunlp/xCodeEval/blob/main/xcodeeval-hf.png?raw=true)