AUB MIND LAB
commited on
Commit
·
f6259b1
1
Parent(s):
e4ea8a9
Update README.md
Browse files
README.md
CHANGED
@@ -79,12 +79,23 @@ arabert_prep.preprocess(text)
|
|
79 |
# TensorFlow 1.x models
|
80 |
|
81 |
The TF1.x model are avaiable in the HuggingFace models repo.
|
82 |
-
|
|
|
83 |
```bash
|
84 |
-
|
|
|
|
|
|
|
|
|
|
|
85 |
```
|
86 |
where `MODEL_NAME` is any model under the `aubmindlab` name
|
87 |
|
|
|
|
|
|
|
|
|
|
|
88 |
|
89 |
# If you used this model please cite us as :
|
90 |
|
|
|
79 |
# TensorFlow 1.x models
|
80 |
|
81 |
The TF1.x model are avaiable in the HuggingFace models repo.
|
82 |
+
You can download them as follows:
|
83 |
+
- via git-lfs: clone all the models in a repo
|
84 |
```bash
|
85 |
+
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
|
86 |
+
sudo apt-get install git-lfs
|
87 |
+
git lfs install
|
88 |
+
|
89 |
+
!git clone https://huggingface.co/aubmindlab/MODEL_NAME
|
90 |
+
!tar -C ./MODEL_NAME -zxvf /content/MODEL_NAME/tf1_model.tar.gz
|
91 |
```
|
92 |
where `MODEL_NAME` is any model under the `aubmindlab` name
|
93 |
|
94 |
+
- via `wget`:
|
95 |
+
- Go to the tf1_model.tar.gz file on huggingface.co/models/aubmindlab/MODEL_NAME.
|
96 |
+
- copy the `oid sha256`
|
97 |
+
- 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`)
|
98 |
+
|
99 |
|
100 |
# If you used this model please cite us as :
|
101 |
|