Downloads Β· 30 days
11
8% of all-time downloads
sii-research/InnoSpark-R-72B-0701
InnoSpark-R-72B-0701 is a machine learning model from sii-research. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads Β· 30 days
11
8% of all-time downloads
All-time downloads
135
Public
Parameters
72.7B
145 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors145 GB Β· 100%
From the Hugging Face model README
Language / θ―θ¨: English | δΈζ
</div>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.
| Model Version | Parameters | Link |
|---|---|---|
| InnoSpark-min | 0.5B | π Download |
| InnoSpark-turbo | 7B | π Download |
| InnoSpark-plus | 72B | π Standard / π Reasoning |
Here provides a code snippet with apply_chat_template to show you how to load the tokenizer and model and how to generate contents.
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]
We recommend deploying our model using 4 A100 GPUs. You can run the vllm server-side with the following code in terminal:
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:
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='')
1. π InnoSpark Model Series
2. π ELMES Evaluation System
3. π οΈ COCLP Data Cleaning Pipeline
4. β HPC-RM Reward Model
If you find our work useful, please cite our papers:
@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},
}
@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},
}
We achieved optimal performance in 4 key educational scenarios:
| Scenario | Performance |
|---|---|
| π Knowledge Explanation | ![]() |
| π§ Guided Problem Solving | ![]() |
| π Interdisciplinary Lesson Plans | ![]() |
| π Contextual Question Generation | ![]() |
| Scenario | Evaluation Table |
|---|---|
| π Knowledge Explanation | ![]() |
| π§ Guided Problem Solving | ![]() |
| π Interdisciplinary Lesson Plans | ![]() |
| π Contextual Question Generation | ![]() |
| Scenario | Demo |
|---|---|
| π Knowledge Explanation | ![]() |
| π― Guided Problem Solving | ![]() |
| π Interdisciplinary Lesson Plans | ![]() |
| πͺ Contextual Question Generation | ![]() |
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.
Please refer to the relevant model pages for specific license information.
East China Normal University
<sub>π Empowering Education with AI</sub>
</div>