Downloads · 30 days
23
27% of all-time downloads
SpaceSpider/dadong_model_8B
dadong_model_8B is a machine learning model from SpaceSpider. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
This model is a specialized tool for generating popular science content in the field of cybersecurity, designed to write articles in the distinct style of the "Da Donghua Security" series. Through targeted training an…
Downloads · 30 days
23
27% of all-time downloads
All-time downloads
84
Public
Repo size
40.7 GB
Likes
0
Public
Click a slice to open those files.
.bin16.1 GB · 65%
From the Hugging Face model README
This model is a specialized tool for generating popular science content in the field of cybersecurity, designed to write articles in the distinct style of the "Da Donghua Security" series. Through targeted training and optimization, the model can produce cybersecurity knowledge that is both highly professional and logically clear, while remaining accessible and easy to understand, thereby helping readers quickly grasp complex technical concepts and industry trends.
🔍 Domain Expertise
Generates content covering essential cybersecurity topics including:
🎯 Instructional Design
✍️ Style Adaptation
from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("SpaceSpider/dadong_model_8B")
tokenizer = AutoTokenizer.from_pretrained("SpaceSpider/dadong_model_8B")
prompt = """
根据下面的文章主题,文章格式和文章风格撰写一篇文章
文章主题:xxx
文章格式:
大东话安全-热点事件篇模板
一、小白剧场
一个小场景引出热点事件
二、话说事件
该热点事件简要分析/概述
三、大话始末
该热点事件的影响/相关组织的反应
四、小白内心说
该热点事件所引发/内含的网安知识简要阐述(解决办法/预防措施)
五、参考资料(通常不少于3篇)
标注所参考文章题目
文章风格:以“大东”和“小白”两个人的幽默风趣的对话形式。
"""
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=500)
print(tokenizer.decode(outputs[0]))