Yibin Lei
commited on
Commit
·
e473b33
1
Parent(s):
d5ab748
Update readme
Browse files
README.md
CHANGED
@@ -8683,7 +8683,7 @@ docs = ["Since 2007, the RBA's outstanding reputation has been affected by the '
|
|
8683 |
"Today's oilskins (or oilies) typically come in two parts, jackets and trousers. Oilskin jackets are generally similar to common rubberized waterproofs."]
|
8684 |
|
8685 |
# Load the model and tokenizer
|
8686 |
-
model = MistralBiForCausalLM.from_pretrained("yibinlei/LENS-d4000")
|
8687 |
model.lm_head = torch.load('lm_head.pth')
|
8688 |
tokenizer = AutoTokenizer.from_pretrained("yibinlei/LENS-d4000")
|
8689 |
|
|
|
8683 |
"Today's oilskins (or oilies) typically come in two parts, jackets and trousers. Oilskin jackets are generally similar to common rubberized waterproofs."]
|
8684 |
|
8685 |
# Load the model and tokenizer
|
8686 |
+
model = MistralBiForCausalLM.from_pretrained("yibinlei/LENS-d4000", ignore_mismatched_sizes=True)
|
8687 |
model.lm_head = torch.load('lm_head.pth')
|
8688 |
tokenizer = AutoTokenizer.from_pretrained("yibinlei/LENS-d4000")
|
8689 |
|