Instructions to use gbueno86/Meta-LLama-3-Instruct-Chonky-120b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gbueno86/Meta-LLama-3-Instruct-Chonky-120b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="gbueno86/Meta-LLama-3-Instruct-Chonky-120b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("gbueno86/Meta-LLama-3-Instruct-Chonky-120b") model = AutoModelForCausalLM.from_pretrained("gbueno86/Meta-LLama-3-Instruct-Chonky-120b", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use gbueno86/Meta-LLama-3-Instruct-Chonky-120b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gbueno86/Meta-LLama-3-Instruct-Chonky-120b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gbueno86/Meta-LLama-3-Instruct-Chonky-120b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gbueno86/Meta-LLama-3-Instruct-Chonky-120b
- SGLang
How to use gbueno86/Meta-LLama-3-Instruct-Chonky-120b 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 "gbueno86/Meta-LLama-3-Instruct-Chonky-120b" \ --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": "gbueno86/Meta-LLama-3-Instruct-Chonky-120b", "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 "gbueno86/Meta-LLama-3-Instruct-Chonky-120b" \ --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": "gbueno86/Meta-LLama-3-Instruct-Chonky-120b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use gbueno86/Meta-LLama-3-Instruct-Chonky-120b with Docker Model Runner:
docker model run hf.co/gbueno86/Meta-LLama-3-Instruct-Chonky-120b
Commit History
-
Update README.md
Verified signature73e8291
-
Upload model-00025-of-00025.safetensors with huggingface_hub
Verified signaturec92b6a3 -
Upload model-00024-of-00025.safetensors with huggingface_hub
Verified signaturecd6cc0a -
Upload model-00023-of-00025.safetensors with huggingface_hub
Verified signature07a715a -
Upload model-00022-of-00025.safetensors with huggingface_hub
Verified signaturea6d9c66 -
Upload model-00021-of-00025.safetensors with huggingface_hub
Verified signaturebb70077 -
Upload model-00020-of-00025.safetensors with huggingface_hub
Verified signature3353856 -
Upload model-00019-of-00025.safetensors with huggingface_hub
Verified signature8608764 -
Upload model-00018-of-00025.safetensors with huggingface_hub
Verified signature9948cd7 -
Upload model-00017-of-00025.safetensors with huggingface_hub
Verified signature487f2cb -
Upload model-00016-of-00025.safetensors with huggingface_hub
Verified signatureca87a4b -
Upload model-00015-of-00025.safetensors with huggingface_hub
Verified signatured70b634 -
Upload model-00014-of-00025.safetensors with huggingface_hub
Verified signatured993991 -
Upload model-00013-of-00025.safetensors with huggingface_hub
Verified signature98b4abe -
Upload model-00012-of-00025.safetensors with huggingface_hub
Verified signatureaa42cd1 -
Upload model-00011-of-00025.safetensors with huggingface_hub
Verified signatureb8d304f -
Upload model-00010-of-00025.safetensors with huggingface_hub
Verified signature79ceb0c -
Upload model-00009-of-00025.safetensors with huggingface_hub
Verified signatureec70250 -
Upload model-00008-of-00025.safetensors with huggingface_hub
Verified signatured4790ae -
Upload model-00007-of-00025.safetensors with huggingface_hub
Verified signature924cc45 -
Upload model-00006-of-00025.safetensors with huggingface_hub
Verified signature4a62325 -
Upload tokenizer_config.json with huggingface_hub
Verified signature7be48ef -
Upload tokenizer.json with huggingface_hub
Verified signature9afb4db -
Upload special_tokens_map.json with huggingface_hub
Verified signaturef978013 -
Upload model.safetensors.index.json with huggingface_hub
Verified signaturebdc29c6 -
Upload mergekit_config.yml with huggingface_hub
Verified signatureec18672 -
Upload config.json with huggingface_hub
Verified signaturef0ff601 -
Upload README.md with huggingface_hub
Verified signatureb82c205 -
Upload tokenizer_config.json with huggingface_hub
Verified signature0ad503f -
Upload README.md with huggingface_hub
Verified signaturece807e2 -
Upload model-00005-of-00025.safetensors
Verified signature98e6d6d -
Upload model-00004-of-00025.safetensors
Verified signatured5b2f14 -
Upload model-00003-of-00025.safetensors
Verified signatureb501c83 -
Upload model-00002-of-00025.safetensors
Verified signature51082c6 -
Upload model-00001-of-00025.safetensors
Verified signature95b8b5b -
initial commit
Verified signaturec4a6393