Text Classification
Transformers
Safetensors
PyTorch
English
attentiontypes
custom-code
commonsense-reasoning
course-project
experimental
custom_code
Instructions to use owenarink/attentiontypes-commonsense with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use owenarink/attentiontypes-commonsense with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="owenarink/attentiontypes-commonsense", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("owenarink/attentiontypes-commonsense", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from owenarink/attentiontypes-commonsense: direct link, hf CLI and curl.
- Browser
- Download file 839 kB
-
https://huggingface.co/owenarink/attentiontypes-commonsense/resolve/main/tokenizer.json
- Command line
-
hf download hf://owenarink/attentiontypes-commonsense/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/owenarink/attentiontypes-commonsense/resolve/main/tokenizer.json
839 kB
File too large to display, you can check the raw version instead.