Text Generation
Transformers
PyTorch
English
gpt_neox
gpt
llm
large language model
h2o-llmstudio
text-generation-inference
Instructions to use Aldelard/Indication_PYT_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Aldelard/Indication_PYT_v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Aldelard/Indication_PYT_v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Aldelard/Indication_PYT_v2") model = AutoModelForCausalLM.from_pretrained("Aldelard/Indication_PYT_v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Aldelard/Indication_PYT_v2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Aldelard/Indication_PYT_v2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Aldelard/Indication_PYT_v2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Aldelard/Indication_PYT_v2
- SGLang
How to use Aldelard/Indication_PYT_v2 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 "Aldelard/Indication_PYT_v2" \ --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": "Aldelard/Indication_PYT_v2", "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 "Aldelard/Indication_PYT_v2" \ --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": "Aldelard/Indication_PYT_v2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Aldelard/Indication_PYT_v2 with Docker Model Runner:
docker model run hf.co/Aldelard/Indication_PYT_v2
Commit History
-
Upload h2oai_pipeline.py
Verified signature0b60f7d -
Upload model
Verified signature100fabd -
Upload cfg.yaml
Verified signature56ae8ae -
Upload model card
Verified signature83bc0c5 -
Upload tokenizer
Verified signature98ea77c -
Upload h2oai_pipeline.py
Verified signature341024b -
Upload model
Verified signature9c0fd2d -
Upload cfg.yaml
Verified signature55b688b -
Upload model card
Verified signature2ef7f5d -
Upload tokenizer
Verified signaturebca9425 -
Upload h2oai_pipeline.py
Verified signaturebe96188 -
Upload model
Verified signature91b3ca4 -
Upload cfg.yaml
Verified signaturea32334b -
Upload model card
Verified signatureeb10e05 -
Upload tokenizer
Verified signaturea7c4fdf -
Upload h2oai_pipeline.py
Verified signature276dac9 -
Upload model
Verified signature3e98330 -
Upload cfg.yaml
Verified signature81d6b9b -
Upload model card
Verified signature3cd6370 -
Upload tokenizer
Verified signaturee70013d -
initial commit
Verified signature7e59419