Instructions to use SparseLLM/prosparse-llama-2-7b-predictor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SparseLLM/prosparse-llama-2-7b-predictor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="SparseLLM/prosparse-llama-2-7b-predictor", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SparseLLM/prosparse-llama-2-7b-predictor", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
ce4c4b9 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:d478ddd733fdaddfd4253e22a7bbfd52ac7e99331d1482978c25d2a3433ca839
size 61867095
|