Instructions to use thrunlab/Mistral_Sparse_refined_web_50p_graceful_True with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thrunlab/Mistral_Sparse_refined_web_50p_graceful_True with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="thrunlab/Mistral_Sparse_refined_web_50p_graceful_True", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("thrunlab/Mistral_Sparse_refined_web_50p_graceful_True", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use thrunlab/Mistral_Sparse_refined_web_50p_graceful_True with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "thrunlab/Mistral_Sparse_refined_web_50p_graceful_True" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "thrunlab/Mistral_Sparse_refined_web_50p_graceful_True", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/thrunlab/Mistral_Sparse_refined_web_50p_graceful_True
- SGLang
How to use thrunlab/Mistral_Sparse_refined_web_50p_graceful_True 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 "thrunlab/Mistral_Sparse_refined_web_50p_graceful_True" \ --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": "thrunlab/Mistral_Sparse_refined_web_50p_graceful_True", "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 "thrunlab/Mistral_Sparse_refined_web_50p_graceful_True" \ --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": "thrunlab/Mistral_Sparse_refined_web_50p_graceful_True", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use thrunlab/Mistral_Sparse_refined_web_50p_graceful_True with Docker Model Runner:
docker model run hf.co/thrunlab/Mistral_Sparse_refined_web_50p_graceful_True
Commit History
-
End of training
Verified signature6b47f51 -
End of training
Verified signaturecd0152a -
End of training
Verified signature8e64e99 -
End of training
Verified signature9cde716 -
End of training
Verified signature96a30d5 -
End of training
Verified signatureec9cc84 -
End of training
Verified signature0b9082f -
End of training
Verified signature3d5c6ed -
End of training
Verified signature459b652 -
End of training
Verified signature0f0a96c
-
End of training
Verified signature41674ca -
End of training
Verified signaturecb7a3cc -
End of training
Verified signature7f7a168 -
End of training
Verified signature58456d9
-
Training in progress, step 250
Verified signaturecfbccf5 -
Training in progress, step 500
Verified signature4fe4c48 -
Training in progress, step 250
Verified signaturec96b15c -
Training in progress, step 1750
Verified signature5d16046 -
Training in progress, step 1500
Verified signature972ecba -
Training in progress, step 1250
Verified signature2d3b412 -
Training in progress, step 1000
Verified signaturede1fbdc -
Training in progress, step 750
Verified signaturede4aafb -
Training in progress, step 500
Verified signatured98f0c1
-
Training in progress, step 4400
Verified signature7b4a39a -
Training in progress, step 4350
Verified signaturee6a4842 -
Training in progress, step 4300
Verified signaturec230812 -
Training in progress, step 4250
Verified signature34eaba1 -
Training in progress, step 4200
Verified signaturee1bf673 -
Training in progress, step 4150
Verified signature9aa2af2 -
Training in progress, step 4100
Verified signatured99052e -
Training in progress, step 4050
Verified signatureeb54d6d -
Training in progress, step 4000
Verified signature7c815a1 -
Training in progress, step 3950
Verified signature51a09e7 -
Training in progress, step 3900
Verified signature3744914 -
Training in progress, step 3850
Verified signatured47b467 -
Training in progress, step 3800
Verified signature0826615 -
Training in progress, step 3750
Verified signature2d83c27 -
Training in progress, step 3700
Verified signature7901278 -
Training in progress, step 3650
Verified signature06f210d -
Training in progress, step 3600
Verified signature5d88707 -
Training in progress, step 3550
Verified signaturee704a05 -
Training in progress, step 3500
Verified signature25676cd -
Training in progress, step 3450
Verified signature6a17f42 -
Training in progress, step 3400
Verified signaturef2d6f90 -
Training in progress, step 3350
Verified signature2f49b6f -
Training in progress, step 3300
Verified signature1c4bf8f -
Training in progress, step 3250
Verified signature5b1fa7e -
Training in progress, step 3200
Verified signature138fe84 -
Training in progress, step 3150
Verified signature918d473 -
Training in progress, step 3100
Verified signature98be263