matthieumeeus97 commited on
Commit
5c241c2
·
verified ·
1 Parent(s): 46da97f

Add code to load the model

Browse files
Files changed (1) hide show
  1. README.md +12 -0
README.md CHANGED
@@ -1,3 +1,15 @@
1
  ---
2
  license: llama2
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: llama2
3
+ language:
4
+ - nl
5
  ---
6
+
7
+ ## LLaMA-2-NL: Fine-tuned using LoRa and a translated tokenizer
8
+
9
+ ```
10
+ from transformers import AutoModelForCausalLM, AutoTokenizer
11
+
12
+ # take the new tokenizer
13
+ tokenizer = AutoTokenizer.from_pretrained('llama-2-nl/Llama-2-7b-hf-lora-tokentrans')
14
+ model = AutoModelForCausalLM.from_pretrained('llama-2-nl/Llama-2-7b-hf-lora-tokentrans')
15
+ ```