Instructions to use Lee-H/lol-gopt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Lee-H/lol-gopt with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "Lee-H/lol-gopt") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
{
|
| 2 |
-
"model_type": "
|
| 3 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_type": "llama-2"
|
| 3 |
}
|