GenVRadmin
commited on
Commit
•
ab1ef5f
1
Parent(s):
bc753a8
Update README.md
Browse files
README.md
CHANGED
@@ -40,7 +40,7 @@ google/gemma-7b-it 21.33 40.84 41.70 30.25 33.53
|
|
40 |
|
41 |
|
42 |
How to use:-
|
43 |
-
|
44 |
from peft import AutoPeftModelForCausalLM
|
45 |
from transformers import AutoTokenizer
|
46 |
|
@@ -71,3 +71,4 @@ inputs = tokenizer([input_text], return_tensors = "pt").to("cuda")
|
|
71 |
|
72 |
outputs = model.generate(**inputs, max_new_tokens = 300, use_cache = True)
|
73 |
response = tokenizer.batch_decode(outputs)[0]
|
|
|
|
40 |
|
41 |
|
42 |
How to use:-
|
43 |
+
```
|
44 |
from peft import AutoPeftModelForCausalLM
|
45 |
from transformers import AutoTokenizer
|
46 |
|
|
|
71 |
|
72 |
outputs = model.generate(**inputs, max_new_tokens = 300, use_cache = True)
|
73 |
response = tokenizer.batch_decode(outputs)[0]
|
74 |
+
```
|