HERMES
Safetensors
English
qwen2
ai-evaluation
mathematics
chain-of-thought
hermes-format
post-trained
anti-hallucination
Instructions to use ray0rf1re/hyper-Nix.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- HERMES
How to use ray0rf1re/hyper-Nix.2 with HERMES:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload 8 files
Browse files- README(1).md +76 -0
- model.safetensors +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +29 -0
README(1).md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
datasets:
|
| 3 |
+
- ray0rf1re/FineWeb-Nano
|
| 4 |
+
- Nix-ai/Cat-v2.8
|
| 5 |
+
- databricks/databricks-dolly-15k
|
| 6 |
+
- allenai/ai2_arc
|
| 7 |
+
- lighteval/MATH-Hard
|
| 8 |
+
- tatsu-lab/alpaca
|
| 9 |
+
- HuggingFaceTB/smoltalk
|
| 10 |
+
- openai/gsm8k
|
| 11 |
+
language:
|
| 12 |
+
- en
|
| 13 |
+
license: other
|
| 14 |
+
license_name: hyper-v2
|
| 15 |
+
tags:
|
| 16 |
+
- ai-evaluation
|
| 17 |
+
- mathematics
|
| 18 |
+
- trigonometry
|
| 19 |
+
- calculus
|
| 20 |
+
- algebra
|
| 21 |
+
- qwen2
|
| 22 |
+
- causal-lm
|
| 23 |
+
- trained-from-scratch
|
| 24 |
+
base_model: none
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# HyperNix.2
|
| 28 |
+
|
| 29 |
+
**Version:** 0.2
|
| 30 |
+
**Parameters:** 101,370,880 (~101.37 M)
|
| 31 |
+
**Architecture:** Qwen 2.5-style decoder-only transformer (trained **from scratch**)
|
| 32 |
+
|
| 33 |
+
## What can it do?
|
| 34 |
+
|
| 35 |
+
| Domain | Capability |
|
| 36 |
+
|---|---|
|
| 37 |
+
| AI Evaluation | Test, evaluate, grade and rate other AI model outputs |
|
| 38 |
+
| Mathematics | Full Trigonometry, Calculus (limits/derivatives/integrals), Algebra 1 & 2 |
|
| 39 |
+
| English | Fluent conversational English |
|
| 40 |
+
|
| 41 |
+
## Architecture
|
| 42 |
+
|
| 43 |
+
| Hyperparameter | Value |
|
| 44 |
+
|---|---|
|
| 45 |
+
| `vocab_size` | 151,936 (Qwen 2.5 tokenizer) |
|
| 46 |
+
| `hidden_size` | 512 |
|
| 47 |
+
| `intermediate_size` | 1,193 (SwiGLU) |
|
| 48 |
+
| `num_hidden_layers` | 9 |
|
| 49 |
+
| `num_attention_heads` | 8 |
|
| 50 |
+
| `num_key_value_heads` | 4 (GQA) |
|
| 51 |
+
| `max_position_embeddings` | 2,048 |
|
| 52 |
+
| `tie_word_embeddings` | True |
|
| 53 |
+
| Total parameters | **101,370,880** |
|
| 54 |
+
|
| 55 |
+
## Training
|
| 56 |
+
|
| 57 |
+
- Hardware: Single NVIDIA GTX 1080 (8 GB VRAM)
|
| 58 |
+
- Precision: FP16 + gradient checkpointing
|
| 59 |
+
- Optimizer: AdamW (lr=3e-4, cosine decay)
|
| 60 |
+
- This is **not** a LoRA or fine-tune — all weights are randomly initialised and trained from scratch.
|
| 61 |
+
|
| 62 |
+
## Usage
|
| 63 |
+
|
| 64 |
+
```python
|
| 65 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 66 |
+
import torch
|
| 67 |
+
|
| 68 |
+
tokenizer = AutoTokenizer.from_pretrained("ray0rf1re/hyper-Nix.2")
|
| 69 |
+
model = AutoModelForCausalLM.from_pretrained("ray0rf1re/hyper-Nix.2", torch_dtype=torch.float16)
|
| 70 |
+
|
| 71 |
+
prompt = "<|im_start|>user\nEvaluate this AI response: The capital of France is London.<|im_end|>\n<|im_start|>assistant\n"
|
| 72 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
| 73 |
+
with torch.no_grad():
|
| 74 |
+
out = model.generate(**inputs, max_new_tokens=200, temperature=0.7)
|
| 75 |
+
print(tokenizer.decode(out[0], skip_special_tokens=False))
|
| 76 |
+
```
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3de485dbfafa5c3abed8c5f81a9f64ab8f067f2e321454c935f9a2c0d90a28e
|
| 3 |
+
size 405532464
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
|
| 3 |
+
size 11421892
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": null,
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|endoftext|>",
|
| 7 |
+
"errors": "replace",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"<|im_start|>",
|
| 10 |
+
"<|im_end|>",
|
| 11 |
+
"<|object_ref_start|>",
|
| 12 |
+
"<|object_ref_end|>",
|
| 13 |
+
"<|box_start|>",
|
| 14 |
+
"<|box_end|>",
|
| 15 |
+
"<|quad_start|>",
|
| 16 |
+
"<|quad_end|>",
|
| 17 |
+
"<|vision_start|>",
|
| 18 |
+
"<|vision_end|>",
|
| 19 |
+
"<|vision_pad|>",
|
| 20 |
+
"<|image_pad|>",
|
| 21 |
+
"<|video_pad|>"
|
| 22 |
+
],
|
| 23 |
+
"is_local": false,
|
| 24 |
+
"model_max_length": 131072,
|
| 25 |
+
"pad_token": "<|endoftext|>",
|
| 26 |
+
"split_special_tokens": false,
|
| 27 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 28 |
+
"unk_token": null
|
| 29 |
+
}
|