Instructions to use karalif/myTestModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use karalif/myTestModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="karalif/myTestModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("karalif/myTestModel") model = AutoModelForSequenceClassification.from_pretrained("karalif/myTestModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download .gitattributes from karalif/myTestModel: direct link, hf CLI and curl.
- Browser
- Download file 54 Bytes
-
https://huggingface.co/karalif/myTestModel/resolve/main/.gitattributes
- Command line
-
hf download hf://karalif/myTestModel/.gitattributes
-
curl -L -o .gitattributes https://huggingface.co/karalif/myTestModel/resolve/main/.gitattributes
54 Bytes
| pytorch_model.bin filter=lfs diff=lfs merge=lfs -text | |