Text Generation
Transformers
TensorBoard
Safetensors
English
mistral
text-to-text
natural-language-processing
text2text-generation
text-generation-inference
Instructions to use Indah1/BioChat10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Indah1/BioChat10 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Indah1/BioChat10")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Indah1/BioChat10") model = AutoModelForCausalLM.from_pretrained("Indah1/BioChat10", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Indah1/BioChat10 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Indah1/BioChat10" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Indah1/BioChat10", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Indah1/BioChat10
- SGLang
How to use Indah1/BioChat10 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/BioChat10" \ --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/BioChat10", "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/BioChat10" \ --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/BioChat10", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Indah1/BioChat10 with Docker Model Runner:
docker model run hf.co/Indah1/BioChat10
Commit History
-
Update README.md
Verified signaturec0b730d -
Update README.md
Verified signaturedb7ac72 -
cosine_similarity_biochat10
Verified signatureed9e270 -
Delete events.out.tfevents.1731488625.finetune1-0.5572.0
Verified signaturefbd2e5d -
Delete events.out.tfevents.1729681003.finetune1-0.4198 (1).0
Verified signature95420fb
-
Upload events.out.tfevents.1731488625.finetune1-0.5572.0
Verified signature344d74c -
Update README.md
Verified signaturea08bb11 -
Update README.md
Verified signature3038cdc -
Update README.md
Verified signature5cd368f -
Update README.md
Verified signature21b24f4 -
Update README.md
Verified signature12f31ef -
Update README.md
Verified signature6871c5c -
Update README.md
Verified signature43155b8 -
Update README.md
Verified signatureac097fc -
Update README.md
Verified signaturef61c563 -
Update README.md
Verified signature4a00c20 -
Upload BioChat.png
Verified signature9186cdc -
Delete BioChat.png
Verified signaturef2261ab -
Update README.md
Verified signature57262a3 -
Update README.md
Verified signature6463508 -
Update README.md
Verified signaturecc3f4ed -
Delete Screenshot 2024-11-26 112918.png
Verified signature45acf62 -
Upload BioChat.png
Verified signature65ce13e -
Update README.md
Verified signatured412c06 -
Update README.md
Verified signature21fa968 -
Update README.md
Verified signatured0f0fc0 -
Upload Screenshot 2024-11-26 112918.png
Verified signature6b9436a -
Update README.md
Verified signaturea0eeb70 -
Update README.md
Verified signature6523926 -
Update README.md
Verified signature115d638 -
Update README.md
Verified signaturef749ab8 -
Upload events.out.tfevents.1729681003.finetune1-0.4198 (1).0
Verified signatureeadf42a
-
Upload 2 files
Verified signaturecbc4eda -
Upload folder using huggingface_hub
Verified signature2108c4f -
initial commit
Verified signaturedd9b7f4