Instructions to use Indah1/BioChat15 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Indah1/BioChat15 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Indah1/BioChat15")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Indah1/BioChat15") model = AutoModelForCausalLM.from_pretrained("Indah1/BioChat15", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Indah1/BioChat15 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Indah1/BioChat15" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Indah1/BioChat15", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Indah1/BioChat15
- SGLang
How to use Indah1/BioChat15 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 "Indah1/BioChat15" \ --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": "Indah1/BioChat15", "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 "Indah1/BioChat15" \ --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": "Indah1/BioChat15", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Indah1/BioChat15 with Docker Model Runner:
docker model run hf.co/Indah1/BioChat15
Commit History
-
Update README.md
Verified signature638ec38 -
finetune
Verified signaturece75f78 -
cosine_similarity_biochat15
Verified signature0e2ed3e -
Delete events.out.tfevents.1731488567.finetune1-0.5212.0
Verified signature6523e9a -
Delete events.out.tfevents.1732603421.finetune1-0.19367.0
Verified signature6d1dee6 -
Update README.md
Verified signature027e0f6
-
Delete events.out.tfevents.1718946477.finetune1-0.902 (1).0
Verified signaturee94c596 -
Upload events.out.tfevents.1732603421.finetune1-0.19367.0
Verified signaturebe1eceb -
Upload events.out.tfevents.1731488567.finetune1-0.5212.0
Verified signatureb58b8fa -
Update README.md
Verified signature2d23a6b -
Upload events.out.tfevents.1718946477.finetune1-0.902 (1).0
Verified signatureed8dd36
-
Upload 2 files
Verified signature6cc6e2b -
Upload folder using huggingface_hub
Verified signature9214197 -
initial commit
Verified signatured10b29b