Instructions to use braindao/e5-large-instruct-language-identifier-en-es-ko-zh-fastc-lr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use braindao/e5-large-instruct-language-identifier-en-es-ko-zh-fastc-lr with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("braindao/e5-large-instruct-language-identifier-en-es-ko-zh-fastc-lr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from braindao/e5-large-instruct-language-identifier-en-es-ko-zh-fastc-lr: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/braindao/e5-large-instruct-language-identifier-en-es-ko-zh-fastc-lr/resolve/main/README.md
- Command line
-
hf download hf://braindao/e5-large-instruct-language-identifier-en-es-ko-zh-fastc-lr/README.md
-
curl -L -o README.md https://huggingface.co/braindao/e5-large-instruct-language-identifier-en-es-ko-zh-fastc-lr/resolve/main/README.md
380 Bytes
| base_model: intfloat/multilingual-e5-large-instruct | |
| tags: | |
| - fastc | |
| - fastc-2.0 | |
| # e5-large-instruct-language-identifier-en-es-ko-zh-fastc-lr | |
| ## Install fastc | |
| ```bash | |
| pip install fastc | |
| ``` | |
| ## Model Inference | |
| ```python | |
| from fastc import Fastc | |
| model = Fastc('braindao/e5-large-instruct-language-identifier-en-es-ko-zh-fastc-lr') | |
| label = model.predict_one(text)['label'] | |
| ``` |