Instructions to use Danswer/intent-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Danswer/intent-model with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://Danswer/intent-model") - Notebooks
- Google Colab
- Kaggle
Tag model as `transformers` instead of `keras`
#2
by Wauplin HF Staff - opened
This repo doesn't look like a Keras 3.0 model. This PR updates the model card metadata to make sure the model repo is correctly referenced as a transformers repo. This is useful for discoverability on the search page + for the "Use this model" code snippet.
If this repo is indeed compatible with Keras, it would still be good to add transformers as a tag + explain in the readme how to load the model with Keras. I can work on that if relevant.
Cheers! π€