Instructions to use kavanmevada/eng-word-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kavanmevada/eng-word-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="kavanmevada/eng-word-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("kavanmevada/eng-word-model") model = AutoModelForCausalLM.from_pretrained("kavanmevada/eng-word-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use kavanmevada/eng-word-model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kavanmevada/eng-word-model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kavanmevada/eng-word-model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/kavanmevada/eng-word-model
- SGLang
How to use kavanmevada/eng-word-model 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 "kavanmevada/eng-word-model" \ --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": "kavanmevada/eng-word-model", "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 "kavanmevada/eng-word-model" \ --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": "kavanmevada/eng-word-model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use kavanmevada/eng-word-model with Docker Model Runner:
docker model run hf.co/kavanmevada/eng-word-model
Commit History
-
Training in progress, step 1600, checkpoint
Verified signature0ff0482 -
Training in progress, step 1600
Verified signature0f34969 -
Update last-checkpoint/trainer_state.json
Verified signature20907e1 -
Training in progress, step 1280, checkpoint
Verified signature5ef61ec -
Training in progress, step 1280
Verified signaturebed060f -
Training in progress, step 1270, checkpoint
Verified signature689766a -
Training in progress, step 1270
Verified signature94ea06f -
Training in progress, step 1260, checkpoint
Verified signaturef157e63 -
Training in progress, step 1260
Verified signature0eb0afb -
Training in progress, step 1250, checkpoint
Verified signature918eb12 -
Training in progress, step 1250
Verified signature637659a -
Training in progress, step 1240, checkpoint
Verified signatureb76b6be -
Training in progress, step 1240
Verified signature0c49760 -
Training in progress, step 1230, checkpoint
Verified signature26f10e4 -
Training in progress, step 1230
Verified signaturea220e85 -
Training in progress, step 1220, checkpoint
Verified signaturef49c0b1 -
Training in progress, step 1220
Verified signature532bfb3 -
Training in progress, step 1210, checkpoint
Verified signature18e9d3f -
Training in progress, step 1210
Verified signatureb34119c -
Training in progress, step 1200, checkpoint
Verified signature328ed33 -
Training in progress, step 1200
Verified signature3647f49 -
Training in progress, step 1190, checkpoint
Verified signaturef6c7ade -
Training in progress, step 1190
Verified signaturec56b127 -
Training in progress, step 1180, checkpoint
Verified signature8eb66e4 -
Training in progress, step 1180
Verified signature177709f -
Training in progress, step 1170, checkpoint
Verified signature0b01125 -
Training in progress, step 1170
Verified signature7241bef -
Training in progress, step 1160, checkpoint
Verified signature3068644 -
Training in progress, step 1160
Verified signature9307b60 -
Training in progress, step 1150, checkpoint
Verified signaturef6e6f30 -
Training in progress, step 1150
Verified signaturebd8b4d9 -
Training in progress, step 1140, checkpoint
Verified signaturee8bcd8c -
Training in progress, step 1140
Verified signature77e1d1d -
Training in progress, step 1130, checkpoint
Verified signature539cb07 -
Training in progress, step 1130
Verified signature5de21e7 -
Training in progress, step 1120, checkpoint
Verified signature04ae711 -
Training in progress, step 1120
Verified signature1e54eda -
Training in progress, step 1110, checkpoint
Verified signatureec3fe7b -
Training in progress, step 1110
Verified signaturecb3e179 -
Training in progress, step 1100, checkpoint
Verified signaturee9aea0c -
Training in progress, step 1100
Verified signature7d1ffdc -
Training in progress, step 1090, checkpoint
Verified signature5443205 -
Training in progress, step 1090
Verified signature668910f -
Training in progress, step 1080, checkpoint
Verified signaturef6e0d44 -
Training in progress, step 1080
Verified signature267351e -
Training in progress, step 1070, checkpoint
Verified signature9aa8e4b -
Training in progress, step 1070
Verified signature7814a06 -
Training in progress, step 1060, checkpoint
Verified signaturef68489d -
Training in progress, step 1060
Verified signature86a3aa5 -
Training in progress, step 1050, checkpoint
Verified signature82f42d6