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
Commit History
3 days ago
-
Fine-tuned multilingual-e5-small for Swiss federal law retrieval
Verified signature786ca37