Instructions to use noystl/mistral-e2e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use noystl/mistral-e2e with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="noystl/mistral-e2e")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("noystl/mistral-e2e", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use noystl/mistral-e2e with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "noystl/mistral-e2e" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "noystl/mistral-e2e", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/noystl/mistral-e2e
- SGLang
How to use noystl/mistral-e2e 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 "noystl/mistral-e2e" \ --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": "noystl/mistral-e2e", "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 "noystl/mistral-e2e" \ --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": "noystl/mistral-e2e", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use noystl/mistral-e2e with Docker Model Runner:
docker model run hf.co/noystl/mistral-e2e
Commit History
-
Improve model card: Update license and add sample usage
Verified signatureThis PR improves the model card for the `noystl/mistral-e2e` model by: - Updating the `license` metadata to `apache-2.0` for greater specificity and alignment with common open-source practices. - Correcting the paper title in the introductory sentence to match the official title: "CHIMERA: A Knowledge Base of Scientific Idea Recombinations for Research Analysis and Ideation". - Adding a practical "Sample Usage" section, demonstrating how to use the model with the `transformers` library to perform recombination extraction, which is the model's primary intended use. This makes it easier for users to get started directly from the Hugging Face Hub. These changes enhance the accuracy and utility of the model card.9fdcb57
-
Change pipeline tag from feature-extraction to text-generation (#2)
Verified signature- Change pipeline tag from feature-extraction to text-generation (396981bcf3f056d5b768cf7978dabe6686cbc9e8) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>7e3eb77
-
Add library_name and pipeline_tag metadata (#1)
Verified signature- Add library_name and pipeline_tag metadata (cdf48c49912a6765e60f7ddfea52d804db107174) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>8ce28e4
-
Update README.md
Verified signaturec629be3 -
Update README.md
Verified signaturefc44f00 -
Update README.md
Verified signature65b094f
-
Update README.md
Verified signatureb3e5ea1 -
Create README.md
Verified signaturee9a03c5
-
Upload 3 files
Verified signature3e9a4be -
initial commit
Verified signature2d9f25c