Instructions to use HyperbeeAI/Tulpar-7b-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HyperbeeAI/Tulpar-7b-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HyperbeeAI/Tulpar-7b-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("HyperbeeAI/Tulpar-7b-v2") model = AutoModelForCausalLM.from_pretrained("HyperbeeAI/Tulpar-7b-v2") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use HyperbeeAI/Tulpar-7b-v2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HyperbeeAI/Tulpar-7b-v2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HyperbeeAI/Tulpar-7b-v2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/HyperbeeAI/Tulpar-7b-v2
- SGLang
How to use HyperbeeAI/Tulpar-7b-v2 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 "HyperbeeAI/Tulpar-7b-v2" \ --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": "HyperbeeAI/Tulpar-7b-v2", "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 "HyperbeeAI/Tulpar-7b-v2" \ --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": "HyperbeeAI/Tulpar-7b-v2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use HyperbeeAI/Tulpar-7b-v2 with Docker Model Runner:
docker model run hf.co/HyperbeeAI/Tulpar-7b-v2
Adding Evaluation Results
#2
by leaderboard-pr-bot - opened
README.md
CHANGED
|
@@ -1,5 +1,108 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
<p align="center">
|
| 5 |
<img src="https://huggingface.co/HyperbeeAI/Tulpar-7b-v0/resolve/main/tulpar.png" width="360" height="360" >
|
|
@@ -38,3 +141,17 @@ print(tokenizer.decode(output[0]))
|
|
| 38 |
or use ChatML format.
|
| 39 |
# Ethical Considerations and Limitations
|
| 40 |
Tulpar is a technology with potential risks and limitations. This model is finetuned only in English and all language-related scenarios are not covered. As HyperbeeAI, we neither guarantee ethical, accurate, unbiased, objective responses nor endorse its outputs. Before deploying this model, you are advised to make safety tests for your use case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
model-index:
|
| 4 |
+
- name: Tulpar-7b-v2
|
| 5 |
+
results:
|
| 6 |
+
- task:
|
| 7 |
+
type: text-generation
|
| 8 |
+
name: Text Generation
|
| 9 |
+
dataset:
|
| 10 |
+
name: AI2 Reasoning Challenge (25-Shot)
|
| 11 |
+
type: ai2_arc
|
| 12 |
+
config: ARC-Challenge
|
| 13 |
+
split: test
|
| 14 |
+
args:
|
| 15 |
+
num_few_shot: 25
|
| 16 |
+
metrics:
|
| 17 |
+
- type: acc_norm
|
| 18 |
+
value: 67.49
|
| 19 |
+
name: normalized accuracy
|
| 20 |
+
source:
|
| 21 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=HyperbeeAI/Tulpar-7b-v2
|
| 22 |
+
name: Open LLM Leaderboard
|
| 23 |
+
- task:
|
| 24 |
+
type: text-generation
|
| 25 |
+
name: Text Generation
|
| 26 |
+
dataset:
|
| 27 |
+
name: HellaSwag (10-Shot)
|
| 28 |
+
type: hellaswag
|
| 29 |
+
split: validation
|
| 30 |
+
args:
|
| 31 |
+
num_few_shot: 10
|
| 32 |
+
metrics:
|
| 33 |
+
- type: acc_norm
|
| 34 |
+
value: 84.89
|
| 35 |
+
name: normalized accuracy
|
| 36 |
+
source:
|
| 37 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=HyperbeeAI/Tulpar-7b-v2
|
| 38 |
+
name: Open LLM Leaderboard
|
| 39 |
+
- task:
|
| 40 |
+
type: text-generation
|
| 41 |
+
name: Text Generation
|
| 42 |
+
dataset:
|
| 43 |
+
name: MMLU (5-Shot)
|
| 44 |
+
type: cais/mmlu
|
| 45 |
+
config: all
|
| 46 |
+
split: test
|
| 47 |
+
args:
|
| 48 |
+
num_few_shot: 5
|
| 49 |
+
metrics:
|
| 50 |
+
- type: acc
|
| 51 |
+
value: 63.02
|
| 52 |
+
name: accuracy
|
| 53 |
+
source:
|
| 54 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=HyperbeeAI/Tulpar-7b-v2
|
| 55 |
+
name: Open LLM Leaderboard
|
| 56 |
+
- task:
|
| 57 |
+
type: text-generation
|
| 58 |
+
name: Text Generation
|
| 59 |
+
dataset:
|
| 60 |
+
name: TruthfulQA (0-shot)
|
| 61 |
+
type: truthful_qa
|
| 62 |
+
config: multiple_choice
|
| 63 |
+
split: validation
|
| 64 |
+
args:
|
| 65 |
+
num_few_shot: 0
|
| 66 |
+
metrics:
|
| 67 |
+
- type: mc2
|
| 68 |
+
value: 63.65
|
| 69 |
+
source:
|
| 70 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=HyperbeeAI/Tulpar-7b-v2
|
| 71 |
+
name: Open LLM Leaderboard
|
| 72 |
+
- task:
|
| 73 |
+
type: text-generation
|
| 74 |
+
name: Text Generation
|
| 75 |
+
dataset:
|
| 76 |
+
name: Winogrande (5-shot)
|
| 77 |
+
type: winogrande
|
| 78 |
+
config: winogrande_xl
|
| 79 |
+
split: validation
|
| 80 |
+
args:
|
| 81 |
+
num_few_shot: 5
|
| 82 |
+
metrics:
|
| 83 |
+
- type: acc
|
| 84 |
+
value: 79.48
|
| 85 |
+
name: accuracy
|
| 86 |
+
source:
|
| 87 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=HyperbeeAI/Tulpar-7b-v2
|
| 88 |
+
name: Open LLM Leaderboard
|
| 89 |
+
- task:
|
| 90 |
+
type: text-generation
|
| 91 |
+
name: Text Generation
|
| 92 |
+
dataset:
|
| 93 |
+
name: GSM8k (5-shot)
|
| 94 |
+
type: gsm8k
|
| 95 |
+
config: main
|
| 96 |
+
split: test
|
| 97 |
+
args:
|
| 98 |
+
num_few_shot: 5
|
| 99 |
+
metrics:
|
| 100 |
+
- type: acc
|
| 101 |
+
value: 63.61
|
| 102 |
+
name: accuracy
|
| 103 |
+
source:
|
| 104 |
+
url: https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=HyperbeeAI/Tulpar-7b-v2
|
| 105 |
+
name: Open LLM Leaderboard
|
| 106 |
---
|
| 107 |
<p align="center">
|
| 108 |
<img src="https://huggingface.co/HyperbeeAI/Tulpar-7b-v0/resolve/main/tulpar.png" width="360" height="360" >
|
|
|
|
| 141 |
or use ChatML format.
|
| 142 |
# Ethical Considerations and Limitations
|
| 143 |
Tulpar is a technology with potential risks and limitations. This model is finetuned only in English and all language-related scenarios are not covered. As HyperbeeAI, we neither guarantee ethical, accurate, unbiased, objective responses nor endorse its outputs. Before deploying this model, you are advised to make safety tests for your use case.
|
| 144 |
+
|
| 145 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
| 146 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_HyperbeeAI__Tulpar-7b-v2)
|
| 147 |
+
|
| 148 |
+
| Metric |Value|
|
| 149 |
+
|---------------------------------|----:|
|
| 150 |
+
|Avg. |70.36|
|
| 151 |
+
|AI2 Reasoning Challenge (25-Shot)|67.49|
|
| 152 |
+
|HellaSwag (10-Shot) |84.89|
|
| 153 |
+
|MMLU (5-Shot) |63.02|
|
| 154 |
+
|TruthfulQA (0-shot) |63.65|
|
| 155 |
+
|Winogrande (5-shot) |79.48|
|
| 156 |
+
|GSM8k (5-shot) |63.61|
|
| 157 |
+
|