Instructions to use ericp/mynewmodel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ericp/mynewmodel with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "ericp/mynewmodel") - Notebooks
- Google Colab
- Kaggle
Update .gitignore to exclude specific files and directories
Browse files- .gitignore +5 -0
.gitignore
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
chat_cli.py
|
| 2 |
+
merge_script.py
|
| 3 |
+
__pycache__/
|
| 4 |
+
test.py
|
| 5 |
+
utils.py
|