Instructions to use Wanfq/Explore-LM-Ext-7B-Math with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Wanfq/Explore-LM-Ext-7B-Math with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Wanfq/Explore-LM-Ext-7B-Math")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Wanfq/Explore-LM-Ext-7B-Math") model = AutoModelForCausalLM.from_pretrained("Wanfq/Explore-LM-Ext-7B-Math") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use Wanfq/Explore-LM-Ext-7B-Math with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Wanfq/Explore-LM-Ext-7B-Math" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Wanfq/Explore-LM-Ext-7B-Math", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Wanfq/Explore-LM-Ext-7B-Math
- SGLang
How to use Wanfq/Explore-LM-Ext-7B-Math 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 "Wanfq/Explore-LM-Ext-7B-Math" \ --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": "Wanfq/Explore-LM-Ext-7B-Math", "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 "Wanfq/Explore-LM-Ext-7B-Math" \ --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": "Wanfq/Explore-LM-Ext-7B-Math", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Wanfq/Explore-LM-Ext-7B-Math with Docker Model Runner:
docker model run hf.co/Wanfq/Explore-LM-Ext-7B-Math
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,7 +11,7 @@ language:
|
|
| 11 |
**Explore-Instruct: Enhancing Domain-Specific Instruction Coverage through Active Exploration**
|
| 12 |
|
| 13 |
|
| 14 |
-
<h4> |<a href="https://arxiv.org/abs/
|
| 15 |
<a href="https://huggingface.co/datasets?sort=trending&search=Explore_Instruct"> π€ Data </a> |
|
| 16 |
<a href="https://huggingface.co/models?sort=trending&search=Explore-LM"> π€ Model </a> |
|
| 17 |
<a href="https://github.com/fanqiwan/Explore-Instruct"> π± Github Repo </a> |
|
|
@@ -307,7 +307,7 @@ If you find this work is relevant with your research or applications, please fee
|
|
| 307 |
title={Explore-Instruct: Enhancing Domain-Specific Instruction Coverage through Active Exploration},
|
| 308 |
author={Fanqi, Wan and Xinting, Huang and Tao, Yang and Xiaojun, Quan and Wei, Bi and Shuming, Shi},
|
| 309 |
year={2023},
|
| 310 |
-
eprint={
|
| 311 |
archivePrefix={arXiv},
|
| 312 |
primaryClass={cs.CL}
|
| 313 |
}
|
|
|
|
| 11 |
**Explore-Instruct: Enhancing Domain-Specific Instruction Coverage through Active Exploration**
|
| 12 |
|
| 13 |
|
| 14 |
+
<h4> |<a href="https://arxiv.org/abs/2310.09168"> π Paper </a> |
|
| 15 |
<a href="https://huggingface.co/datasets?sort=trending&search=Explore_Instruct"> π€ Data </a> |
|
| 16 |
<a href="https://huggingface.co/models?sort=trending&search=Explore-LM"> π€ Model </a> |
|
| 17 |
<a href="https://github.com/fanqiwan/Explore-Instruct"> π± Github Repo </a> |
|
|
|
|
| 307 |
title={Explore-Instruct: Enhancing Domain-Specific Instruction Coverage through Active Exploration},
|
| 308 |
author={Fanqi, Wan and Xinting, Huang and Tao, Yang and Xiaojun, Quan and Wei, Bi and Shuming, Shi},
|
| 309 |
year={2023},
|
| 310 |
+
eprint={2310.09168},
|
| 311 |
archivePrefix={arXiv},
|
| 312 |
primaryClass={cs.CL}
|
| 313 |
}
|