EdouardGrave commited on
Commit
037fad0
·
verified ·
1 Parent(s): 974663c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -62,8 +62,10 @@ You can download the files locally by using the [huggingface-hub Python package]
62
  For example:
63
 
64
  ```python
 
65
  from huggingface_hub import hf_hub_download
66
 
67
- local_path = hf_hub_download(repo_id="kyutai/dactory-models", filename="bloom_v2.bin")
68
- print(local_path)
 
69
  ```
 
62
  For example:
63
 
64
  ```python
65
+ import fasttext
66
  from huggingface_hub import hf_hub_download
67
 
68
+ local_path = hf_hub_download(repo_id="kyutai/dactory-models", filename="filter_en.bin")
69
+ model = fasttext.load_model(local_path)
70
+ print(model.predict("A computer scientist is a scientist who specializes in the academic study of computer science."))
71
  ```