Text Classification
Transformers
Safetensors
Danish
modernbert
Blame
Politics
Classification
zero-shot
mmBERT
text-embeddings-inference
Instructions to use Lundsfryd/BlameBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Lundsfryd/BlameBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Lundsfryd/BlameBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Lundsfryd/BlameBERT") model = AutoModelForSequenceClassification.from_pretrained("Lundsfryd/BlameBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add pipeline tag and library name
#4
by nielsr HF Staff - opened
This PR adds the missing pipeline_tag: text-classification metadata so the model can be found at https://huggingface.co/models?pipeline_tag=text-classification, and adds library_name: transformers so the automatic "How to use" snippet is shown on the model page. The model card content is unchanged.
Lundsfryd changed pull request status to merged