Instructions to use minpeter/webtext-8k-micro-250801 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use minpeter/webtext-8k-micro-250801 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="minpeter/webtext-8k-micro-250801")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("minpeter/webtext-8k-micro-250801") model = AutoModelForCausalLM.from_pretrained("minpeter/webtext-8k-micro-250801", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use minpeter/webtext-8k-micro-250801 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "minpeter/webtext-8k-micro-250801" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "minpeter/webtext-8k-micro-250801", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/minpeter/webtext-8k-micro-250801
- SGLang
How to use minpeter/webtext-8k-micro-250801 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 "minpeter/webtext-8k-micro-250801" \ --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": "minpeter/webtext-8k-micro-250801", "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 "minpeter/webtext-8k-micro-250801" \ --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": "minpeter/webtext-8k-micro-250801", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use minpeter/webtext-8k-micro-250801 with Docker Model Runner:
docker model run hf.co/minpeter/webtext-8k-micro-250801
Commit History
-
Upload tokenizer
Verified signatured46b4e1 -
Training in progress, step 700, checkpoint
Verified signature566779b -
Training in progress, step 700
Verified signature0792e7b -
Training in progress, step 600, checkpoint
Verified signature4a192ba -
Training in progress, step 600
Verified signature04f44d6 -
Training in progress, step 500, checkpoint
Verified signature897786a -
Training in progress, step 500
Verified signature1626720 -
Training in progress, step 400, checkpoint
Verified signature70e0757 -
Training in progress, step 400
Verified signaturec54d4bb -
Training in progress, step 300, checkpoint
Verified signaturec895c91 -
Training in progress, step 300
Verified signature3b08441 -
Training in progress, step 200, checkpoint
Verified signaturee8c83d4 -
Training in progress, step 200
Verified signature8e106d9 -
Training in progress, step 100, checkpoint
Verified signatured6e015a -
Training in progress, step 100
Verified signature2cb7f8c -
Training in progress, step 1100, checkpoint
Verified signaturee2d0d6f -
Training in progress, step 1100
Verified signaturedafc221 -
Training in progress, step 1000, checkpoint
Verified signaturec9f42e3 -
Training in progress, step 1000
Verified signatureb662f6b -
Training in progress, step 900, checkpoint
Verified signature299f369 -
Training in progress, step 900
Verified signature9be2866 -
Training in progress, step 800, checkpoint
Verified signature77197c9 -
Training in progress, step 800
Verified signaturead44ceb -
Training in progress, step 700, checkpoint
Verified signature545b2eb -
Training in progress, step 700
Verified signatureafde34e -
Training in progress, step 600, checkpoint
Verified signature318bee8 -
Training in progress, step 600
Verified signaturec658119 -
Training in progress, step 500, checkpoint
Verified signaturee39f65a -
Training in progress, step 500
Verified signature2fe00b1 -
Training in progress, step 400, checkpoint
Verified signature5ca2962 -
Training in progress, step 400
Verified signature305f9bb -
Training in progress, step 300, checkpoint
Verified signature440453e -
Training in progress, step 300
Verified signature03092f8 -
Training in progress, step 200, checkpoint
Verified signature3a69e28 -
Training in progress, step 200
Verified signaturec66c9c5 -
Training in progress, step 100, checkpoint
Verified signature2baf451 -
Training in progress, step 100
Verified signature3b108be -
Training in progress, step 700, checkpoint
Verified signaturef6097a9 -
Training in progress, step 700
Verified signatureda08981 -
Training in progress, step 600, checkpoint
Verified signatureaaf63bf -
Training in progress, step 600
Verified signaturec840076 -
Training in progress, step 500, checkpoint
Verified signature20d5b13 -
Training in progress, step 500
Verified signature5f72e1c -
Training in progress, step 400, checkpoint
Verified signaturee7d6cb5 -
Training in progress, step 400
Verified signaturee6e110d -
Training in progress, step 300, checkpoint
Verified signaturef086c46 -
Training in progress, step 300
Verified signatureb49a354 -
Training in progress, step 200, checkpoint
Verified signature15ed6b5 -
Training in progress, step 200
Verified signatured05718a -
Training in progress, step 100, checkpoint
Verified signature6fb39ee