osanseviero
commited on
Commit
•
40e426c
1
Parent(s):
da94138
Update README.md
Browse files
README.md
CHANGED
@@ -15,9 +15,16 @@ Please find the [notebook](https://nbviewer.org/github/rajeshradhakrishnanmvk/ki
|
|
15 |
|
16 |
Usage:
|
17 |
|
|
|
|
|
|
|
|
|
|
|
18 |
```
|
|
|
|
|
19 |
from huggingface_hub import from_pretrained_fastai
|
20 |
-
learner = from_pretrained_fastai(rajeshradhakrishnan/ml-news-classify-fastai)
|
21 |
|
22 |
|
23 |
sentences = ["ഓഹരി വിപണി തകരുമ്പോള് നിക്ഷേപം എങ്ങനെ സുരക്ഷിതമാക്കാം",
|
|
|
15 |
|
16 |
Usage:
|
17 |
|
18 |
+
First, install the utilities to load the model as well as `blurr`, which was used to train this model.
|
19 |
+
|
20 |
+
```bash
|
21 |
+
!pip install huggingface_hub[fastai]
|
22 |
+
!git clone https://github.com/ohmeow/blurr.git && cd blurr && pip install -e ".[dev]"
|
23 |
```
|
24 |
+
|
25 |
+
```python
|
26 |
from huggingface_hub import from_pretrained_fastai
|
27 |
+
learner = from_pretrained_fastai("rajeshradhakrishnan/ml-news-classify-fastai")
|
28 |
|
29 |
|
30 |
sentences = ["ഓഹരി വിപണി തകരുമ്പോള് നിക്ഷേപം എങ്ങനെ സുരക്ഷിതമാക്കാം",
|