Instructions to use akashAD/phi-2-query_classify10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use akashAD/phi-2-query_classify10 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-1_5") model = PeftModel.from_pretrained(base_model, "akashAD/phi-2-query_classify10") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from akashAD/phi-2-query_classify10: direct link, hf CLI and curl.
- Browser
- Download file 74 Bytes
-
https://huggingface.co/akashAD/phi-2-query_classify10/resolve/main/generation_config.json
- Command line
-
hf download hf://akashAD/phi-2-query_classify10/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/akashAD/phi-2-query_classify10/resolve/main/generation_config.json
74 Bytes
| { | |
| "_from_model_config": true, | |
| "transformers_version": "4.38.0.dev0" | |
| } | |