Instructions to use Aryan4/sucidal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Aryan4/sucidal with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Aryan4/sucidal")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Aryan4/sucidal") model = AutoModelForSequenceClassification.from_pretrained("Aryan4/sucidal") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,7 +22,7 @@ Import the model from the transformers library:
|
|
| 22 |
```
|
| 23 |
from transformers import AutoTokenizer, AutoModel
|
| 24 |
tokenizer = AutoTokenizer.from_pretrained("Aryan4/suicidal")
|
| 25 |
-
model = AutoModel.from_pretrained("
|
| 26 |
```
|
| 27 |
|
| 28 |
## Resources
|
|
|
|
| 22 |
```
|
| 23 |
from transformers import AutoTokenizer, AutoModel
|
| 24 |
tokenizer = AutoTokenizer.from_pretrained("Aryan4/suicidal")
|
| 25 |
+
model = AutoModel.from_pretrained("Aryan4/suicidal")
|
| 26 |
```
|
| 27 |
|
| 28 |
## Resources
|