Instructions to use hanzceo/JOSS-dev2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hanzceo/JOSS-dev2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hanzceo/JOSS-dev2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hanzceo/JOSS-dev2") model = AutoModelForSequenceClassification.from_pretrained("hanzceo/JOSS-dev2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download train.ipynb from hanzceo/JOSS-dev2: direct link, hf CLI and curl.
- Browser
- Download file 31.7 kB
-
https://huggingface.co/hanzceo/JOSS-dev2/resolve/main/train.ipynb
- Command line
-
hf download hf://hanzceo/JOSS-dev2/train.ipynb
-
curl -L -o train.ipynb https://huggingface.co/hanzceo/JOSS-dev2/resolve/main/train.ipynb
31.7 kB