Instructions to use VAGOsolutions/Kraken-Multilingual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VAGOsolutions/Kraken-Multilingual with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="VAGOsolutions/Kraken-Multilingual", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("VAGOsolutions/Kraken-Multilingual", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Delete configuration_kraken.py
Browse files- configuration_kraken.py +0 -8
configuration_kraken.py
DELETED
|
@@ -1,8 +0,0 @@
|
|
| 1 |
-
from transformers import PretrainedConfig
|
| 2 |
-
|
| 3 |
-
class KrakenConfig(PretrainedConfig):
|
| 4 |
-
model_type = "kraken"
|
| 5 |
-
|
| 6 |
-
def __init__(self, config_dict=None, **kwargs):
|
| 7 |
-
super().__init__(**kwargs)
|
| 8 |
-
self.config_dict = config_dict or {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|