add warning about numpy
Browse files
README.md
CHANGED
|
@@ -29,6 +29,9 @@ The original model and training data are described in [Burchell et al. (2023)](h
|
|
| 29 |
|
| 30 |
### How to use
|
| 31 |
|
|
|
|
|
|
|
|
|
|
| 32 |
Here is how to use this model to detect the language of a given text. For best results, text should be cleaned and normalised with [openlid_normer.clean_line](https://huggingface.co/datasets/laurievb/OpenLID-v2/blob/main/scripts/tools/openlid_normer.py) prior to classification.
|
| 33 |
|
| 34 |
```python
|
|
|
|
| 29 |
|
| 30 |
### How to use
|
| 31 |
|
| 32 |
+
> [!WARNING]
|
| 33 |
+
> `fasttext` requires `numpy` <2.0
|
| 34 |
+
|
| 35 |
Here is how to use this model to detect the language of a given text. For best results, text should be cleaned and normalised with [openlid_normer.clean_line](https://huggingface.co/datasets/laurievb/OpenLID-v2/blob/main/scripts/tools/openlid_normer.py) prior to classification.
|
| 36 |
|
| 37 |
```python
|