Instructions to use Ghani-25/LF_enrich_sim with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ghani-25/LF_enrich_sim with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Ghani-25/LF_enrich_sim")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Ghani-25/LF_enrich_sim") model = AutoModel.from_pretrained("Ghani-25/LF_enrich_sim", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from Ghani-25/LF_enrich_sim: direct link, hf CLI and curl.
- Browser
- Download file 402 Bytes
-
https://huggingface.co/Ghani-25/LF_enrich_sim/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Ghani-25/LF_enrich_sim/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Ghani-25/LF_enrich_sim/resolve/main/tokenizer_config.json
402 Bytes
| {"bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "old_models/paraphrase-multilingual-mpnet-base-v2/0_Transformer"} |