Instructions to use artefactory/BERTJudge-Formatted-CR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use artefactory/BERTJudge-Formatted-CR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="artefactory/BERTJudge-Formatted-CR", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("artefactory/BERTJudge-Formatted-CR", trust_remote_code=True) model = AutoModelForSequenceClassification.from_pretrained("artefactory/BERTJudge-Formatted-CR", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Add pipeline tag, library name and improve model card
#1
by nielsr HF Staff - opened
Hi, I'm Niels from the Hugging Face community science team.
I've opened this PR to improve the model card for BERTJudge-Formatted-CR:
- Added the
text-classificationpipeline tag andtransformerslibrary name to ensure the model is correctly categorized and the "Use in Transformers" button works. - Added
license: apache-2.0metadata. - Improved the Markdown content by linking the original paper and the GitHub repository.
- Added a usage section based on the provided GitHub documentation to help researchers get started with the
bert-judgelibrary.
Please let me know if you'd like me to adjust anything!
hgissbkh changed pull request status to closed
hgissbkh deleted the
refs/pr/1 ref