Text Generation
Transformers
Safetensors
English
mistral
mteb
Eval Results (legacy)
text-generation-inference
Run this model with HF Jobs
Run BeastyZ/e5-R-mistral-7b on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/BeastyZ/e5-R-mistral-7b. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/BeastyZ/e5-R-mistral-7b on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/BeastyZ/e5-R-mistral-7b. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/BeastyZ/e5-R-mistral-7b. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use BeastyZ/e5-R-mistral-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BeastyZ/e5-R-mistral-7b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="BeastyZ/e5-R-mistral-7b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("BeastyZ/e5-R-mistral-7b") model = AutoModelForCausalLM.from_pretrained("BeastyZ/e5-R-mistral-7b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use BeastyZ/e5-R-mistral-7b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "BeastyZ/e5-R-mistral-7b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BeastyZ/e5-R-mistral-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/BeastyZ/e5-R-mistral-7b
- SGLang
How to use BeastyZ/e5-R-mistral-7b with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "BeastyZ/e5-R-mistral-7b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BeastyZ/e5-R-mistral-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "BeastyZ/e5-R-mistral-7b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BeastyZ/e5-R-mistral-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use BeastyZ/e5-R-mistral-7b with Docker Model Runner:
docker model run hf.co/BeastyZ/e5-R-mistral-7b
Update README.md
Browse files1 unmodified line234567891011108 unmodified lines1201211221231241251261575 unmodified lines17021703170417051706170717081709171022 unmodified lines17331734173517361737173817391740174117421743174417451746174717481749175017515 unmodified lines1757175817591760176117621763107 unmodified lines1871187218731874187518761 unmodified linelibrary_name: transformerslicense: apache-2.0datasets:- BeastyZ/ConRetrieverlanguage:- enmodel-index:- name: e5-R-mistral-7bresults:108 unmodified lines- type: ndcg_at_1000value: 61.149- type: ndcg_at_3value: 49.0- type: ndcg_at_5value: 51.141000000000005- type: precision_at_11575 unmodified lines- type: recall_at_10value: 89.517- type: recall_at_100value: 97.0- type: recall_at_1000value: 100.0- type: recall_at_3value: 79.72200000000001- type: recall_at_522 unmodified lines- type: map_at_5value: 1.199- type: mrr_at_1value: 94.0- type: mrr_at_10value: 97.0- type: mrr_at_100value: 97.0- type: mrr_at_1000value: 97.0- type: mrr_at_3value: 97.0- type: mrr_at_5value: 97.0- type: ndcg_at_1value: 92.0- type: ndcg_at_10value: 84.399- type: ndcg_at_1005 unmodified lines- type: ndcg_at_5value: 88.52600000000001- type: precision_at_1value: 94.0- type: precision_at_10value: 86.8- type: precision_at_100107 unmodified lines- **Model type:** CausalLM- **Repository:** Welcome to our [GitHub](https://github.com/LeeSureman/ConRetriever) repository to obtain code- **Training dataset:** Dataset used for fine-tuning e5-R-mistral-7b is available [here](https://huggingface.co/datasets/BeastyZ/ConRetriever).1 unmodified line2345678910108 unmodified lines1191201211221231241251575 unmodified lines17011702170317041705170617071708170922 unmodified lines17321733173417351736173717381739174017411742174317441745174617471748174917505 unmodified lines1756175717581759176017611762107 unmodified lines18701871187218731 unmodified linelibrary_name: transformerslicense: apache-2.0datasets:- BeastyZ/E5-Rlanguage:- enmodel-index:- name: e5-R-mistral-7bresults:108 unmodified lines- type: ndcg_at_1000value: 61.149- type: ndcg_at_3value: 49- type: ndcg_at_5value: 51.141000000000005- type: precision_at_11575 unmodified lines- type: recall_at_10value: 89.517- type: recall_at_100value: 97- type: recall_at_1000value: 100- type: recall_at_3value: 79.72200000000001- type: recall_at_522 unmodified lines- type: map_at_5value: 1.199- type: mrr_at_1value: 94- type: mrr_at_10value: 97- type: mrr_at_100value: 97- type: mrr_at_1000value: 97- type: mrr_at_3value: 97- type: mrr_at_5value: 97- type: ndcg_at_1value: 92- type: ndcg_at_10value: 84.399- type: ndcg_at_1005 unmodified lines- type: ndcg_at_5value: 88.52600000000001- type: precision_at_1value: 94- type: precision_at_10value: 86.8- type: precision_at_100107 unmodified lines- **Model type:** CausalLM- **Repository:** Welcome to our [GitHub](https://github.com/LeeSureman/ConRetriever) repository to obtain code- **Training dataset:** Dataset used for fine-tuning e5-R-mistral-7b is available [here](https://huggingface.co/datasets/BeastyZ/ConRetriever).
README.md+13-16