Instructions to use rasa/LaBSE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rasa/LaBSE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="rasa/LaBSE")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("rasa/LaBSE") model = AutoModel.from_pretrained("rasa/LaBSE", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
| {"do_lower_case": false, "model_max_length": 512, "special_tokens_map_file": "/Users/daksh/.cache/torch/transformers/4bc91cf6ffed19f2ed1524864c28326a77b68ef38e66d9076ce6aa64ab50ce84.275045728fbf41c11d3dae08b8742c054377e18d92cc7b72b6351152a99b64e4", "full_tokenizer_file": null} |