EZlee commited on
Commit
916841c
1 Parent(s): b7bd0eb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -5
README.md CHANGED
@@ -43,10 +43,7 @@ botp/yentinglin-zh_TW_c4
43
  | 3|如果可以是韋[MASK]安的最新歌[MASK]。|如果可以是韋禮安的最新歌曲。 |
44
  | 4|[MASK]水老[MASK]有賣很多鐵蛋的攤販。|淡水老街有賣很多鐵蛋的攤販。 |
45
 
46
- ## How to Get Started With the Model
47
- #### Private Model Download
48
-
49
- **Installation**
50
  ```
51
  $ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
52
  $ sudo apt-get install git-lfs
@@ -54,13 +51,25 @@ $ git lfs install
54
  $ pip install huggingface_hub
55
 
56
  ```
57
- **Login HuggingFace**
 
 
 
58
 
59
  ```
60
  $ huggingface-cli login
61
  Token:Your own huggingface token.
62
  ```
63
 
 
 
 
 
 
 
 
 
 
64
  **Pyhon Code**
65
 
66
  ```python
 
43
  | 3|如果可以是韋[MASK]安的最新歌[MASK]。|如果可以是韋禮安的最新歌曲。 |
44
  | 4|[MASK]水老[MASK]有賣很多鐵蛋的攤販。|淡水老街有賣很多鐵蛋的攤販。 |
45
 
46
+ **git-lfs Installation**
 
 
 
47
  ```
48
  $ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
49
  $ sudo apt-get install git-lfs
 
51
  $ pip install huggingface_hub
52
 
53
  ```
54
+ ## How to Get Started With the Model
55
+ #### Private Model Download
56
+
57
+ **Login HuggingFace Terminal**
58
 
59
  ```
60
  $ huggingface-cli login
61
  Token:Your own huggingface token.
62
  ```
63
 
64
+ **Login HuggingFace Jupyter Notebook**
65
+
66
+ ```
67
+ from huggingface_hub import notebook_login
68
+
69
+ notebook_login()
70
+ Token:Your own huggingface token.
71
+ ```
72
+
73
  **Pyhon Code**
74
 
75
  ```python