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")# pip install -U transformers accelerate # 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
Training in progress, epoch 0
Browse files- adapter_model.safetensors +1 -1
- runs/Jan27_05-33-32_2483abb96fd8/events.out.tfevents.1706333637.2483abb96fd8.1789.7 +3 -0
- runs/Jan27_05-35-12_2483abb96fd8/events.out.tfevents.1706333738.2483abb96fd8.1789.8 +3 -0
- runs/Jan27_05-42-37_2483abb96fd8/events.out.tfevents.1706334183.2483abb96fd8.1789.9 +3 -0
- training_args.bin +1 -1
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4517152
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e47e23b15b9d262b38ef2903970669834bc3e0e7f188bd88b5f0993b311dde0
|
| 3 |
size 4517152
|
runs/Jan27_05-33-32_2483abb96fd8/events.out.tfevents.1706333637.2483abb96fd8.1789.7
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:379baf2ca5b961977767cf279593ccff2db983e223547f4f493890ac03a88339
|
| 3 |
+
size 4847
|
runs/Jan27_05-35-12_2483abb96fd8/events.out.tfevents.1706333738.2483abb96fd8.1789.8
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5488c400487cabf08a8871d69470a13c737cf07048fff6004a5de076dacb4c7
|
| 3 |
+
size 9555
|
runs/Jan27_05-42-37_2483abb96fd8/events.out.tfevents.1706334183.2483abb96fd8.1789.9
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e2df07d7bf08f5837d85c15a3929b91409ea252253ba809c43fbc20657da5916
|
| 3 |
+
size 20742
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4664
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88d74082098d51cb67ce002fad503e31772c0c6f81e190e33220517325f56ea8
|
| 3 |
size 4664
|