Instructions to use Rel8ed/cleantech-cls with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Rel8ed/cleantech-cls with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Rel8ed/cleantech-cls")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Rel8ed/cleantech-cls") model = AutoModelForSequenceClassification.from_pretrained("Rel8ed/cleantech-cls") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -101,4 +101,11 @@ text = "Welcome to our green energy platform where we share insights and innovat
|
|
| 101 |
|
| 102 |
predictions = classifier(create_full_text(text))
|
| 103 |
|
| 104 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 101 |
|
| 102 |
predictions = classifier(create_full_text(text))
|
| 103 |
|
| 104 |
+
```
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
---
|
| 108 |
+
widget:
|
| 109 |
+
- text: "[METAKEYWORD] [TITLE] [META] [ABOUT] [HOME] welcome to our website where we explore innovative technologies for a sustainable future."
|
| 110 |
+
- text: "[METAKEYWORD] [TITLE] [META] [ABOUT] [HOME] This is cell phone marketplace"
|
| 111 |
+
---
|