Update README.md
Browse files
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
-
## 基于
|
5 |
|
6 |
### 一、CPT 阶段,本文采取两阶段方式
|
7 |
- 1.1 第一阶段,固定模型Transformer 部分的参数,仅训练Embedding,在尽量不干扰原模型的情况下适配新增的藏文词向量;
|
@@ -21,7 +21,7 @@ license: apache-2.0
|
|
21 |
# -*- coding: UTF-8 -*-
|
22 |
#
|
23 |
"""
|
24 |
-
功能为:主要用于调用shajiu/
|
25 |
|
26 |
@File: llama2-7b-server.py
|
27 |
@Software: PyCharm
|
@@ -76,7 +76,7 @@ def qtpdnn_v0():
|
|
76 |
|
77 |
if __name__ == "__main__":
|
78 |
# 模型名称
|
79 |
-
model_name = 'shajiu/
|
80 |
# 加载模型
|
81 |
tokenizer, model = load_model(model_name)
|
82 |
app.run(host='0.0.0.0', port=8718, debug=False, threaded=False, processes=1)
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
## 基于Llama2_7B的藏语词汇表扩充,继续预训练的Yak模型
|
5 |
|
6 |
### 一、CPT 阶段,本文采取两阶段方式
|
7 |
- 1.1 第一阶段,固定模型Transformer 部分的参数,仅训练Embedding,在尽量不干扰原模型的情况下适配新增的藏文词向量;
|
|
|
21 |
# -*- coding: UTF-8 -*-
|
22 |
#
|
23 |
"""
|
24 |
+
功能为:主要用于调用shajiu/Yak_Llama2_7B
|
25 |
|
26 |
@File: llama2-7b-server.py
|
27 |
@Software: PyCharm
|
|
|
76 |
|
77 |
if __name__ == "__main__":
|
78 |
# 模型名称
|
79 |
+
model_name = 'shajiu/Yak_Llama2_7B'
|
80 |
# 加载模型
|
81 |
tokenizer, model = load_model(model_name)
|
82 |
app.run(host='0.0.0.0', port=8718, debug=False, threaded=False, processes=1)
|