Update README.md
Browse files
README.md
CHANGED
|
@@ -28,7 +28,13 @@ This model is a fine-tuned version of [microsoft/deberta-v3-base](https://huggin
|
|
| 28 |
# How to use
|
| 29 |
|
| 30 |
```python
|
| 31 |
-
from transformers import pipeline classifier = pipeline("text-classification", model="your-username/unga-climate-classifier")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
```
|
| 33 |
|
| 34 |
# how to cite
|
|
|
|
| 28 |
# How to use
|
| 29 |
|
| 30 |
```python
|
| 31 |
+
from transformers import pipeline classifier = pipeline("text-classification", model="your-username/unga-climate-classifier")
|
| 32 |
+
|
| 33 |
+
text = "Climate change poses a fundamental threat to our future."
|
| 34 |
+
|
| 35 |
+
result = classifier(text)
|
| 36 |
+
|
| 37 |
+
print(result)
|
| 38 |
```
|
| 39 |
|
| 40 |
# how to cite
|