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