realPCH commited on
Commit
afdaf5c
1 Parent(s): f0665bb

Create README.md

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