AUB MIND LAB commited on
Commit
24786ab
1 Parent(s): ca4da2d

Update README.md

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