SJ-Donald commited on
Commit
d198c52
1 Parent(s): 4794c86

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -0
README.md CHANGED
@@ -6,6 +6,8 @@ tags:
6
  - lazymergekit
7
  - LDCC/LDCC-SOLAR-10.7B
8
  - upstage/SOLAR-10.7B-Instruct-v1.0
 
 
9
  ---
10
 
11
  # SOLAR-10.7B-slerp
@@ -14,6 +16,29 @@ SOLAR-10.7B-slerp is a merge of the following models using [mergekit](https://gi
14
  * [LDCC/LDCC-SOLAR-10.7B](https://huggingface.co/LDCC/LDCC-SOLAR-10.7B)
15
  * [upstage/SOLAR-10.7B-Instruct-v1.0](https://huggingface.co/upstage/SOLAR-10.7B-Instruct-v1.0)
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  ## 🧩 Configuration
18
 
19
  ```yaml
 
6
  - lazymergekit
7
  - LDCC/LDCC-SOLAR-10.7B
8
  - upstage/SOLAR-10.7B-Instruct-v1.0
9
+ language:
10
+ - ko
11
  ---
12
 
13
  # SOLAR-10.7B-slerp
 
16
  * [LDCC/LDCC-SOLAR-10.7B](https://huggingface.co/LDCC/LDCC-SOLAR-10.7B)
17
  * [upstage/SOLAR-10.7B-Instruct-v1.0](https://huggingface.co/upstage/SOLAR-10.7B-Instruct-v1.0)
18
 
19
+ ## Github
20
+
21
+ [https://github.com/sunjin7725/SOLAR-10.7b-slerp]https://github.com/sunjin7725/SOLAR-10.7b-slerp
22
+
23
+
24
+ ## How to use
25
+
26
+ ```Python
27
+ import torch
28
+ from transformers import AutoModelForCausalLM, AutoTokenizer
29
+
30
+ repo = 'SJ-Donald/SOLAR-10.7B-slerp'
31
+
32
+ tokenizer = AutoTokenizer.from_pretrained(repo)
33
+ model = AutoModelForCausalLM.from_pretrained(
34
+ repo,
35
+ return_dict=True,
36
+ torch_dtype=torch.float16,
37
+ device_map='auto'
38
+ )
39
+ ```
40
+
41
+
42
  ## 🧩 Configuration
43
 
44
  ```yaml