Instructions to use Swarnava/tmp_trainer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Swarnava/tmp_trainer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Swarnava/tmp_trainer")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Swarnava/tmp_trainer") model = AutoModelForSequenceClassification.from_pretrained("Swarnava/tmp_trainer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
4eb3bbc | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:cb31bcfefac60c79c62e36f4c69bc9722e98bd9f92087f952961a30220c06893
size 4920
|