weightedhuman
commited on
Commit
•
2c08fa3
1
Parent(s):
15c26e9
Update README.md
Browse files
README.md
CHANGED
@@ -19,15 +19,19 @@ The Fine-Tuned BERT News Classifier is a natural language processing (NLP) model
|
|
19 |
|
20 |
### Import Necessary Libraries
|
21 |
|
|
|
22 |
import tensorflow_text as text
|
23 |
import tensorflow as tf
|
24 |
-
|
25 |
|
26 |
### Load The Model
|
27 |
|
|
|
28 |
from huggingface_hub import from_pretrained_keras
|
29 |
|
30 |
model = from_pretrained_keras("weightedhuman/fine-tuned-bert-news-classifier")
|
|
|
|
|
31 |
|
32 |
### Make Predictions
|
33 |
|
|
|
19 |
|
20 |
### Import Necessary Libraries
|
21 |
|
22 |
+
```python
|
23 |
import tensorflow_text as text
|
24 |
import tensorflow as tf
|
25 |
+
```
|
26 |
|
27 |
### Load The Model
|
28 |
|
29 |
+
```python
|
30 |
from huggingface_hub import from_pretrained_keras
|
31 |
|
32 |
model = from_pretrained_keras("weightedhuman/fine-tuned-bert-news-classifier")
|
33 |
+
```
|
34 |
+
|
35 |
|
36 |
### Make Predictions
|
37 |
|