Instructions to use scherrmann/GermanFinBert_SC_Sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use scherrmann/GermanFinBert_SC_Sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="scherrmann/GermanFinBert_SC_Sentiment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("scherrmann/GermanFinBert_SC_Sentiment") model = AutoModelForSequenceClassification.from_pretrained("scherrmann/GermanFinBert_SC_Sentiment") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit ·
f49d63e
1
Parent(s): 7d3f62b
Update config.json
Browse files- config.json +0 -1
config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "Q:\\Forschung\\AA_TextanalysisTools\\GermanFinBERT\\Python\\Finetuning\\GermanFinBERT\\german-fin-hf-bert-optimized-continue-ba174000\\Sentiment\\lr_3e-05num_epochs_5\\seed_0",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"BertForSequenceClassification"
|
| 4 |
],
|