Update README.md
Browse files
README.md
CHANGED
|
@@ -1,8 +1,11 @@
|
|
| 1 |
### How to use
|
| 2 |
|
| 3 |
-
You can use this model directly with a pipeline for masked language modeling:
|
| 4 |
|
| 5 |
```python
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
# loading model
|
| 7 |
model_path = f"{home_path}/cate_calssification_en_thai_checkpoint_150320"
|
| 8 |
assert os.path.isdir(model_path)
|
|
|
|
| 1 |
### How to use
|
| 2 |
|
|
|
|
| 3 |
|
| 4 |
```python
|
| 5 |
+
|
| 6 |
+
home_path = os.getcwd()
|
| 7 |
+
print(home_path)
|
| 8 |
+
|
| 9 |
# loading model
|
| 10 |
model_path = f"{home_path}/cate_calssification_en_thai_checkpoint_150320"
|
| 11 |
assert os.path.isdir(model_path)
|