Instructions to use JasperV13/AceGPT-7B-Instruct-peft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use JasperV13/AceGPT-7B-Instruct-peft with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("FreedomIntelligence/AceGPT-7B") model = PeftModel.from_pretrained(base_model, "JasperV13/AceGPT-7B-Instruct-peft") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from JasperV13/AceGPT-7B-Instruct-peft: direct link, hf CLI and curl.
- Browser
- Download file 120 Bytes
-
https://huggingface.co/JasperV13/AceGPT-7B-Instruct-peft/resolve/main/generation_config.json
- Command line
-
hf download hf://JasperV13/AceGPT-7B-Instruct-peft/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/JasperV13/AceGPT-7B-Instruct-peft/resolve/main/generation_config.json
120 Bytes
| { | |
| "do_sample": true, | |
| "max_length": 4096, | |
| "temperature": 0.9, | |
| "top_p": 0.6, | |
| "transformers_version": "4.38.2" | |
| } | |