Feature Extraction
Transformers
ONNX
Safetensors
bert
sentence-embeddings
retrieval
legal
swiss-law
cross-lingual
multilingual-e5
text-embeddings-inference
Instructions to use franciscomira/fedlex-e5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use franciscomira/fedlex-e5-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="franciscomira/fedlex-e5-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("franciscomira/fedlex-e5-small") model = AutoModel.from_pretrained("franciscomira/fedlex-e5-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
Model card: int8 file was run on the test split (MRR -0.055 against fp32, claimable)
5b13d52 verified