Instructions to use aizenSosuke/SQL-PDFclassificationModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aizenSosuke/SQL-PDFclassificationModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aizenSosuke/SQL-PDFclassificationModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aizenSosuke/SQL-PDFclassificationModel") model = AutoModelForSequenceClassification.from_pretrained("aizenSosuke/SQL-PDFclassificationModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from aizenSosuke/SQL-PDFclassificationModel: direct link, hf CLI and curl.
- Browser
- Download file 255 Bytes
-
https://huggingface.co/aizenSosuke/SQL-PDFclassificationModel/resolve/main/README.md
- Command line
-
hf download hf://aizenSosuke/SQL-PDFclassificationModel/README.md
-
curl -L -o README.md https://huggingface.co/aizenSosuke/SQL-PDFclassificationModel/resolve/main/README.md
255 Bytes
metadata
license: apache-2.0
This is classification model trained on RoBERTa base language model to classify a given text input into sql or docs. For a given question , if it classifies '0' it is of docs type and if it classifies as '1' , it is of sql type