Instructions to use ohyeah1/Human-like-nemo-light with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ohyeah1/Human-like-nemo-light with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ohyeah1/Human-like-nemo-light")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ohyeah1/Human-like-nemo-light") model = AutoModelForCausalLM.from_pretrained("ohyeah1/Human-like-nemo-light") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ohyeah1/Human-like-nemo-light with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ohyeah1/Human-like-nemo-light" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ohyeah1/Human-like-nemo-light", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ohyeah1/Human-like-nemo-light
- SGLang
How to use ohyeah1/Human-like-nemo-light 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 "ohyeah1/Human-like-nemo-light" \ --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": "ohyeah1/Human-like-nemo-light", "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 "ohyeah1/Human-like-nemo-light" \ --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": "ohyeah1/Human-like-nemo-light", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ohyeah1/Human-like-nemo-light with Docker Model Runner:
docker model run hf.co/ohyeah1/Human-like-nemo-light
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,41 +1,41 @@
|
|
| 1 |
-
---
|
| 2 |
-
base_model: []
|
| 3 |
-
library_name: transformers
|
| 4 |
-
tags:
|
| 5 |
-
- mergekit
|
| 6 |
-
- merge
|
| 7 |
-
|
| 8 |
-
---
|
| 9 |
-
|
| 10 |
-
Human-like model. A good tradeoff between intelligence and human-like
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
The following YAML configuration was used to produce this model:
|
| 15 |
-
|
| 16 |
-
```yaml
|
| 17 |
-
models:
|
| 18 |
-
- model: Francois-PE-12B
|
| 19 |
-
parameters:
|
| 20 |
-
weight: 0.3
|
| 21 |
-
density: 0.4
|
| 22 |
-
- model: Nera_Noctis-12B
|
| 23 |
-
parameters:
|
| 24 |
-
weight: 0.3
|
| 25 |
-
density: 0.4
|
| 26 |
-
- model: BlueLight-12B
|
| 27 |
-
parameters:
|
| 28 |
-
weight: 0.5
|
| 29 |
-
density: 0.8
|
| 30 |
-
base_model:
|
| 31 |
-
parameters:
|
| 32 |
-
lambda: 1.0
|
| 33 |
-
epsilon: 0.1
|
| 34 |
-
rescale: true
|
| 35 |
-
normalize: false
|
| 36 |
-
int8_mask: true
|
| 37 |
-
merge_method: della_linear
|
| 38 |
-
tokenizer:
|
| 39 |
-
source: union
|
| 40 |
-
dtype: bfloat16
|
| 41 |
-
```
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: []
|
| 3 |
+
library_name: transformers
|
| 4 |
+
tags:
|
| 5 |
+
- mergekit
|
| 6 |
+
- merge
|
| 7 |
+
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
Human-like model. A good tradeoff between intelligence and human-like
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
The following YAML configuration was used to produce this model:
|
| 15 |
+
|
| 16 |
+
```yaml
|
| 17 |
+
models:
|
| 18 |
+
- model: Francois-PE-12B
|
| 19 |
+
parameters:
|
| 20 |
+
weight: 0.3
|
| 21 |
+
density: 0.4
|
| 22 |
+
- model: Nera_Noctis-12B
|
| 23 |
+
parameters:
|
| 24 |
+
weight: 0.3
|
| 25 |
+
density: 0.4
|
| 26 |
+
- model: BlueLight-12B
|
| 27 |
+
parameters:
|
| 28 |
+
weight: 0.5
|
| 29 |
+
density: 0.8
|
| 30 |
+
base_model: Mistral-Nemo-Base-2407
|
| 31 |
+
parameters:
|
| 32 |
+
lambda: 1.0
|
| 33 |
+
epsilon: 0.1
|
| 34 |
+
rescale: true
|
| 35 |
+
normalize: false
|
| 36 |
+
int8_mask: true
|
| 37 |
+
merge_method: della_linear
|
| 38 |
+
tokenizer:
|
| 39 |
+
source: union
|
| 40 |
+
dtype: bfloat16
|
| 41 |
+
```
|