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
Download tokenizer.json from Danswer/intent-model: direct link, hf CLI and curl.
- Browser
- Download file 712 kB
-
https://huggingface.co/Danswer/intent-model/resolve/166a7ac968de5f8cd9198aa98a573b50adef42fb/tokenizer.json
- Command line
-
hf download hf://Danswer/intent-model@166a7ac968de5f8cd9198aa98a573b50adef42fb/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Danswer/intent-model/resolve/166a7ac968de5f8cd9198aa98a573b50adef42fb/tokenizer.json
712 kB
File too large to display, you can check the raw version instead.