AUB MIND LAB commited on
Commit
51db2a3
1 Parent(s): ca745a2

Update README.md

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