dragonSwing
commited on
Commit
·
ee09de4
1
Parent(s):
d8fc81f
Update README
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ The model also restores the complex upper-casing of words like *YouTube*, *MobiF
|
|
26 |
## 🚋 Usage
|
27 |
|
28 |
**Below is a quick way to get up and running with the model.**
|
29 |
-
1. Download files from hub
|
30 |
```python
|
31 |
import os
|
32 |
import shutil
|
@@ -48,7 +48,7 @@ def download_files(repo_id, cache_dir=None, ignore_regex=None):
|
|
48 |
download_files(repo_id="dragonSwing/vibert-capu", cache_dir=cache_dir, ignore_regex=["*.json", "*.bin"])
|
49 |
sys.path.append(cache_dir)
|
50 |
```
|
51 |
-
2. Sample python code
|
52 |
```python
|
53 |
import os
|
54 |
from gec_model import GecBERTModel
|
|
|
26 |
## 🚋 Usage
|
27 |
|
28 |
**Below is a quick way to get up and running with the model.**
|
29 |
+
1. Download files from hub
|
30 |
```python
|
31 |
import os
|
32 |
import shutil
|
|
|
48 |
download_files(repo_id="dragonSwing/vibert-capu", cache_dir=cache_dir, ignore_regex=["*.json", "*.bin"])
|
49 |
sys.path.append(cache_dir)
|
50 |
```
|
51 |
+
2. Sample python code
|
52 |
```python
|
53 |
import os
|
54 |
from gec_model import GecBERTModel
|