CoolFace
Modelpublic

sii-research/InnoSpark-HPC-RM-32B

sourceHugging Facemitupdated 1y agoView on Hugging Face
2likes18downloads
Model Card

<div align="center">

🌟 InnoSpark 🌟

![Official Website](https://innospark.aiecnu.cn/innospark/) ![Hugging Face](https://huggingface.co/sii-research) ![GitHub](https://github.com/Inno-Spark/elmes)

<div style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 2px; border-radius: 10px; margin: 20px 0;"> <div style="background: white; padding: 20px; border-radius: 8px;"> <h3>πŸš€ Advanced Educational Large Language Model</h3> </div> </div>

Language / 语言: English | δΈ­ζ–‡

</div>


πŸ“– Project Introduction

InnoSpark is an advanced educational large language model independently developed by Shanghai Innovation Institute and East China Normal University. It aims to explore the deep application of artificial intelligence technology in the field of education. Based on the domestic Qwen large language model with secondary pre-training, combined with subdomain fine-tuning and reinforcement learning for educational scenarios, we have launched InnoSpark-1.0.

πŸ”— Related Resources

πŸ“± Main Products

πŸ€– Model Series

Model VersionParametersLink
InnoSpark-min0.5BπŸ”— Download
InnoSpark-turbo7BπŸ”— Download
InnoSpark-plus72BπŸ”— Standard / πŸ”— Reasoning

πŸ“Š Datasets

πŸš€ Quickstart

Here provides a code snippet with apply_chat_template to show you how to load the tokenizer and model and how to generate contents.

python
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cuda" # the device to load the model onto

model = AutoModelForCausalLM.from_pretrained(
    "sii-research/InnoSpark-72B-0710",
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("sii-research/InnoSpark-72B-0710")

prompt = "Introduce yourself in detail."
messages = [
    {"role": "system", "content": "You are InnoSparkοΌˆε―εˆ›οΌ‰, created by Shanghai Innovation Institute οΌˆδΈŠζ΅·εˆ›ζ™Ίε­¦ι™’οΌ‰ and East China Normal University(εŽδΈœεΈˆθŒƒε€§ε­¦). You are a helpful assistant."},
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(device)

generated_ids = model.generate(
    model_inputs.input_ids,
    max_new_tokens=512
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]

VLLM

We recommend deploying our model using 4 A100 GPUs. You can run the vllm server-side with the following code in terminal:

python
python -m vllm.entrypoints.openai.api_server --served-model-name InnoSpark --model path/to/InnoSpark --gpu-memory-utilization 0.98 --tensor-parallel-size 4 --port 6000

Then, you can use the following code to deploy client-side:

python
import requests
import json

def Innospark_stream(inputs,history):
    url = 'http://loaclhost:6000/v1/chat/completions'

    history+=[{"role": "user", "content": inputs},]

    headers = {"User-Agent": "vLLM Client"}

    pload = {
        "model": "InnoSpark",
        "stream": True,
        "messages": history
    }
    response = requests.post(url,
                             headers=headers,
                             json=pload,
                             stream=True)

    for chunk in response.iter_lines(chunk_size=1,
                                     decode_unicode=False,
                                     delimiter=b"\n"):
        if chunk:
            string_data = chunk.decode("utf-8")
            try:
                json_data = json.loads(string_data[6:])
                delta_content = json_data["choices"][0]["delta"]["content"]
                assistant_reply+=delta_content
                yield delta_content
            except KeyError as e:
                delta_content = json_data["choices"][0]["delta"]["role"]
            except json.JSONDecodeError as e:
                history+=[{
                        "role": "assistant",
                        "content": assistant_reply,
                        "tool_calls": []
                    },]
                delta_content='[DONE]'
                assert '[DONE]'==chunk.decode("utf-8")[6:]

inputs='hi'
history=[]
for response_text in Innospark_stream(inputs,history):
    print(response_text,end='')

🌟 Core Features

🎯 Open Source Product Matrix

<div align="left">

1. πŸ“š InnoSpark Model Series

  • β€”4 models with different parameter scales: min(0.5B), turbo(7B), plus(72B) and their corresponding inference model R versions

2. πŸ” ELMES Evaluation System

  • β€”Education Language Model Evaluation System
  • β€”Automated evaluation system for educational tasks
  • β€”Helps continuously optimize large model capabilities in teaching scenarios

3. πŸ› οΈ COCLP Data Cleaning Pipeline

  • β€”Corpus Cleansing Pipeline
  • β€”Visual node-based framework based on ComfyUI
  • β€”Supports OCR, audio/video transcription, format conversion, PII removal, text filtering, and other functions
  • β€”GitHub: COCLP

4. ⭐ HPC-RM Reward Model

  • β€”Helpful, Personalization, and Creativity Reward Model
  • β€”Provides scoring in three educational dimensions: helpfulness, personalization, and creativity
  • β€”Includes corresponding model scoring and human scoring datasets

</div>

πŸ“š Citation

If you find our work useful, please cite our papers:

bibtex
@misc{song2025cultivatinghelpfulpersonalizedcreative,
      title={Cultivating Helpful, Personalized, and Creative AI Tutors: A Framework for Pedagogical Alignment using Reinforcement Learning}, 
      author={Siyu Song and Wentao Liu and Ye Lu and Ruohua Zhang and Tao Liu and Jinze Lv and Xinyun Wang and Aimin Zhou and Fei Tan and Bo Jiang and Hao Hao},
      year={2025},
      eprint={2507.20335},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2507.20335}, 
}
bibtex
@misc{wei2025elmesautomatedframeworkevaluating,
      title={ELMES: An Automated Framework for Evaluating Large Language Models in Educational Scenarios}, 
      author={Shou'ang Wei and Xinyun Wang and Shuzhen Bi and Jian Chen and Ruijia Li and Bo Jiang and Xin Lin and Min Zhang and Yu Song and BingDong Li and Aimin Zhou and Hao Hao},
      year={2025},
      eprint={2507.22947},
      archivePrefix={arXiv},
      primaryClass={cs.CY},
      url={https://arxiv.org/abs/2507.22947}, 
}

πŸ“ˆ Performance Results

We achieved optimal performance in 4 key educational scenarios:

πŸ† Evaluation Results

ScenarioPerformance
πŸ“ Knowledge Explanation[image]
🧭 Guided Problem Solving[image]
πŸ“š Interdisciplinary Lesson Plans[image]
🎭 Contextual Question Generation[image]

πŸ“Š Detailed Evaluation Tables

ScenarioEvaluation Table
πŸ“ Knowledge Explanation[image]
🧭 Guided Problem Solving[image]
πŸ“š Interdisciplinary Lesson Plans[image]
🎭 Contextual Question Generation[image]

🎨 Application Examples

ScenarioDemo
πŸ“– Knowledge Explanation[image]
🎯 Guided Problem Solving[image]
🌟 Interdisciplinary Lesson Plans[image]
πŸŽͺ Contextual Question Generation[image]

πŸ›οΈ Technical Support

This project is jointly developed by East China Normal University and Shanghai Innovation Institute. The reward model was trained using the SiiRL training framework provided by Shanghai Innovation Institute.

πŸ“„ License

Please refer to the relevant model pages for specific license information.


<div align="center">

🀝 Contact & Collaboration

East China Normal University

![Website](https://innospark.aiecnu.cn/innospark/) ![Email](mailto:contact@example.com)


<sub>πŸš€ Empowering Education with AI</sub>

</div>