Instructions to use janny127/TrainedModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use janny127/TrainedModel with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "janny127/TrainedModel") - Notebooks
- Google Colab
- Kaggle
Download requirements.txt from janny127/TrainedModel: direct link, hf CLI and curl.
- Browser
- Download file 32 Bytes
-
https://huggingface.co/janny127/TrainedModel/resolve/main/requirements.txt
- Command line
-
hf download hf://janny127/TrainedModel/requirements.txt
-
curl -L -o requirements.txt https://huggingface.co/janny127/TrainedModel/resolve/main/requirements.txt
32 Bytes
| peft==0.9.0 | |
| transformers==4.38.2 |