Instructions to use dhanesh123in/HGRNBitCausalLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dhanesh123in/HGRNBitCausalLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="dhanesh123in/HGRNBitCausalLM")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("dhanesh123in/HGRNBitCausalLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use dhanesh123in/HGRNBitCausalLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dhanesh123in/HGRNBitCausalLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dhanesh123in/HGRNBitCausalLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/dhanesh123in/HGRNBitCausalLM
- SGLang
How to use dhanesh123in/HGRNBitCausalLM 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 "dhanesh123in/HGRNBitCausalLM" \ --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": "dhanesh123in/HGRNBitCausalLM", "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 "dhanesh123in/HGRNBitCausalLM" \ --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": "dhanesh123in/HGRNBitCausalLM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use dhanesh123in/HGRNBitCausalLM with Docker Model Runner:
docker model run hf.co/dhanesh123in/HGRNBitCausalLM
Commit History
-
Training in progress, step 13000
Verified signature2ee5651 -
Training in progress, step 12500
Verified signature1ecaa8f -
Training in progress, step 12000
Verified signature2f582bc -
Training in progress, step 11500
Verified signature799f8bb -
Training in progress, step 11000
Verified signaturea2eba01 -
Training in progress, step 10500
Verified signature54ec33f -
Training in progress, step 10000
Verified signature23aef36 -
Training in progress, step 9500
Verified signature458b7a9 -
Training in progress, step 9000
Verified signaturee888a8d -
Training in progress, step 8500
Verified signature4eeee22 -
Training in progress, step 8000
Verified signature2cb5957 -
Training in progress, step 7500
Verified signature70d2c1d -
Training in progress, step 7000
Verified signaturedac4e1a -
Training in progress, step 6500
Verified signaturee9ee82d -
Training in progress, step 6000
Verified signature1d99b63 -
Training in progress, step 5500
Verified signature970c457 -
Training in progress, step 5000
Verified signature3b2f2c7 -
Training in progress, step 4500
Verified signature245afc3 -
Training in progress, step 4000
Verified signatureb1e31ca -
Training in progress, step 3500
Verified signaturee8a372d -
Training in progress, step 3000
Verified signature37b90fe -
Training in progress, step 2500
Verified signatureb72dbc0 -
Training in progress, step 2000
Verified signature1d62377 -
Training in progress, step 1500
Verified signature7aca87e -
Training in progress, step 1000
Verified signature9e95eff -
Training in progress, step 500
Verified signature7154b34
-
Training in progress, step 500
Verified signaturecac9216 -
initial commit
Verified signature75aeb69