Text Generation
Transformers
Safetensors
English
llama
axolotl
Generated from Trainer
instruct
finetune
chatml
gpt4
synthetic data
science
physics
chemistry
biology
math
llama3
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use Weyaxi/Einstein-v6.1-Llama3-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Weyaxi/Einstein-v6.1-Llama3-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Weyaxi/Einstein-v6.1-Llama3-8B") 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("Weyaxi/Einstein-v6.1-Llama3-8B") model = AutoModelForCausalLM.from_pretrained("Weyaxi/Einstein-v6.1-Llama3-8B", 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]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Weyaxi/Einstein-v6.1-Llama3-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Weyaxi/Einstein-v6.1-Llama3-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Weyaxi/Einstein-v6.1-Llama3-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Weyaxi/Einstein-v6.1-Llama3-8B
- SGLang
How to use Weyaxi/Einstein-v6.1-Llama3-8B 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 "Weyaxi/Einstein-v6.1-Llama3-8B" \ --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": "Weyaxi/Einstein-v6.1-Llama3-8B", "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 "Weyaxi/Einstein-v6.1-Llama3-8B" \ --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": "Weyaxi/Einstein-v6.1-Llama3-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Weyaxi/Einstein-v6.1-Llama3-8B with Docker Model Runner:
docker model run hf.co/Weyaxi/Einstein-v6.1-Llama3-8B
Commit History
-
Update README.md
Verified signatured842bde
-
Adding Evaluation Results (#5)
Verified signature- Adding Evaluation Results (c2a25d968a72ea856593e49f0d0624ed19b98774) Co-authored-by: Open LLM Leaderboard PR Bot <[email protected]>69c82fd
-
add resources etc. tab to the model card
Verified signature5cab6d5
-
Update Meta Llama3 Link (#3)
Verified signature- Update Meta Llama3 Link (3e5ebd90543fa1d4d909fd621be1247cca22d7b2) Co-authored-by: Kenneth Hamilton <[email protected]>3503ad0
-
minor readme change
Verified signaturea674712
-
Adding AWQ quant (#2)
Verified signature- Adding AWQ quant (6895a644737e5925614570e9ccb587d100ccbcb0) Co-authored-by: Shaun Prince <[email protected]>d7052f6 -
add data section
Verified signature5f93cd2 -
Reformat leaderboard
Verified signature625aa68 -
Adding Evaluation Results (#1)
Verified signature- Adding Evaluation Results (7173a4b2b60baff6590a7c81770187e241bae629) Co-authored-by: Open LLM Leaderboard PR Bot <[email protected]>403c2e2
-
mode card pre 1
Verified signaturec84ec95 -
add data trained to make this model
Verified signature4413631 -
delete details mmlu tinyeval
Verified signature14ad274 -
delete details hellaswag tinyeval
Verified signature80b85aa -
add tinybenchmark scores
Verified signature559e18c -
Delete model.safetensors
Verified signature3416990 -
End of training
Verified signature4cc068f
-
Training in progress, step 1521
Verified signature3cee976
-
Training in progress, step 1014
Verified signatured4b2f12
-
Training in progress, step 507
Verified signatured22b050
-
initial commit
Verified signature50a4e40