kimwooglae
commited on
Commit
•
a8ef130
1
Parent(s):
8ef710d
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
pipeline_tag: text-generation
|
5 |
+
license: cc-by-nc-4.0
|
6 |
+
---
|
7 |
+
|
8 |
+
# AISquare-Instruct-SOLAR-10.7b-v0.5.31
|
9 |
+
|
10 |
+
## Model Details
|
11 |
+
|
12 |
+
**Developed by**
|
13 |
+
[Inswave Systems](https://www.inswave.com) UI Platform Team
|
14 |
+
|
15 |
+
**Base Model**
|
16 |
+
[upstage/SOLAR-10.7B-v1.0](https://huggingface.co/upstage/SOLAR-10.7B-v1.0)
|
17 |
+
|
18 |
+
|
19 |
+
# Implementation Code
|
20 |
+
```python
|
21 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
22 |
+
import torch
|
23 |
+
|
24 |
+
repo = "kimwooglae/AISquare-Instruct-SOLAR-10.7b-v0.5.31"
|
25 |
+
model = AutoModelForCausalLM.from_pretrained(
|
26 |
+
repo,
|
27 |
+
return_dict=True,
|
28 |
+
torch_dtype=torch.float16,
|
29 |
+
device_map='auto'
|
30 |
+
)
|
31 |
+
tokenizer = AutoTokenizer.from_pretrained(repo)
|
32 |
+
```
|
33 |
+
|
34 |
+
---
|