kenhktsui commited on
Commit
0448209
1 Parent(s): 840c256

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -25,10 +25,11 @@ Please note textbook quality is a subset of high quality.
25
  ```python
26
  from typing import List
27
  import re
 
28
  import fasttext
29
 
30
 
31
- model = fasttext.load_model("model_textbook_quality.bin")
32
 
33
 
34
  def replace_newlines(text: str) -> str:
 
25
  ```python
26
  from typing import List
27
  import re
28
+ from huggingface_hub import hf_hub_download
29
  import fasttext
30
 
31
 
32
+ model = fasttext.load_model(hf_hub_download("kenhktsui/llm-data-textbook-quality-fasttext-classifer-v1", "model.bin"))
33
 
34
 
35
  def replace_newlines(text: str) -> str: