Text Classification
Transformers
Safetensors
English
bert
deep-learning
huggingface
text-embeddings-inference
Instructions to use Driisa/finbert-finetuned-github with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Driisa/finbert-finetuned-github with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Driisa/finbert-finetuned-github")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Driisa/finbert-finetuned-github") model = AutoModelForSequenceClassification.from_pretrained("Driisa/finbert-finetuned-github") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -56,7 +56,7 @@ You can use the model via Hugging Face Transformers:
|
|
| 56 |
```python
|
| 57 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 58 |
|
| 59 |
-
model_name = "
|
| 60 |
|
| 61 |
# Load model and tokenizer
|
| 62 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|
|
|
|
| 56 |
```python
|
| 57 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 58 |
|
| 59 |
+
model_name = "Driisa/finbert-finetuned-github"
|
| 60 |
|
| 61 |
# Load model and tokenizer
|
| 62 |
model = AutoModelForSequenceClassification.from_pretrained(model_name)
|