Text Generation
Transformers
Safetensors
English
llama
axolotl
Generated from Trainer
text-generation-inference
Instructions to use BEE-spoke-data/Meta-Llama-3-8Bee with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BEE-spoke-data/Meta-Llama-3-8Bee with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="BEE-spoke-data/Meta-Llama-3-8Bee")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("BEE-spoke-data/Meta-Llama-3-8Bee") model = AutoModelForCausalLM.from_pretrained("BEE-spoke-data/Meta-Llama-3-8Bee", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use BEE-spoke-data/Meta-Llama-3-8Bee with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "BEE-spoke-data/Meta-Llama-3-8Bee" # 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/Meta-Llama-3-8Bee", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/BEE-spoke-data/Meta-Llama-3-8Bee
- SGLang
How to use BEE-spoke-data/Meta-Llama-3-8Bee 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/Meta-Llama-3-8Bee" \ --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/Meta-Llama-3-8Bee", "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/Meta-Llama-3-8Bee" \ --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/Meta-Llama-3-8Bee", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use BEE-spoke-data/Meta-Llama-3-8Bee with Docker Model Runner:
docker model run hf.co/BEE-spoke-data/Meta-Llama-3-8Bee
- Xet hash:
- fa0219b6e07c401de1fcac15c580d5f1899b7d33568bd4b16c46c46e85c78cea
- Size of remote file:
- 5.94 kB
- SHA256:
- 087675cb1f34151c000ad1b2d37c82b3b707e7a8426d5dc15fa03b823cf73e7a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.