yellowvanilla
commited on
Commit
·
5eef6bf
1
Parent(s):
367267d
ok
Browse files
README.md
CHANGED
@@ -1,7 +1,11 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
-
|
4 |
-
|
|
|
|
|
|
|
|
|
5 |
---
|
6 |
# Model Card for Model ID
|
7 |
|
@@ -42,17 +46,27 @@ Base on ChatGLM2-6B. This model is used to assist in the Sustainability of const
|
|
42 |
|
43 |
[More Information Needed]
|
44 |
|
45 |
-
```
|
46 |
-
import
|
47 |
-
|
48 |
-
|
49 |
-
model =
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
```
|
57 |
|
58 |
### Downstream Use [optional]
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- zh
|
4 |
+
- en
|
5 |
+
tags:
|
6 |
+
- glm
|
7 |
+
- chatglm
|
8 |
+
- thudm
|
9 |
---
|
10 |
# Model Card for Model ID
|
11 |
|
|
|
46 |
|
47 |
[More Information Needed]
|
48 |
|
49 |
+
```ipython
|
50 |
+
>>> from transformers import AutoTokenizer, AutoModel
|
51 |
+
>>> tokenizer = AutoTokenizer.from_pretrained("kkkgg/Chat-SCW", trust_remote_code=True)
|
52 |
+
>>> model = AutoModel.from_pretrained("kkkgg/Chat-SCW", trust_remote_code=True).half().cuda()
|
53 |
+
>>> model = model.eval()
|
54 |
+
>>> response, history = model.chat(tokenizer, "Hello", history=[])
|
55 |
+
>>> print(response)
|
56 |
+
Hello! How can I assist you today?
|
57 |
+
>>> response, history = model.chat(tokenizer, "晚上睡不着应该怎么办", history=history)
|
58 |
+
>>> print(response)
|
59 |
+
The life cycle stages of a build system encompass the entire life of a construction product or service. These stages encompass the following stages:
|
60 |
+
Material extraction and processing
|
61 |
+
Manufacturing and processing
|
62 |
+
Distribution and transportation
|
63 |
+
End-of-life and disposal
|
64 |
+
Construction and renovation
|
65 |
+
Refurbishment and repair
|
66 |
+
Maintenance and repair
|
67 |
+
Renewal and replacement of components
|
68 |
+
End-of-life and disposal
|
69 |
+
It is important to note that some stages may overlap or be interconnected, and the specific stages involved may vary depending on the type of construction product or service.
|
70 |
```
|
71 |
|
72 |
### Downstream Use [optional]
|