AUB MIND LAB commited on
Commit
cf36ccb
1 Parent(s): ed115b9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -3
README.md CHANGED
@@ -106,13 +106,23 @@ aragpt2-mega
106
 
107
  # TensorFlow 1.x models
108
 
109
- The TF1.x model are avaiable in the HuggingFace models repo.
110
- To download them as follows:
 
111
  ```bash
112
- wget https://s3.amazonaws.com/models.huggingface.co/bert/aubmindlab/MODEL_NAME/tf1_model.tar.gz
 
 
 
 
113
  ```
114
  where `MODEL_NAME` is any model under the `aubmindlab` name
115
 
 
 
 
 
 
116
 
117
  # If you used this model please cite us as :
118
  Google Scholar has our Bibtex wrong (missing name), use this instead
106
 
107
  # TensorFlow 1.x models
108
 
109
+ The TF1.x model are available in the HuggingFace models repo.
110
+ You can download them as follows:
111
+ - via git-lfs: clone all the models in a repo
112
  ```bash
113
+ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
114
+ sudo apt-get install git-lfs
115
+ git lfs install
116
+ git clone https://huggingface.co/aubmindlab/MODEL_NAME
117
+ tar -C ./MODEL_NAME -zxvf /content/MODEL_NAME/tf1_model.tar.gz
118
  ```
119
  where `MODEL_NAME` is any model under the `aubmindlab` name
120
 
121
+ - via `wget`:
122
+ - Go to the tf1_model.tar.gz file on huggingface.co/models/aubmindlab/MODEL_NAME.
123
+ - copy the `oid sha256`
124
+ - 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`)
125
+
126
 
127
  # If you used this model please cite us as :
128
  Google Scholar has our Bibtex wrong (missing name), use this instead