Instructions to use FredZhang7/malphish-eater-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FredZhang7/malphish-eater-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="FredZhang7/malphish-eater-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("FredZhang7/malphish-eater-v1") model = AutoModelForSequenceClassification.from_pretrained("FredZhang7/malphish-eater-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
a617dab
1
Parent(s): 5a11720
remove '
Browse files
README.md
CHANGED
|
@@ -62,7 +62,7 @@ The classification task for v1 is split into two stages:
|
|
| 62 |
|
| 63 |
## Training
|
| 64 |
I applied cross-validation with `cv=5` to the training dataset to search for the best hyperparameters.
|
| 65 |
-
Here's the dict passed to `sklearn`'s
|
| 66 |
```python
|
| 67 |
params = {
|
| 68 |
'objective': 'binary',
|
|
|
|
| 62 |
|
| 63 |
## Training
|
| 64 |
I applied cross-validation with `cv=5` to the training dataset to search for the best hyperparameters.
|
| 65 |
+
Here's the dict passed to `sklearn`'s `GridSearchCV` function:
|
| 66 |
```python
|
| 67 |
params = {
|
| 68 |
'objective': 'binary',
|