Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -15,21 +15,21 @@ This is a lightweight FastText model trained to classify domain names as either
|
|
| 15 |
## Installation
|
| 16 |
|
| 17 |
Option 1: From Source
|
| 18 |
-
|
| 19 |
git clone https://github.com/facebookresearch/fastText.git
|
| 20 |
cd fastText
|
| 21 |
mkdir build && cd build
|
| 22 |
cmake ..
|
| 23 |
make
|
| 24 |
-
|
| 25 |
Option 2: Using pip (limited support)
|
| 26 |
-
|
| 27 |
-
pip install fasttext
|
| 28 |
|
| 29 |
⚠️ The pip version does not support all features. Compiling from source is recommended.
|
| 30 |
|
| 31 |
## Usage
|
| 32 |
-
echo "carreeffoursa.site" | ./fasttext predict phishing_model.bin
|
| 33 |
```bash
|
| 34 |
# Predict a single domain
|
| 35 |
echo "carreeffoursa.site" | ./fasttext predict phishing_model.bin -
|
|
|
|
| 15 |
## Installation
|
| 16 |
|
| 17 |
Option 1: From Source
|
| 18 |
+
```
|
| 19 |
git clone https://github.com/facebookresearch/fastText.git
|
| 20 |
cd fastText
|
| 21 |
mkdir build && cd build
|
| 22 |
cmake ..
|
| 23 |
make
|
| 24 |
+
```
|
| 25 |
Option 2: Using pip (limited support)
|
| 26 |
+
```
|
| 27 |
+
pip install fasttext```
|
| 28 |
|
| 29 |
⚠️ The pip version does not support all features. Compiling from source is recommended.
|
| 30 |
|
| 31 |
## Usage
|
| 32 |
+
```echo "carreeffoursa.site" | ./fasttext predict phishing_model.bin -```
|
| 33 |
```bash
|
| 34 |
# Predict a single domain
|
| 35 |
echo "carreeffoursa.site" | ./fasttext predict phishing_model.bin -
|