Text Generation
Transformers
Safetensors
English
llama
llama3.1
llama3
meta
70b
science
physics
biology
chemistry
compsci
computer-science
engineering
logic
rationality
advanced
expert
technical
conversational
chat
instruct
mergekit
Merge
Eval Results (legacy)
text-generation-inference
Instructions to use sequelbox/Llama3.1-70B-PlumChat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sequelbox/Llama3.1-70B-PlumChat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="sequelbox/Llama3.1-70B-PlumChat") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("sequelbox/Llama3.1-70B-PlumChat") model = AutoModelForCausalLM.from_pretrained("sequelbox/Llama3.1-70B-PlumChat", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use sequelbox/Llama3.1-70B-PlumChat with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sequelbox/Llama3.1-70B-PlumChat" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sequelbox/Llama3.1-70B-PlumChat", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/sequelbox/Llama3.1-70B-PlumChat
- SGLang
How to use sequelbox/Llama3.1-70B-PlumChat 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 "sequelbox/Llama3.1-70B-PlumChat" \ --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": "sequelbox/Llama3.1-70B-PlumChat", "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 "sequelbox/Llama3.1-70B-PlumChat" \ --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": "sequelbox/Llama3.1-70B-PlumChat", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use sequelbox/Llama3.1-70B-PlumChat with Docker Model Runner:
docker model run hf.co/sequelbox/Llama3.1-70B-PlumChat
link
Browse files
README.md
CHANGED
|
@@ -192,7 +192,7 @@ model-index:
|
|
| 192 |
value: 56.16
|
| 193 |
name: strict accuracy
|
| 194 |
source:
|
| 195 |
-
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=
|
| 196 |
name: Open LLM Leaderboard
|
| 197 |
- task:
|
| 198 |
type: text-generation
|
|
@@ -207,7 +207,7 @@ model-index:
|
|
| 207 |
value: 52.81
|
| 208 |
name: normalized accuracy
|
| 209 |
source:
|
| 210 |
-
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=
|
| 211 |
name: Open LLM Leaderboard
|
| 212 |
- task:
|
| 213 |
type: text-generation
|
|
@@ -222,7 +222,7 @@ model-index:
|
|
| 222 |
value: 29.98
|
| 223 |
name: exact match
|
| 224 |
source:
|
| 225 |
-
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=
|
| 226 |
name: Open LLM Leaderboard
|
| 227 |
- task:
|
| 228 |
type: text-generation
|
|
@@ -237,7 +237,7 @@ model-index:
|
|
| 237 |
value: 18.79
|
| 238 |
name: acc_norm
|
| 239 |
source:
|
| 240 |
-
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=
|
| 241 |
name: Open LLM Leaderboard
|
| 242 |
- task:
|
| 243 |
type: text-generation
|
|
@@ -252,7 +252,7 @@ model-index:
|
|
| 252 |
value: 20.14
|
| 253 |
name: acc_norm
|
| 254 |
source:
|
| 255 |
-
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=
|
| 256 |
name: Open LLM Leaderboard
|
| 257 |
- task:
|
| 258 |
type: text-generation
|
|
@@ -269,7 +269,7 @@ model-index:
|
|
| 269 |
value: 46.26
|
| 270 |
name: accuracy
|
| 271 |
source:
|
| 272 |
-
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=
|
| 273 |
name: Open LLM Leaderboard
|
| 274 |
|
| 275 |
---
|
|
|
|
| 192 |
value: 56.16
|
| 193 |
name: strict accuracy
|
| 194 |
source:
|
| 195 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=sequelbox/Llama3.1-8B-PlumChat
|
| 196 |
name: Open LLM Leaderboard
|
| 197 |
- task:
|
| 198 |
type: text-generation
|
|
|
|
| 207 |
value: 52.81
|
| 208 |
name: normalized accuracy
|
| 209 |
source:
|
| 210 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=sequelbox/Llama3.1-8B-PlumChat
|
| 211 |
name: Open LLM Leaderboard
|
| 212 |
- task:
|
| 213 |
type: text-generation
|
|
|
|
| 222 |
value: 29.98
|
| 223 |
name: exact match
|
| 224 |
source:
|
| 225 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=sequelbox/Llama3.1-8B-PlumChat
|
| 226 |
name: Open LLM Leaderboard
|
| 227 |
- task:
|
| 228 |
type: text-generation
|
|
|
|
| 237 |
value: 18.79
|
| 238 |
name: acc_norm
|
| 239 |
source:
|
| 240 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=sequelbox/Llama3.1-8B-PlumChat
|
| 241 |
name: Open LLM Leaderboard
|
| 242 |
- task:
|
| 243 |
type: text-generation
|
|
|
|
| 252 |
value: 20.14
|
| 253 |
name: acc_norm
|
| 254 |
source:
|
| 255 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=sequelbox/Llama3.1-8B-PlumChat
|
| 256 |
name: Open LLM Leaderboard
|
| 257 |
- task:
|
| 258 |
type: text-generation
|
|
|
|
| 269 |
value: 46.26
|
| 270 |
name: accuracy
|
| 271 |
source:
|
| 272 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=sequelbox/Llama3.1-8B-PlumChat
|
| 273 |
name: Open LLM Leaderboard
|
| 274 |
|
| 275 |
---
|