Updated README.md via fastc
Browse files
README.md
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: deepset/tinyroberta-6l-768d
|
3 |
+
tags:
|
4 |
+
- fastc
|
5 |
+
- fastc-2.0
|
6 |
+
---
|
7 |
+
|
8 |
+
# groq-stroke-detector-fastc
|
9 |
+
|
10 |
+
## Install fastc
|
11 |
+
```bash
|
12 |
+
pip install fastc
|
13 |
+
```
|
14 |
+
|
15 |
+
## Model Inference
|
16 |
+
```python
|
17 |
+
from fastc import Fastc
|
18 |
+
|
19 |
+
model = Fastc('labteral/groq-stroke-detector-fastc')
|
20 |
+
label = model.predict_one(text)['label']
|
21 |
+
```
|