Instructions to use cuadron11/documentClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cuadron11/documentClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cuadron11/documentClassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cuadron11/documentClassification") model = AutoModelForSequenceClassification.from_pretrained("cuadron11/documentClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download merges.txt from cuadron11/documentClassification: direct link, hf CLI and curl.
- Browser
- Download file 521 kB
-
https://huggingface.co/cuadron11/documentClassification/resolve/main/merges.txt
- Command line
-
hf download hf://cuadron11/documentClassification/merges.txt
-
curl -L -o merges.txt https://huggingface.co/cuadron11/documentClassification/resolve/main/merges.txt
521 kB
File too large to display, you can check the raw version instead.