Instructions to use Yt99/SFinBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yt99/SFinBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Yt99/SFinBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Yt99/SFinBERT") model = AutoModelForSequenceClassification.from_pretrained("Yt99/SFinBERT") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -34,6 +34,3 @@ inputs = tokenizer(text, return_tensors="pt")
|
|
| 34 |
outputs = model(**inputs)
|
| 35 |
```
|
| 36 |
|
| 37 |
-
## Acknowledgments
|
| 38 |
-
This is part of Dissertaion Project of University of Glasgow MSc Software development Course
|
| 39 |
-
Thanks to my supervisor, family and friends for supporting my work.
|
|
|
|
| 34 |
outputs = model(**inputs)
|
| 35 |
```
|
| 36 |
|
|
|
|
|
|
|
|
|