Instructions to use keethu/bert-fine-tuned-cola with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use keethu/bert-fine-tuned-cola with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="keethu/bert-fine-tuned-cola")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("keethu/bert-fine-tuned-cola") model = AutoModelForSequenceClassification.from_pretrained("keethu/bert-fine-tuned-cola", device_map="auto") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
This model is just the duplicate that I've created to improve my familiarity towards the usage of the Hugging Face Hubs. The creation of this model has been briefly explained by the HuggingFace NLP course.
- Downloads last month
- 8