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