MichaelHuang
commited on
Commit
•
2c5ff89
1
Parent(s):
8eec311
Update README.md
Browse files
README.md
CHANGED
@@ -13,6 +13,9 @@ Base model is [google/muril-base-cased](https://huggingface.co/google/muril-base
|
|
13 |
## Usage
|
14 |
### example:
|
15 |
```python
|
|
|
|
|
|
|
16 |
model = AutoModelForTokenClassification.from_pretrained("MichaelHuang/muril_base_cased_urdu_sentiment")
|
17 |
tokenizer = AutoTokenizer.from_pretrained("google/muril-base-cased")
|
18 |
|
|
|
13 |
## Usage
|
14 |
### example:
|
15 |
```python
|
16 |
+
from transformers import AutoModelForTokenClassification, AutoTokenizer
|
17 |
+
import torch
|
18 |
+
|
19 |
model = AutoModelForTokenClassification.from_pretrained("MichaelHuang/muril_base_cased_urdu_sentiment")
|
20 |
tokenizer = AutoTokenizer.from_pretrained("google/muril-base-cased")
|
21 |
|