0xtaipoian
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -48,9 +48,6 @@ from peft import PeftModel, PeftMixedModel
|
|
48 |
import torch
|
49 |
import pprint
|
50 |
|
51 |
-
# enable torch CUDA tf32
|
52 |
-
torch.backends.cudnn.allow_tf32 = True
|
53 |
-
|
54 |
model_name = "0xtaipoian/open-lilm"
|
55 |
|
56 |
bnb_config = BitsAndBytesConfig(
|
@@ -66,7 +63,6 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
66 |
device_map='auto',
|
67 |
trust_remote_code=True,
|
68 |
quantization_config=bnb_config,
|
69 |
-
revision="main", #qlora-merged (qLoRA finetuned for 3 epochs) or main (full parameter finetune for 1 epoch)
|
70 |
)
|
71 |
|
72 |
|
|
|
48 |
import torch
|
49 |
import pprint
|
50 |
|
|
|
|
|
|
|
51 |
model_name = "0xtaipoian/open-lilm"
|
52 |
|
53 |
bnb_config = BitsAndBytesConfig(
|
|
|
63 |
device_map='auto',
|
64 |
trust_remote_code=True,
|
65 |
quantization_config=bnb_config,
|
|
|
66 |
)
|
67 |
|
68 |
|