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 line234556788910108 unmodified lines1191201211231221231241251575 unmodified lines1701170217031705170417051707170617071708170922 unmodified lines173217331734173617351736173817371738174017391740174217411742174417431744174617451746174817471748174917505 unmodified lines17561757175817601759176017611762107 unmodified lines18701871187218741875187618731 unmodified linelibrary_name: transformerslicense: apache-2.0datasets:- BeastyZ/ConRetriever- BeastyZ/E5-Rlanguage:- en
model-index:- name: e5-R-mistral-7b results:108 unmodified lines - type: ndcg_at_1000 value: 61.149 - type: ndcg_at_3 value: 49.0 value: 49 - type: ndcg_at_5 value: 51.141000000000005 - type: precision_at_11575 unmodified lines - type: recall_at_10 value: 89.517 - type: recall_at_100 value: 97.0 value: 97 - type: recall_at_1000 value: 100.0 value: 100 - type: recall_at_3 value: 79.72200000000001 - type: recall_at_522 unmodified lines - type: map_at_5 value: 1.199 - type: mrr_at_1 value: 94.0 value: 94 - type: mrr_at_10 value: 97.0 value: 97 - type: mrr_at_100 value: 97.0 value: 97 - type: mrr_at_1000 value: 97.0 value: 97 - type: mrr_at_3 value: 97.0 value: 97 - type: mrr_at_5 value: 97.0 value: 97 - type: ndcg_at_1 value: 92.0 value: 92 - type: ndcg_at_10 value: 84.399 - type: ndcg_at_1005 unmodified lines - type: ndcg_at_5 value: 88.52600000000001 - type: precision_at_1 value: 94.0 value: 94 - type: precision_at_10 value: 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).
- **Training dataset:** Dataset used for fine-tuning e5-R-mistral-7b is available [here](https://huggingface.co/datasets/BeastyZ/ConRetriever).README.md+13-16