Text Generation
Transformers
Safetensors
English
mistral
axolotl
dpo
trl
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use HumanLLMs/Human-Like-Mistral-Nemo-Instruct-2407 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HumanLLMs/Human-Like-Mistral-Nemo-Instruct-2407 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HumanLLMs/Human-Like-Mistral-Nemo-Instruct-2407") 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("HumanLLMs/Human-Like-Mistral-Nemo-Instruct-2407") model = AutoModelForCausalLM.from_pretrained("HumanLLMs/Human-Like-Mistral-Nemo-Instruct-2407", 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 HumanLLMs/Human-Like-Mistral-Nemo-Instruct-2407 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HumanLLMs/Human-Like-Mistral-Nemo-Instruct-2407" # 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-Mistral-Nemo-Instruct-2407", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/HumanLLMs/Human-Like-Mistral-Nemo-Instruct-2407
- SGLang
How to use HumanLLMs/Human-Like-Mistral-Nemo-Instruct-2407 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-Mistral-Nemo-Instruct-2407" \ --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-Mistral-Nemo-Instruct-2407", "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-Mistral-Nemo-Instruct-2407" \ --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-Mistral-Nemo-Instruct-2407", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use HumanLLMs/Human-Like-Mistral-Nemo-Instruct-2407 with Docker Model Runner:
docker model run hf.co/HumanLLMs/Human-Like-Mistral-Nemo-Instruct-2407
metadata minor
Browse files
README.md
CHANGED
|
@@ -22,7 +22,8 @@ model-index:
|
|
| 22 |
value: 54.51
|
| 23 |
name: strict accuracy
|
| 24 |
source:
|
| 25 |
-
url:
|
|
|
|
| 26 |
name: Open LLM Leaderboard
|
| 27 |
- task:
|
| 28 |
type: text-generation
|
|
@@ -37,7 +38,8 @@ model-index:
|
|
| 37 |
value: 32.71
|
| 38 |
name: normalized accuracy
|
| 39 |
source:
|
| 40 |
-
url:
|
|
|
|
| 41 |
name: Open LLM Leaderboard
|
| 42 |
- task:
|
| 43 |
type: text-generation
|
|
@@ -52,7 +54,8 @@ model-index:
|
|
| 52 |
value: 7.63
|
| 53 |
name: exact match
|
| 54 |
source:
|
| 55 |
-
url:
|
|
|
|
| 56 |
name: Open LLM Leaderboard
|
| 57 |
- task:
|
| 58 |
type: text-generation
|
|
@@ -67,7 +70,8 @@ model-index:
|
|
| 67 |
value: 5.03
|
| 68 |
name: acc_norm
|
| 69 |
source:
|
| 70 |
-
url:
|
|
|
|
| 71 |
name: Open LLM Leaderboard
|
| 72 |
- task:
|
| 73 |
type: text-generation
|
|
@@ -82,7 +86,8 @@ model-index:
|
|
| 82 |
value: 9.4
|
| 83 |
name: acc_norm
|
| 84 |
source:
|
| 85 |
-
url:
|
|
|
|
| 86 |
name: Open LLM Leaderboard
|
| 87 |
- task:
|
| 88 |
type: text-generation
|
|
@@ -99,8 +104,13 @@ model-index:
|
|
| 99 |
value: 28.01
|
| 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" />
|
|
|
|
| 22 |
value: 54.51
|
| 23 |
name: strict accuracy
|
| 24 |
source:
|
| 25 |
+
url: >-
|
| 26 |
+
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=HumanLLMs/Humanish-Mistral-Nemo-Instruct-2407
|
| 27 |
name: Open LLM Leaderboard
|
| 28 |
- task:
|
| 29 |
type: text-generation
|
|
|
|
| 38 |
value: 32.71
|
| 39 |
name: normalized accuracy
|
| 40 |
source:
|
| 41 |
+
url: >-
|
| 42 |
+
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=HumanLLMs/Humanish-Mistral-Nemo-Instruct-2407
|
| 43 |
name: Open LLM Leaderboard
|
| 44 |
- task:
|
| 45 |
type: text-generation
|
|
|
|
| 54 |
value: 7.63
|
| 55 |
name: exact match
|
| 56 |
source:
|
| 57 |
+
url: >-
|
| 58 |
+
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=HumanLLMs/Humanish-Mistral-Nemo-Instruct-2407
|
| 59 |
name: Open LLM Leaderboard
|
| 60 |
- task:
|
| 61 |
type: text-generation
|
|
|
|
| 70 |
value: 5.03
|
| 71 |
name: acc_norm
|
| 72 |
source:
|
| 73 |
+
url: >-
|
| 74 |
+
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=HumanLLMs/Humanish-Mistral-Nemo-Instruct-2407
|
| 75 |
name: Open LLM Leaderboard
|
| 76 |
- task:
|
| 77 |
type: text-generation
|
|
|
|
| 86 |
value: 9.4
|
| 87 |
name: acc_norm
|
| 88 |
source:
|
| 89 |
+
url: >-
|
| 90 |
+
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=HumanLLMs/Humanish-Mistral-Nemo-Instruct-2407
|
| 91 |
name: Open LLM Leaderboard
|
| 92 |
- task:
|
| 93 |
type: text-generation
|
|
|
|
| 104 |
value: 28.01
|
| 105 |
name: accuracy
|
| 106 |
source:
|
| 107 |
+
url: >-
|
| 108 |
+
https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=HumanLLMs/Humanish-Mistral-Nemo-Instruct-2407
|
| 109 |
name: Open LLM Leaderboard
|
| 110 |
+
datasets:
|
| 111 |
+
- HumanLLMs/Human-Like-DPO-Dataset
|
| 112 |
+
language:
|
| 113 |
+
- en
|
| 114 |
---
|
| 115 |
<div align="center">
|
| 116 |
<img src="https://cdn-avatars.huggingface.co/v1/production/uploads/63da3d7ae697e5898cb86854/H-vpXOX6KZu01HnV87Jk5.jpeg" width="320" height="320" />
|