Text Classification
Transformers
PyTorch
Safetensors
German
bert
deepset/gbert-large
text-embeddings-inference
Instructions to use aari1995/German_Sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aari1995/German_Sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aari1995/German_Sentiment")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aari1995/German_Sentiment") model = AutoModelForSequenceClassification.from_pretrained("aari1995/German_Sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ To use this model, first set it up:
|
|
| 12 |
|
| 13 |
```python
|
| 14 |
# if necessary:
|
| 15 |
-
# pip install transformers
|
| 16 |
from transformers import pipeline
|
| 17 |
|
| 18 |
sentiment_model = pipeline(model=aari1995/German_Sentiment)
|
|
|
|
| 12 |
|
| 13 |
```python
|
| 14 |
# if necessary:
|
| 15 |
+
# !pip install transformers
|
| 16 |
from transformers import pipeline
|
| 17 |
|
| 18 |
sentiment_model = pipeline(model=aari1995/German_Sentiment)
|