realPCH commited on
Commit
dbaccac
·
verified ·
1 Parent(s): 147c284

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -1
README.md CHANGED
@@ -1,3 +1,24 @@
1
  ---
2
  license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ ---
4
+ ### Developed by chPark
5
+
6
+ ### Training Strategy
7
+ We fine-tuned this model based on [yanolja/KoSOLAR-10.7B-v0.1](https://huggingface.co/yanolja/KoSOLAR-10.7B-v0.1-deprecated) with various dataset
8
+
9
+ ### Run the model
10
+ ```python
11
+ from transformers import AutoModelForCausalLM, AutoTokenizer
12
+
13
+ model_id = "realPCH/ko_solra_merge"
14
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
15
+
16
+ model = AutoModelForCausalLM.from_pretrained(model_id)
17
+
18
+ text = "[INST] Put instruction here. [/INST]"
19
+ inputs = tokenizer(text, return_tensors="pt")
20
+
21
+ outputs = model.generate(**inputs, max_new_tokens=20)
22
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
23
+
24
+ ```