Instructions to use EricPeter/ktrain with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EricPeter/ktrain with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="EricPeter/ktrain")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("EricPeter/ktrain") model = AutoModelForSequenceClassification.from_pretrained("EricPeter/ktrain", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tf_model.preproc from EricPeter/ktrain: direct link, hf CLI and curl.
- Browser
- Download file 3.14 kB
-
https://huggingface.co/EricPeter/ktrain/resolve/main/tf_model.preproc
- Command line
-
hf download hf://EricPeter/ktrain/tf_model.preproc
-
curl -L -o tf_model.preproc https://huggingface.co/EricPeter/ktrain/resolve/main/tf_model.preproc
3.14 kB
This file contains binary data. It cannot be displayed, but you can still download it.