Text Generation
Transformers
Safetensors
English
llama
bees
bzz
honey
oprah winfrey
Eval Results (legacy)
text-generation-inference
Instructions to use BEE-spoke-data/TinyLlama-3T-1.1bee with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BEE-spoke-data/TinyLlama-3T-1.1bee with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="BEE-spoke-data/TinyLlama-3T-1.1bee")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("BEE-spoke-data/TinyLlama-3T-1.1bee") model = AutoModelForCausalLM.from_pretrained("BEE-spoke-data/TinyLlama-3T-1.1bee", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use BEE-spoke-data/TinyLlama-3T-1.1bee with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "BEE-spoke-data/TinyLlama-3T-1.1bee" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BEE-spoke-data/TinyLlama-3T-1.1bee", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/BEE-spoke-data/TinyLlama-3T-1.1bee
- SGLang
How to use BEE-spoke-data/TinyLlama-3T-1.1bee 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 "BEE-spoke-data/TinyLlama-3T-1.1bee" \ --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": "BEE-spoke-data/TinyLlama-3T-1.1bee", "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 "BEE-spoke-data/TinyLlama-3T-1.1bee" \ --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": "BEE-spoke-data/TinyLlama-3T-1.1bee", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use BEE-spoke-data/TinyLlama-3T-1.1bee with Docker Model Runner:
docker model run hf.co/BEE-spoke-data/TinyLlama-3T-1.1bee
- Xet hash:
- d547ddc44a43b8b62b18f50dd23b474a69a6e182e0e9f22a0c87fdae8c910d1d
- Size of remote file:
- 500 kB
- SHA256:
- 7aedb3582ecda9fa99ee9242c17a9658f6744db083ee6ebdc8fb14857f84d220
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.