sophiefy commited on
Commit
27e9cb0
1 Parent(s): 6bcb4b9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -0
README.md CHANGED
@@ -3,6 +3,43 @@ library_name: peft
3
  base_model: Qwen/Qwen-7B-Chat-Int4
4
  ---
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  # Model Card for Model ID
7
 
8
  <!-- Provide a quick summary of what the model is/does. -->
 
3
  base_model: Qwen/Qwen-7B-Chat-Int4
4
  ---
5
 
6
+ # Examples
7
+
8
+ ```python
9
+ response, history = model.chat(tokenizer, "冀靈體之復形,御輕舟而上溯。", history=None)
10
+ print(response)
11
+ ```
12
+ ```
13
+ 冀して靈体の復形、軽舟に御して上溯せんとし
14
+ ```
15
+
16
+ ```python
17
+ response, history = model.chat(tokenizer, "鳥欲高飛先振翅,人求上進則讀書。", history=None)
18
+ print(response)
19
+ ```
20
+ ```
21
+ 鳥の高飛するを欲すれば先づ翼を振ふ、人の上の前に進むを求めて則ち書を読む。
22
+ ```
23
+
24
+ ```python
25
+ response, history = model.chat(tokenizer, "浮長川而忘返,思綿綿而增慕。", history=None)
26
+ print(response)
27
+ ```
28
+
29
+ ```
30
+ 長川に浮かして返らざるを、締結の绵綿にして慕うを増す。
31
+ ```
32
+
33
+ ```python
34
+
35
+ ```
36
+ response, history = model.chat(tokenizer, "夜耿耿而不寐,沾繁霜而至曙。", history=None)
37
+ print(response)
38
+ ```
39
+ 夜は耿耿として寐りず、繁霜に沾れて曙を至る。
40
+ ```
41
+
42
+
43
  # Model Card for Model ID
44
 
45
  <!-- Provide a quick summary of what the model is/does. -->