Text Generation
Transformers
TensorBoard
Safetensors
gpt2
Generated from Trainer
text-generation-inference
Instructions to use IndianChess/Therapy-Alpaca with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use IndianChess/Therapy-Alpaca with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="IndianChess/Therapy-Alpaca")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("IndianChess/Therapy-Alpaca") model = AutoModelForCausalLM.from_pretrained("IndianChess/Therapy-Alpaca", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use IndianChess/Therapy-Alpaca with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "IndianChess/Therapy-Alpaca" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "IndianChess/Therapy-Alpaca", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/IndianChess/Therapy-Alpaca
- SGLang
How to use IndianChess/Therapy-Alpaca 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 "IndianChess/Therapy-Alpaca" \ --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": "IndianChess/Therapy-Alpaca", "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 "IndianChess/Therapy-Alpaca" \ --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": "IndianChess/Therapy-Alpaca", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use IndianChess/Therapy-Alpaca with Docker Model Runner:
docker model run hf.co/IndianChess/Therapy-Alpaca
Commit History
-
Training in progress, step 16500
Ish ManVerified signature6d376a7 -
Training in progress, step 16000
Ish ManVerified signature148d2db -
Training in progress, step 15500
Ish ManVerified signaturec9361a1 -
Training in progress, step 15000
Ish ManVerified signature4606de0 -
Training in progress, step 14500
Ish ManVerified signature26fe5fe -
Training in progress, step 14000
Ish ManVerified signature394b132 -
Training in progress, step 13500
Ish ManVerified signature82ed49e -
Training in progress, step 13000
Ish ManVerified signature93d6cf9 -
Training in progress, step 12500
Ish ManVerified signature47a1443 -
Training in progress, step 12000
Ish ManVerified signature530795e -
Training in progress, step 11500
Ish ManVerified signatureb3fff7f -
Training in progress, step 11000
Ish ManVerified signature95b9fdb -
Training in progress, step 10500
Ish ManVerified signature1f7cc6c -
Training in progress, step 10000
Ish ManVerified signature41d597a -
Training in progress, step 9500
Ish ManVerified signatureb3ad9a4 -
Training in progress, step 9000
Ish ManVerified signature7d61e25 -
Training in progress, step 8500
Ish ManVerified signaturecddcbf5 -
Training in progress, step 8000
Ish ManVerified signaturea517333 -
Training in progress, step 7500
Ish ManVerified signature90663d1 -
Training in progress, step 7000
Ish ManVerified signaturea638687 -
Training in progress, step 6500
Ish ManVerified signature6f89071 -
Training in progress, step 6000
Ish ManVerified signature5218c8d -
Training in progress, step 5500
Ish ManVerified signaturecdf6b99 -
Training in progress, step 5000
Ish ManVerified signature70ba7a3 -
Training in progress, step 4500
Ish ManVerified signature726d249 -
Training in progress, step 4000
Ish ManVerified signature3c14496 -
Training in progress, step 3500
Ish ManVerified signature2b5b7c6 -
Training in progress, step 3000
Ish ManVerified signatureb5e4b66 -
Training in progress, step 2500
Ish ManVerified signature272be5f -
Training in progress, step 2000
Ish ManVerified signaturee605ca8 -
Training in progress, step 1500
Ish ManVerified signaturefd0e6c4 -
Training in progress, step 1000
Ish ManVerified signature8f999d5 -
Training in progress, step 500
Ish ManVerified signature7b4f1c0 -
Training in progress, step 3500
Ish ManVerified signature20f3f6f -
Training in progress, step 3000
Ish ManVerified signature8d880dd -
Training in progress, step 2500
Ish ManVerified signature0b88ef4 -
Training in progress, step 2000
Ish ManVerified signature63f7872 -
Training in progress, step 1500
Ish ManVerified signature082a832 -
Training in progress, step 1000
Ish ManVerified signaturee607a91 -
Training in progress, step 500
Ish ManVerified signature7337385 -
End of training
Ish ManVerified signaturef8156fe -
Training in progress, step 3500
Ish ManVerified signature5b984de -
Training in progress, step 3000
Ish ManVerified signatureeaa7102 -
Training in progress, step 2500
Ish ManVerified signature834cc09 -
Training in progress, step 2000
Ish ManVerified signature7d5921b -
Training in progress, step 1500
Ish ManVerified signaturef2be71f -
Training in progress, step 1000
Ish ManVerified signaturea97d7b7 -
Training in progress, step 500
Ish ManVerified signature58066ed -
End of training
Ish ManVerified signatured4d6964 -
Training in progress, step 3500
Ish ManVerified signature31c79bf