AUB MIND LAB commited on
Commit
2121c23
1 Parent(s): fb9c65e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -3
README.md CHANGED
@@ -74,13 +74,23 @@ For the new dataset we added the unshuffled OSCAR corpus, after we thoroughly fi
74
 
75
  # TensorFlow 1.x models
76
 
77
- The TF1.x model are avaiable in the HuggingFace models repo.
78
- To download them as follows:
 
79
  ```bash
80
- wget https://s3.amazonaws.com/models.huggingface.co/bert/aubmindlab/MODEL_NAME/tf1_model.tar.gz
 
 
 
 
81
  ```
82
  where `MODEL_NAME` is any model under the `aubmindlab` name
83
 
 
 
 
 
 
84
 
85
  # If you used this model please cite us as :
86
 
 
74
 
75
  # TensorFlow 1.x models
76
 
77
+ The TF1.x model are available in the HuggingFace models repo.
78
+ You can download them as follows:
79
+ - via git-lfs: clone all the models in a repo
80
  ```bash
81
+ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
82
+ sudo apt-get install git-lfs
83
+ git lfs install
84
+ git clone https://huggingface.co/aubmindlab/MODEL_NAME
85
+ tar -C ./MODEL_NAME -zxvf /content/MODEL_NAME/tf1_model.tar.gz
86
  ```
87
  where `MODEL_NAME` is any model under the `aubmindlab` name
88
 
89
+ - via `wget`:
90
+ - Go to the tf1_model.tar.gz file on huggingface.co/models/aubmindlab/MODEL_NAME.
91
+ - copy the `oid sha256`
92
+ - then run `wget https://cdn-lfs.huggingface.co/aubmindlab/aragpt2-base/INSERT_THE_SHA_HERE` (ex: for `aragpt2-base`: `wget https://cdn-lfs.huggingface.co/aubmindlab/aragpt2-base/3766fc03d7c2593ff2fb991d275e96b81b0ecb2098b71ff315611d052ce65248`)
93
+
94
 
95
  # If you used this model please cite us as :
96