Text Generation
Transformers
Safetensors
English
qwen2
axolotl
dpo
trl
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use HumanLLMs/Human-Like-Qwen2.5-7B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HumanLLMs/Human-Like-Qwen2.5-7B-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HumanLLMs/Human-Like-Qwen2.5-7B-Instruct") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("HumanLLMs/Human-Like-Qwen2.5-7B-Instruct") model = AutoModelForCausalLM.from_pretrained("HumanLLMs/Human-Like-Qwen2.5-7B-Instruct", 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 HumanLLMs/Human-Like-Qwen2.5-7B-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HumanLLMs/Human-Like-Qwen2.5-7B-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HumanLLMs/Human-Like-Qwen2.5-7B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/HumanLLMs/Human-Like-Qwen2.5-7B-Instruct
- SGLang
How to use HumanLLMs/Human-Like-Qwen2.5-7B-Instruct 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 "HumanLLMs/Human-Like-Qwen2.5-7B-Instruct" \ --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": "HumanLLMs/Human-Like-Qwen2.5-7B-Instruct", "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 "HumanLLMs/Human-Like-Qwen2.5-7B-Instruct" \ --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": "HumanLLMs/Human-Like-Qwen2.5-7B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use HumanLLMs/Human-Like-Qwen2.5-7B-Instruct with Docker Model Runner:
docker model run hf.co/HumanLLMs/Human-Like-Qwen2.5-7B-Instruct
readme minor change
Browse files
README.md
CHANGED
|
@@ -4,7 +4,6 @@ tags:
|
|
| 4 |
- axolotl
|
| 5 |
- dpo
|
| 6 |
- trl
|
| 7 |
-
- generated_from_trainer
|
| 8 |
base_model: Qwen/Qwen2.5-7B-Instruct
|
| 9 |
model-index:
|
| 10 |
- name: Humanish-Qwen2.5-7B-Instruct
|
|
@@ -22,7 +21,8 @@ model-index:
|
|
| 22 |
value: 72.84
|
| 23 |
name: strict accuracy
|
| 24 |
source:
|
| 25 |
-
url:
|
|
|
|
| 26 |
name: Open LLM Leaderboard
|
| 27 |
- task:
|
| 28 |
type: text-generation
|
|
@@ -37,7 +37,8 @@ model-index:
|
|
| 37 |
value: 34.48
|
| 38 |
name: normalized accuracy
|
| 39 |
source:
|
| 40 |
-
url:
|
|
|
|
| 41 |
name: Open LLM Leaderboard
|
| 42 |
- task:
|
| 43 |
type: text-generation
|
|
@@ -49,10 +50,11 @@ model-index:
|
|
| 49 |
num_few_shot: 4
|
| 50 |
metrics:
|
| 51 |
- type: exact_match
|
| 52 |
-
value: 0
|
| 53 |
name: exact match
|
| 54 |
source:
|
| 55 |
-
url:
|
|
|
|
| 56 |
name: Open LLM Leaderboard
|
| 57 |
- task:
|
| 58 |
type: text-generation
|
|
@@ -67,7 +69,8 @@ model-index:
|
|
| 67 |
value: 6.49
|
| 68 |
name: acc_norm
|
| 69 |
source:
|
| 70 |
-
url:
|
|
|
|
| 71 |
name: Open LLM Leaderboard
|
| 72 |
- task:
|
| 73 |
type: text-generation
|
|
@@ -82,7 +85,8 @@ model-index:
|
|
| 82 |
value: 8.42
|
| 83 |
name: acc_norm
|
| 84 |
source:
|
| 85 |
-
url:
|
|
|
|
| 86 |
name: Open LLM Leaderboard
|
| 87 |
- task:
|
| 88 |
type: text-generation
|
|
@@ -99,8 +103,13 @@ model-index:
|
|
| 99 |
value: 37.76
|
| 100 |
name: accuracy
|
| 101 |
source:
|
| 102 |
-
url:
|
|
|
|
| 103 |
name: Open LLM Leaderboard
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
---
|
| 105 |
<div align="center">
|
| 106 |
<img src="https://cdn-avatars.huggingface.co/v1/production/uploads/63da3d7ae697e5898cb86854/H-vpXOX6KZu01HnV87Jk5.jpeg" width="320" height="320" />
|
|
@@ -287,4 +296,4 @@ More details on the dataset creation process can be found in the accompanying re
|
|
| 287 |
primaryClass={cs.CL},
|
| 288 |
url={https://arxiv.org/abs/2501.05032},
|
| 289 |
}
|
| 290 |
-
```
|
|
|
|
| 4 |
- axolotl
|
| 5 |
- dpo
|
| 6 |
- trl
|
|
|
|
| 7 |
base_model: Qwen/Qwen2.5-7B-Instruct
|
| 8 |
model-index:
|
| 9 |
- name: Humanish-Qwen2.5-7B-Instruct
|
|
|
|
| 21 |
value: 72.84
|
| 22 |
name: strict accuracy
|
| 23 |
source:
|
| 24 |
+
url: >-
|
| 25 |
+
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=HumanLLMs/Humanish-Qwen2.5-7B-Instruct
|
| 26 |
name: Open LLM Leaderboard
|
| 27 |
- task:
|
| 28 |
type: text-generation
|
|
|
|
| 37 |
value: 34.48
|
| 38 |
name: normalized accuracy
|
| 39 |
source:
|
| 40 |
+
url: >-
|
| 41 |
+
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=HumanLLMs/Humanish-Qwen2.5-7B-Instruct
|
| 42 |
name: Open LLM Leaderboard
|
| 43 |
- task:
|
| 44 |
type: text-generation
|
|
|
|
| 50 |
num_few_shot: 4
|
| 51 |
metrics:
|
| 52 |
- type: exact_match
|
| 53 |
+
value: 0
|
| 54 |
name: exact match
|
| 55 |
source:
|
| 56 |
+
url: >-
|
| 57 |
+
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=HumanLLMs/Humanish-Qwen2.5-7B-Instruct
|
| 58 |
name: Open LLM Leaderboard
|
| 59 |
- task:
|
| 60 |
type: text-generation
|
|
|
|
| 69 |
value: 6.49
|
| 70 |
name: acc_norm
|
| 71 |
source:
|
| 72 |
+
url: >-
|
| 73 |
+
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=HumanLLMs/Humanish-Qwen2.5-7B-Instruct
|
| 74 |
name: Open LLM Leaderboard
|
| 75 |
- task:
|
| 76 |
type: text-generation
|
|
|
|
| 85 |
value: 8.42
|
| 86 |
name: acc_norm
|
| 87 |
source:
|
| 88 |
+
url: >-
|
| 89 |
+
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=HumanLLMs/Humanish-Qwen2.5-7B-Instruct
|
| 90 |
name: Open LLM Leaderboard
|
| 91 |
- task:
|
| 92 |
type: text-generation
|
|
|
|
| 103 |
value: 37.76
|
| 104 |
name: accuracy
|
| 105 |
source:
|
| 106 |
+
url: >-
|
| 107 |
+
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=HumanLLMs/Humanish-Qwen2.5-7B-Instruct
|
| 108 |
name: Open LLM Leaderboard
|
| 109 |
+
datasets:
|
| 110 |
+
- HumanLLMs/Human-Like-DPO-Dataset
|
| 111 |
+
language:
|
| 112 |
+
- en
|
| 113 |
---
|
| 114 |
<div align="center">
|
| 115 |
<img src="https://cdn-avatars.huggingface.co/v1/production/uploads/63da3d7ae697e5898cb86854/H-vpXOX6KZu01HnV87Jk5.jpeg" width="320" height="320" />
|
|
|
|
| 296 |
primaryClass={cs.CL},
|
| 297 |
url={https://arxiv.org/abs/2501.05032},
|
| 298 |
}
|
| 299 |
+
```
|