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:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://Danswer/intent-model") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Tag model as `transformers` instead of `keras`
Verified signatureThis 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! 🤗1821c28
-
more semantic search examples
cb94f91
-
new training
40a65fc
-
Update README.md
166a7ac -
Update README.md
88794fd -
Update README.md
5cfa4d6 -
Needs more examples
fc1db24 -
initial commit
dc0da70