kolerk commited on
Commit
31eebae
·
verified ·
1 Parent(s): b24e2b4

Update README with Hugging Face download instructions

Browse files
Files changed (1) hide show
  1. README.md +18 -20
README.md CHANGED
@@ -1,28 +1,26 @@
1
  ---
2
- frameworks:
3
- - Pytorch
4
  license: apache-2.0
5
- tags: []
6
- tasks:
 
7
  - text-generation
8
  ---
9
- ### 当前模型的贡献者未提供更加详细的模型介绍。模型文件和权重,可浏览“模型文件”页面获取。
10
- #### 您可以通过如下git clone命令,或者ModelScope SDK来下载模型
 
 
 
11
 
12
- SDK下载
13
- ```bash
14
- #安装ModelScope
15
- pip install modelscope
16
- ```
17
  ```python
18
- #SDK模型下载
19
- from modelscope import snapshot_download
20
- model_dir = snapshot_download('wjqkoko/tcod_7b_f2b')
21
- ```
22
- Git下载
23
- ```
24
- #Git模型下载
25
- git clone https://www.modelscope.cn/wjqkoko/tcod_7b_f2b.git
26
  ```
27
 
28
- <p style="color: lightgrey;">如果您是本模型的贡献者,我们邀请您根据<a href="https://modelscope.cn/docs/ModelScope%E6%A8%A1%E5%9E%8B%E6%8E%A5%E5%85%A5%E6%B5%81%E7%A8%8B%E6%A6%82%E8%A7%88" style="color: lightgrey; text-decoration: underline;">模型贡献文档</a>,及时完善模型卡片内容。</p>
 
 
 
 
 
 
1
  ---
 
 
2
  license: apache-2.0
3
+ library_name: transformers
4
+ pipeline_tag: text-generation
5
+ tags:
6
  - text-generation
7
  ---
8
+ # tcod_7b_f2b
9
+
10
+ ## Download
11
+
12
+ Use Hugging Face Hub:
13
 
 
 
 
 
 
14
  ```python
15
+ from huggingface_hub import snapshot_download
16
+
17
+ model_dir = snapshot_download("kolerk/tcod_7b_f2b")
18
+ print(model_dir)
 
 
 
 
19
  ```
20
 
21
+ Or clone with Git LFS:
22
+
23
+ ```bash
24
+ git lfs install
25
+ git clone https://huggingface.co/kolerk/tcod_7b_f2b
26
+ ```