Instructions to use isashap/contexttrained-validationloss-gpt2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use isashap/contexttrained-validationloss-gpt2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2") model = PeftModel.from_pretrained(base_model, "isashap/contexttrained-validationloss-gpt2") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#1
by librarian-bot - opened
README.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
| 2 |
library_name: peft
|
| 3 |
pipeline_tag: text-generation
|
| 4 |
widget:
|
| 5 |
-
- text:
|
|
|
|
| 6 |
---
|
| 7 |
## Training procedure
|
| 8 |
|
|
|
|
| 2 |
library_name: peft
|
| 3 |
pipeline_tag: text-generation
|
| 4 |
widget:
|
| 5 |
+
- text: 'Job: Keywords: Resume Point:'
|
| 6 |
+
base_model: gpt2
|
| 7 |
---
|
| 8 |
## Training procedure
|
| 9 |
|