Text Generation
Transformers
Safetensors
English
lfm2_moe
reasoning
math
coding
instruction-tuned
chat
generalist
surpem
conversational
Instructions to use Surpem/Supertron2.1-8B-A1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Surpem/Supertron2.1-8B-A1B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Surpem/Supertron2.1-8B-A1B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Surpem/Supertron2.1-8B-A1B") model = AutoModelForCausalLM.from_pretrained("Surpem/Supertron2.1-8B-A1B", 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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Surpem/Supertron2.1-8B-A1B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Surpem/Supertron2.1-8B-A1B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Surpem/Supertron2.1-8B-A1B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Surpem/Supertron2.1-8B-A1B
- SGLang
How to use Surpem/Supertron2.1-8B-A1B 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 "Surpem/Supertron2.1-8B-A1B" \ --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": "Surpem/Supertron2.1-8B-A1B", "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 "Surpem/Supertron2.1-8B-A1B" \ --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": "Surpem/Supertron2.1-8B-A1B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Surpem/Supertron2.1-8B-A1B with Docker Model Runner:
docker model run hf.co/Surpem/Supertron2.1-8B-A1B
Upload Supertron-2.1-8B-A1B
Browse files- .gitattributes +1 -0
- README.md +61 -0
- chat_template.jinja +115 -0
- config.json +61 -0
- generation_config.json +10 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +0 -0
- tokenizer.json +3 -0
- tokenizer_config.json +12 -0
- training_report.json +25 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model:
|
| 6 |
+
- LiquidAI/LFM2.5-8B-A1B
|
| 7 |
+
pipeline_tag: text-generation
|
| 8 |
+
library_name: transformers
|
| 9 |
+
tags:
|
| 10 |
+
- generalist
|
| 11 |
+
- instruction-tuned
|
| 12 |
+
- math
|
| 13 |
+
- coding
|
| 14 |
+
- reasoning
|
| 15 |
+
- full-finetune
|
| 16 |
+
- liquid-ai
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Supertron-2.1-8B-A1B
|
| 20 |
+
|
| 21 |
+
**Supertron-2.1-8B-A1B** is a generalist instruction-tuned model based on `LiquidAI/LFM2.5-8B-A1B`.
|
| 22 |
+
|
| 23 |
+
The model is tuned for broad assistant behavior including instruction following, general knowledge, math, coding, function-style tasks, and clear reasoning-oriented responses.
|
| 24 |
+
|
| 25 |
+
## Usage
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 29 |
+
import torch
|
| 30 |
+
|
| 31 |
+
model_id = "Ill-Ness/Supertron-2.1-8B-A1B"
|
| 32 |
+
|
| 33 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
|
| 34 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 35 |
+
model_id,
|
| 36 |
+
torch_dtype=torch.bfloat16,
|
| 37 |
+
device_map="auto",
|
| 38 |
+
trust_remote_code=True,
|
| 39 |
+
)
|
| 40 |
+
|
| 41 |
+
messages = [
|
| 42 |
+
{"role": "user", "content": "Write a Python function that checks if a number is prime."}
|
| 43 |
+
]
|
| 44 |
+
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
| 45 |
+
inputs = tokenizer(text, return_tensors="pt").to(model.device)
|
| 46 |
+
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.7, top_p=0.9)
|
| 47 |
+
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Details
|
| 51 |
+
|
| 52 |
+
| Property | Value |
|
| 53 |
+
| --- | --- |
|
| 54 |
+
| Base model | `LiquidAI/LFM2.5-8B-A1B` |
|
| 55 |
+
| Training mode | Full-parameter fine-tune |
|
| 56 |
+
| Model family | Supertron 2.1 |
|
| 57 |
+
| Task | Text generation |
|
| 58 |
+
|
| 59 |
+
## Limitations
|
| 60 |
+
|
| 61 |
+
The model should be evaluated before production use. It can make factual mistakes, produce insecure code, or fail on complex tasks.
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{- bos_token -}}
|
| 2 |
+
{%- set preserve_thinking = preserve_thinking | default(false) -%}
|
| 3 |
+
|
| 4 |
+
{%- macro format_arg_value(arg_value) -%}
|
| 5 |
+
{%- if arg_value is string -%}
|
| 6 |
+
{{- "'" + arg_value + "'" -}}
|
| 7 |
+
{%- elif arg_value is mapping -%}
|
| 8 |
+
{{- arg_value | tojson -}}
|
| 9 |
+
{%- else -%}
|
| 10 |
+
{{- arg_value | string -}}
|
| 11 |
+
{%- endif -%}
|
| 12 |
+
{%- endmacro -%}
|
| 13 |
+
|
| 14 |
+
{%- macro parse_content(content) -%}
|
| 15 |
+
{%- if content is string -%}
|
| 16 |
+
{{- content -}}
|
| 17 |
+
{%- else -%}
|
| 18 |
+
{%- set _ns = namespace(result="") -%}
|
| 19 |
+
{%- for item in content -%}
|
| 20 |
+
{%- if item["type"] == "image" -%}
|
| 21 |
+
{%- set _ns.result = _ns.result + "<image>" -%}
|
| 22 |
+
{%- elif item["type"] == "text" -%}
|
| 23 |
+
{%- set _ns.result = _ns.result + item["text"] -%}
|
| 24 |
+
{%- else -%}
|
| 25 |
+
{%- set _ns.result = _ns.result + item | tojson -%}
|
| 26 |
+
{%- endif -%}
|
| 27 |
+
{%- endfor -%}
|
| 28 |
+
{{- _ns.result -}}
|
| 29 |
+
{%- endif -%}
|
| 30 |
+
{%- endmacro -%}
|
| 31 |
+
|
| 32 |
+
{%- macro render_tool_calls(tool_calls) -%}
|
| 33 |
+
{%- set tool_calls_ns = namespace(tool_calls=[]) -%}
|
| 34 |
+
{%- for tool_call in tool_calls -%}
|
| 35 |
+
{%- set func_name = tool_call["function"]["name"] -%}
|
| 36 |
+
{%- set func_args = tool_call["function"]["arguments"] -%}
|
| 37 |
+
{%- set args_ns = namespace(arg_strings=[]) -%}
|
| 38 |
+
{%- for arg_name, arg_value in func_args.items() -%}
|
| 39 |
+
{%- set args_ns.arg_strings = args_ns.arg_strings + [arg_name + "=" + format_arg_value(arg_value)] -%}
|
| 40 |
+
{%- endfor -%}
|
| 41 |
+
{%- set tool_calls_ns.tool_calls = tool_calls_ns.tool_calls + [func_name + "(" + (args_ns.arg_strings | join(", ")) + ")"] -%}
|
| 42 |
+
{%- endfor -%}
|
| 43 |
+
{{- "<|tool_call_start|>[" + (tool_calls_ns.tool_calls | join(", ")) + "]<|tool_call_end|>" -}}
|
| 44 |
+
{%- endmacro -%}
|
| 45 |
+
|
| 46 |
+
{%- set ns = namespace(system_prompt="", last_user_index=-1) -%}
|
| 47 |
+
{%- if messages[0]["role"] == "system" -%}
|
| 48 |
+
{%- if messages[0].get("content") -%}
|
| 49 |
+
{%- set ns.system_prompt = parse_content(messages[0]["content"]) -%}
|
| 50 |
+
{%- endif -%}
|
| 51 |
+
{%- set messages = messages[1:] -%}
|
| 52 |
+
{%- endif -%}
|
| 53 |
+
{%- if tools -%}
|
| 54 |
+
{%- set ns.system_prompt = ns.system_prompt + ("\n" if ns.system_prompt else "") + "List of tools: [" -%}
|
| 55 |
+
{%- for tool in tools -%}
|
| 56 |
+
{%- if tool is not string -%}
|
| 57 |
+
{%- set tool = tool | tojson -%}
|
| 58 |
+
{%- endif -%}
|
| 59 |
+
{%- set ns.system_prompt = ns.system_prompt + tool -%}
|
| 60 |
+
{%- if not loop.last -%}
|
| 61 |
+
{%- set ns.system_prompt = ns.system_prompt + ", " -%}
|
| 62 |
+
{%- endif -%}
|
| 63 |
+
{%- endfor -%}
|
| 64 |
+
{%- set ns.system_prompt = ns.system_prompt + "]" -%}
|
| 65 |
+
{%- endif -%}
|
| 66 |
+
{%- if ns.system_prompt -%}
|
| 67 |
+
{{- "<|im_start|>system\n" + ns.system_prompt + "<|im_end|>\n" -}}
|
| 68 |
+
{%- endif -%}
|
| 69 |
+
{%- for message in messages -%}
|
| 70 |
+
{%- if message["role"] == "user" -%}
|
| 71 |
+
{%- set ns.last_user_index = loop.index0 -%}
|
| 72 |
+
{%- endif -%}
|
| 73 |
+
{%- endfor -%}
|
| 74 |
+
{%- for message in messages -%}
|
| 75 |
+
{{- "<|im_start|>" + message.role + "\n" -}}
|
| 76 |
+
{%- if message.role == "assistant" -%}
|
| 77 |
+
{%- generation -%}
|
| 78 |
+
{%- if message.thinking is defined and (preserve_thinking or loop.index0 > ns.last_user_index) -%}
|
| 79 |
+
{{- "<think>" + message.thinking + "</think>" -}}
|
| 80 |
+
{%- endif -%}
|
| 81 |
+
{%- set _cfm_tag = "CONTINUE_FINAL_MESSAGE_TAG " -%}
|
| 82 |
+
{%- set _has_cfm = false -%}
|
| 83 |
+
{%- if message.content is defined -%}
|
| 84 |
+
{%- set content = parse_content(message.content) -%}
|
| 85 |
+
{%- if not (preserve_thinking or loop.index0 > ns.last_user_index) -%}
|
| 86 |
+
{%- if "</think>" in content -%}
|
| 87 |
+
{%- set content = content.split("</think>")[-1] | trim -%}
|
| 88 |
+
{%- endif -%}
|
| 89 |
+
{%- endif -%}
|
| 90 |
+
{%- if message.tool_calls is defined and content.endswith(_cfm_tag) -%}
|
| 91 |
+
{%- set _has_cfm = true -%}
|
| 92 |
+
{%- set _trunc_len = (content | length) - (_cfm_tag | length) -%}
|
| 93 |
+
{{- content[:_trunc_len] -}}
|
| 94 |
+
{%- else -%}
|
| 95 |
+
{{- content -}}
|
| 96 |
+
{%- endif -%}
|
| 97 |
+
{%- endif -%}
|
| 98 |
+
{%- if message.tool_calls is defined -%}
|
| 99 |
+
{{- render_tool_calls(message.tool_calls) -}}
|
| 100 |
+
{%- endif -%}
|
| 101 |
+
{%- if _has_cfm -%}
|
| 102 |
+
{{- _cfm_tag -}}
|
| 103 |
+
{%- endif -%}
|
| 104 |
+
{{- "<|im_end|>\n" -}}
|
| 105 |
+
{%- endgeneration -%}
|
| 106 |
+
{%- else %}
|
| 107 |
+
{%- if message.get("content") -%}
|
| 108 |
+
{{- parse_content(message["content"]) -}}
|
| 109 |
+
{%- endif -%}
|
| 110 |
+
{{- "<|im_end|>\n" -}}
|
| 111 |
+
{%- endif %}
|
| 112 |
+
{%- endfor -%}
|
| 113 |
+
{%- if add_generation_prompt -%}
|
| 114 |
+
{{- "<|im_start|>assistant\n" -}}
|
| 115 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Lfm2MoeForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"bos_token_id": 124894,
|
| 6 |
+
"conv_L_cache": 3,
|
| 7 |
+
"conv_bias": false,
|
| 8 |
+
"dtype": "bfloat16",
|
| 9 |
+
"eos_token_id": 124900,
|
| 10 |
+
"hidden_size": 2048,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 7168,
|
| 13 |
+
"layer_types": [
|
| 14 |
+
"conv",
|
| 15 |
+
"conv",
|
| 16 |
+
"full_attention",
|
| 17 |
+
"conv",
|
| 18 |
+
"conv",
|
| 19 |
+
"conv",
|
| 20 |
+
"full_attention",
|
| 21 |
+
"conv",
|
| 22 |
+
"conv",
|
| 23 |
+
"conv",
|
| 24 |
+
"full_attention",
|
| 25 |
+
"conv",
|
| 26 |
+
"conv",
|
| 27 |
+
"conv",
|
| 28 |
+
"full_attention",
|
| 29 |
+
"conv",
|
| 30 |
+
"conv",
|
| 31 |
+
"conv",
|
| 32 |
+
"full_attention",
|
| 33 |
+
"conv",
|
| 34 |
+
"conv",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"conv",
|
| 37 |
+
"conv"
|
| 38 |
+
],
|
| 39 |
+
"max_position_embeddings": 128000,
|
| 40 |
+
"model_type": "lfm2_moe",
|
| 41 |
+
"moe_intermediate_size": 1792,
|
| 42 |
+
"norm_eps": 1e-05,
|
| 43 |
+
"norm_topk_prob": true,
|
| 44 |
+
"num_attention_heads": 32,
|
| 45 |
+
"num_dense_layers": 2,
|
| 46 |
+
"num_experts": 32,
|
| 47 |
+
"num_experts_per_tok": 4,
|
| 48 |
+
"num_hidden_layers": 24,
|
| 49 |
+
"num_key_value_heads": 8,
|
| 50 |
+
"pad_token_id": 124893,
|
| 51 |
+
"rope_parameters": {
|
| 52 |
+
"rope_theta": 5000000,
|
| 53 |
+
"rope_type": "default"
|
| 54 |
+
},
|
| 55 |
+
"routed_scaling_factor": 1.0,
|
| 56 |
+
"tie_word_embeddings": true,
|
| 57 |
+
"transformers_version": "5.9.0",
|
| 58 |
+
"use_cache": true,
|
| 59 |
+
"use_expert_bias": true,
|
| 60 |
+
"vocab_size": 128000
|
| 61 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 124894,
|
| 4 |
+
"eos_token_id": 124900,
|
| 5 |
+
"output_attentions": false,
|
| 6 |
+
"output_hidden_states": false,
|
| 7 |
+
"pad_token_id": 124893,
|
| 8 |
+
"transformers_version": "5.9.0",
|
| 9 |
+
"use_cache": true
|
| 10 |
+
}
|
model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6eba7dff89079dab79cf50bfdf3fde3dbe8c505d23a7e91b70cd4d2bed4c3e39
|
| 3 |
+
size 4702678352
|
model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5f9ea1adfea858a502f59aed7a2b1b0a54c9fe4f1df705e74eef9dc2efe89aa
|
| 3 |
+
size 4887488176
|
model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c7122821a2ee283a01f879d4ba01c6c0a54d1f46fb1896228fae45b25128581
|
| 3 |
+
size 4673436000
|
model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc29779ac74824649638c85636c432b8913deb7aecf58a808b73aef7ca19e108
|
| 3 |
+
size 2672401592
|
model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:31c9d87fc2553e9a5f608d9d3705342b4e490def691a62f908f3b033855e0148
|
| 3 |
+
size 17905872
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": "<|startoftext|>",
|
| 4 |
+
"clean_up_tokenization_spaces": false,
|
| 5 |
+
"eos_token": "<|im_end|>",
|
| 6 |
+
"is_local": false,
|
| 7 |
+
"local_files_only": false,
|
| 8 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 9 |
+
"pad_token": "<|pad|>",
|
| 10 |
+
"tokenizer_class": "TokenizersBackend",
|
| 11 |
+
"use_default_system_prompt": false
|
| 12 |
+
}
|
training_report.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_name": "Supertron-2.1-8B-A1B",
|
| 3 |
+
"repo_id": "inspectiong668/Supertron-2.1-8B-A1B",
|
| 4 |
+
"base_model": "LiquidAI/LFM2.5-8B-A1B",
|
| 5 |
+
"training_mode": "full_parameter_finetune",
|
| 6 |
+
"optimizer": "Adafactor",
|
| 7 |
+
"gpu": "H100",
|
| 8 |
+
"parameter_count": 8467856128,
|
| 9 |
+
"sequence_length": 1024,
|
| 10 |
+
"micro_batch_size": 1,
|
| 11 |
+
"gradient_accumulation_steps": 8,
|
| 12 |
+
"steps": 1240,
|
| 13 |
+
"tokens": 10158080,
|
| 14 |
+
"tokens_per_second": 5640.341404589016,
|
| 15 |
+
"final_loss": 1.1090761423110962,
|
| 16 |
+
"elapsed_seconds": 1800.968996617,
|
| 17 |
+
"datasets": [
|
| 18 |
+
"HuggingFaceH4/ultrachat_200k",
|
| 19 |
+
"Open-Orca/SlimOrca",
|
| 20 |
+
"teknium/OpenHermes-2.5",
|
| 21 |
+
"TIGER-Lab/MathInstruct",
|
| 22 |
+
"iamtarun/python_code_instructions_18k_alpaca",
|
| 23 |
+
"Salesforce/xlam-function-calling-60k"
|
| 24 |
+
]
|
| 25 |
+
}
|