Nikolay Dandanov commited on
Commit ·
360a00a
1
Parent(s): 9c65f55
Update README.
Browse files
README.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
| 1 |
---
|
| 2 |
license: gpl-3.0
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: gpl-3.0
|
| 3 |
---
|
| 4 |
+
|
| 5 |
+
This dataset repository shall serve as a mirror hosting models for [polyglot](https://polyglot.readthedocs.io/en/latest/Download.html).
|
| 6 |
+
|
| 7 |
+
# Availability
|
| 8 |
+
**Please note that currently the only languages, which have all models, are English (en) and Bulgarian (bg). Other languages may have partial support.**
|
| 9 |
+
|
| 10 |
+
# Adding missing models
|
| 11 |
+
|
| 12 |
+
**In case you have previously downloaded polyglot language models, which are not available in this repo, please open a Pull Request.**
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
# License
|
| 16 |
+
All rights belong to the original authors. Please refer to the [LICENSE](https://huggingface.co/datasets/ndandanov/polyglot-models/blob/main/LICENSE) which is directly copied from the `polyglot` project.
|
| 17 |
+
|
| 18 |
+
# Original `polyglot` links
|
| 19 |
+
|
| 20 |
+
- [GitHub repo](https://github.com/aboSamoor/polyglot/tree/master)
|
| 21 |
+
- [Documentation](https://polyglot.readthedocs.io/en/latest/)
|
| 22 |
+
|
| 23 |
+
# Downloading models from this mirror
|
| 24 |
+
|
| 25 |
+
NOTE: For documentation on downloading `polyglot` models, please refer to the [Documentation](https://polyglot.readthedocs.io/en/latest/Download.html).
|
| 26 |
+
|
| 27 |
+
To make the `polyglot` downloader work with this repo, you shall set the URL which points to the files from this repo: https://huggingface.co/datasets/ndandanov/polyglot-models/resolve/main
|
| 28 |
+
|
| 29 |
+
For example, to download all resources for a language, you can use the CLI interface:
|
| 30 |
+
```shell
|
| 31 |
+
polyglot download LANG:en --url https://huggingface.co/datasets/ndandanov/polyglot-models/resolve/main
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
To download only a specific model, you can specify it:
|
| 35 |
+
```shell
|
| 36 |
+
polyglot download embeddings2.en --url https://huggingface.co/datasets/ndandanov/polyglot-models/resolve/main
|
| 37 |
+
```
|