Text Generation
Transformers
TensorBoard
Safetensors
llama
trl
sft
Generated from Trainer
text-generation-inference
Instructions to use EddyGiusepe/tinyllama-aira_Chatbot-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EddyGiusepe/tinyllama-aira_Chatbot-lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="EddyGiusepe/tinyllama-aira_Chatbot-lora")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("EddyGiusepe/tinyllama-aira_Chatbot-lora") model = AutoModelForCausalLM.from_pretrained("EddyGiusepe/tinyllama-aira_Chatbot-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use EddyGiusepe/tinyllama-aira_Chatbot-lora with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "EddyGiusepe/tinyllama-aira_Chatbot-lora" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EddyGiusepe/tinyllama-aira_Chatbot-lora", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/EddyGiusepe/tinyllama-aira_Chatbot-lora
- SGLang
How to use EddyGiusepe/tinyllama-aira_Chatbot-lora 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 "EddyGiusepe/tinyllama-aira_Chatbot-lora" \ --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": "EddyGiusepe/tinyllama-aira_Chatbot-lora", "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 "EddyGiusepe/tinyllama-aira_Chatbot-lora" \ --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": "EddyGiusepe/tinyllama-aira_Chatbot-lora", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use EddyGiusepe/tinyllama-aira_Chatbot-lora with Docker Model Runner:
docker model run hf.co/EddyGiusepe/tinyllama-aira_Chatbot-lora
Ctrl+K
- Jan27_02-50-04_f73bcb9a2b34
- Jan27_02-52-00_f73bcb9a2b34
- Jan27_04-12-02_e6ba3a9e0894
- Jan27_04-58-45_2483abb96fd8
- Jan27_05-02-42_2483abb96fd8
- Jan27_05-04-46_2483abb96fd8
- Jan27_05-16-15_2483abb96fd8
- Jan27_05-18-21_2483abb96fd8
- Jan27_05-19-23_2483abb96fd8
- Jan27_05-32-25_2483abb96fd8
- Jan27_05-33-32_2483abb96fd8
- Jan27_05-35-12_2483abb96fd8
- Jan27_05-42-37_2483abb96fd8
- Jan27_17-45-16_2701addb9961
- Jan27_17-48-00_2701addb9961
- Jan27_18-35-34_5447d6ad1c84
- Jan27_23-18-38_c42946757f0b
- Jan27_23-31-10_c42946757f0b
- Jan27_23-45-38_c42946757f0b