Instructions to use cl-trier/gbert-base_sosec-topic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cl-trier/gbert-base_sosec-topic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cl-trier/gbert-base_sosec-topic")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cl-trier/gbert-base_sosec-topic") model = AutoModelForSequenceClassification.from_pretrained("cl-trier/gbert-base_sosec-topic") - Notebooks
- Google Colab
- Kaggle
Commit History
Upload BertForSequenceClassification 5bdb547
Department of Computational Linguistics - University of Trier commited on
Upload tokenizer 97b74ea
Department of Computational Linguistics - University of Trier commited on
Upload BertForSequenceClassification d3f14a4
Department of Computational Linguistics - University of Trier commited on
Upload tokenizer 6bfaf23
Department of Computational Linguistics - University of Trier commited on
Upload BertForSequenceClassification 6f9f75f
Department of Computational Linguistics - University of Trier commited on
Upload tokenizer 1261ff0
Department of Computational Linguistics - University of Trier commited on
initial commit 150987c
Department of Computational Linguistics - University of Trier commited on