sjrhuschlee
commited on
Commit
•
5412ac3
1
Parent(s):
e0579a9
Update README.md
Browse files
README.md
CHANGED
@@ -63,7 +63,8 @@ This model was trained using LoRA available through the [PEFT library](https://g
|
|
63 |
|
64 |
## Model Usage
|
65 |
|
66 |
-
### Using
|
|
|
67 |
```python
|
68 |
from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
|
69 |
model_name = "sjrhuschlee/deberta-v3-large-squad2"
|
|
|
63 |
|
64 |
## Model Usage
|
65 |
|
66 |
+
### Using Transformers
|
67 |
+
This uses the merged weights (base model weights + LoRA weights) to allow for simple use in Transformers pipelines. It has the same performance as using the weights separately when using the PEFT library.
|
68 |
```python
|
69 |
from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
|
70 |
model_name = "sjrhuschlee/deberta-v3-large-squad2"
|