Text Generation
Transformers
Safetensors
English
qwen2
opus
elite
calcium
trl
qwen
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use prithivMLmods/Calcium-Opus-14B-Elite2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Calcium-Opus-14B-Elite2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="prithivMLmods/Calcium-Opus-14B-Elite2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("prithivMLmods/Calcium-Opus-14B-Elite2") model = AutoModelForCausalLM.from_pretrained("prithivMLmods/Calcium-Opus-14B-Elite2") 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 prithivMLmods/Calcium-Opus-14B-Elite2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/Calcium-Opus-14B-Elite2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Calcium-Opus-14B-Elite2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/prithivMLmods/Calcium-Opus-14B-Elite2
- SGLang
How to use prithivMLmods/Calcium-Opus-14B-Elite2 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 "prithivMLmods/Calcium-Opus-14B-Elite2" \ --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": "prithivMLmods/Calcium-Opus-14B-Elite2", "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 "prithivMLmods/Calcium-Opus-14B-Elite2" \ --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": "prithivMLmods/Calcium-Opus-14B-Elite2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use prithivMLmods/Calcium-Opus-14B-Elite2 with Docker Model Runner:
docker model run hf.co/prithivMLmods/Calcium-Opus-14B-Elite2
Adding Evaluation Results
#2
by prithivMLmods - opened
README.md
CHANGED
|
@@ -216,3 +216,18 @@ Summarized results can be found [here](https://huggingface.co/datasets/open-llm-
|
|
| 216 |
|MuSR (0-shot) | 22.24|
|
| 217 |
|MMLU-PRO (5-shot) | 47.79|
|
| 218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 216 |
|MuSR (0-shot) | 22.24|
|
| 217 |
|MMLU-PRO (5-shot) | 47.79|
|
| 218 |
|
| 219 |
+
|
| 220 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)
|
| 221 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/prithivMLmods__Calcium-Opus-14B-Elite2-details)!
|
| 222 |
+
Summarized results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/contents/viewer/default/train?q=prithivMLmods%2FCalcium-Opus-14B-Elite2&sort[column]=Average%20%E2%AC%86%EF%B8%8F&sort[direction]=desc)!
|
| 223 |
+
|
| 224 |
+
| Metric |Value (%)|
|
| 225 |
+
|-------------------|--------:|
|
| 226 |
+
|**Average** | 40.25|
|
| 227 |
+
|IFEval (0-Shot) | 61.76|
|
| 228 |
+
|BBH (3-Shot) | 46.81|
|
| 229 |
+
|MATH Lvl 5 (4-Shot)| 46.90|
|
| 230 |
+
|GPQA (0-shot) | 16.00|
|
| 231 |
+
|MuSR (0-shot) | 22.24|
|
| 232 |
+
|MMLU-PRO (5-shot) | 47.79|
|
| 233 |
+
|