Instructions to use gjonesQ02/ScopeOfWorkTextGenerator_Alpha with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gjonesQ02/ScopeOfWorkTextGenerator_Alpha with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="gjonesQ02/ScopeOfWorkTextGenerator_Alpha")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("gjonesQ02/ScopeOfWorkTextGenerator_Alpha") model = AutoModelForCausalLM.from_pretrained("gjonesQ02/ScopeOfWorkTextGenerator_Alpha", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use gjonesQ02/ScopeOfWorkTextGenerator_Alpha with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gjonesQ02/ScopeOfWorkTextGenerator_Alpha" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gjonesQ02/ScopeOfWorkTextGenerator_Alpha", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/gjonesQ02/ScopeOfWorkTextGenerator_Alpha
- SGLang
How to use gjonesQ02/ScopeOfWorkTextGenerator_Alpha 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 "gjonesQ02/ScopeOfWorkTextGenerator_Alpha" \ --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": "gjonesQ02/ScopeOfWorkTextGenerator_Alpha", "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 "gjonesQ02/ScopeOfWorkTextGenerator_Alpha" \ --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": "gjonesQ02/ScopeOfWorkTextGenerator_Alpha", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use gjonesQ02/ScopeOfWorkTextGenerator_Alpha with Docker Model Runner:
docker model run hf.co/gjonesQ02/ScopeOfWorkTextGenerator_Alpha
Commit History
-
Training in progress, step 4000
Verified signaturea8552ff -
Training in progress, step 3500
Verified signature8d0b7ed -
Training in progress, step 3000
Verified signaturebbaff50 -
Training in progress, step 2500
Verified signature2b857ac -
Training in progress, step 2000
Verified signaturea96b021 -
Training in progress, step 1500
Verified signature87491ba -
Training in progress, step 1000
Verified signaturea307300 -
Training in progress, step 500
Verified signature46f0554
-
Training in progress, step 8000
Verified signature8793595 -
Training in progress, step 7500
Verified signatureb9f8a35 -
Training in progress, step 7000
Verified signatured52698b -
Training in progress, step 6500
Verified signature4593aaa -
Training in progress, step 6000
Verified signature8afdd2d -
Training in progress, step 5500
Verified signature522d2cd -
Training in progress, step 5000
Verified signature058cc3c -
Training in progress, step 4500
Verified signature350afa3 -
Training in progress, step 4000
Verified signaturec5eb904 -
Training in progress, step 3500
Verified signaturea4e5598 -
Training in progress, step 3000
Verified signature7ded1aa -
Training in progress, step 2500
Verified signature3864da1 -
Training in progress, step 2000
Verified signature019ddce -
Training in progress, step 1500
Verified signature1e31242 -
Training in progress, step 1000
Verified signature1adab81 -
Training in progress, step 500
Verified signature5d5b84f