Instructions to use HuggingFaceH4/tiny-random-LlamaForSeqClass with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HuggingFaceH4/tiny-random-LlamaForSeqClass with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="HuggingFaceH4/tiny-random-LlamaForSeqClass")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("HuggingFaceH4/tiny-random-LlamaForSeqClass") model = AutoModelForSequenceClassification.from_pretrained("HuggingFaceH4/tiny-random-LlamaForSeqClass") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
5b2d6e4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7d1a9be2ac5d373e4f2a5effd9c7837cb0d717eea7a78ca27227b910f047d7af
size 2083632
|