Text Generation
Transformers
Safetensors
English
text-generation-inference
unsloth
llama
trl
conversational
Instructions to use SedatAl/Turkish_Recipe_ChatBot_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SedatAl/Turkish_Recipe_ChatBot_v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SedatAl/Turkish_Recipe_ChatBot_v2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SedatAl/Turkish_Recipe_ChatBot_v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use SedatAl/Turkish_Recipe_ChatBot_v2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SedatAl/Turkish_Recipe_ChatBot_v2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SedatAl/Turkish_Recipe_ChatBot_v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SedatAl/Turkish_Recipe_ChatBot_v2
- SGLang
How to use SedatAl/Turkish_Recipe_ChatBot_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 "SedatAl/Turkish_Recipe_ChatBot_v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SedatAl/Turkish_Recipe_ChatBot_v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "SedatAl/Turkish_Recipe_ChatBot_v2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SedatAl/Turkish_Recipe_ChatBot_v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use SedatAl/Turkish_Recipe_ChatBot_v2 with Docker Model Runner:
docker model run hf.co/SedatAl/Turkish_Recipe_ChatBot_v2
Commit History
-
Update README.md
Verified signatureb3c1c84
-
Delete Turkish_Recipe_ChatBot-F16-LoRA.gguf
Verified signaturee017494 -
Update README.md
Verified signature41a1f33 -
Update README.md
Verified signature096c043 -
Rename adapter_model.safetensors to model.safetensors
Verified signaturebb8696c -
Rename adapter_config.json to config.json
Verified signaturefe22a39 -
Update README.md
Verified signaturee0801b3 -
Update README.md
Verified signature6db82dc -
Update README.md
Verified signatureaf91f6b -
Upload Turkish_Recipe_ChatBot-F16-LoRA.gguf with huggingface_hub
Verified signatureeabe815 -
Rename model.safetensors to adapter_model.safetensors
Verified signature69c3d4f -
Rename config.json to adapter_config.json
Verified signature2b83d0a -
Rename adapter_model.safetensors to model.safetensors
Verified signaturec122a47 -
Rename adapter_config.json to config.json
Verified signature49a8804 -
Update README.md
Verified signature1bc9ad4 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster030bd5f -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x faster9e16a3a -
Upload README.md with huggingface_hub
Verified signature77faeb9 -
initial commit
Verified signaturee7f56fa