Instructions to use baseten/RandomQwen2ForSequenceClassification-0.5B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use baseten/RandomQwen2ForSequenceClassification-0.5B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="baseten/RandomQwen2ForSequenceClassification-0.5B")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("baseten/RandomQwen2ForSequenceClassification-0.5B") model = AutoModelForSequenceClassification.from_pretrained("baseten/RandomQwen2ForSequenceClassification-0.5B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 4bd2f092eeec244c0448f13e31edd4b25e625568713e4155993a3dea90c7437a
- Size of remote file:
- 11.4 MB
- SHA256:
- 9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.