Downloads · 30 days
14
19% of all-time downloads
thu-nmrc/thaihao-100m-gpt-sft7-default-reply
thaihao-100m-gpt-sft7-default-reply is a text generation model from thu-nmrc. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
This is a local from-scratch Thaihao industrial business assistant checkpoint, exported to the Hugging Face GPT-2 causal LM format.
Downloads · 30 days
14
19% of all-time downloads
All-time downloads
72
Public
Parameters
103M
410 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors410 MB · 99%
From the Hugging Face model README
This is a local from-scratch Thaihao industrial business assistant checkpoint, exported to the Hugging Face GPT-2 causal LM format.
D:\thaihao\pilot_100m\runs\thaihao_100m_full_sft7_default_reply_20260519_110300D:\thaihao\pilot_100m\runs\thaihao_100m_full_sft7_default_reply_20260519_110300\checkpoints\final.pt我是泰豪工业业务助手。可以帮你整理现场排查思路、验收清单、招投标技术响应、参数核对和安全合规提醒。我的能力偏工业业务,不是通用闲聊大模型;遇到实时数据或授权资料不足时,我会说明不能确定。
<|bos|>
<|user|> 用户:...
<|assistant|> 助手:
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "YOUR_ACCOUNT/thaihao-100m-gpt-sft7-default-reply"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
prompt = '<|bos|>\n<|user|> 用户:ATS 不切换怎么办?\n<|assistant|> 助手:'
inputs = tokenizer(prompt, return_tensors="pt")
with torch.no_grad():
output = model.generate(
**inputs,
max_new_tokens=120,
do_sample=True,
temperature=0.45,
top_k=30,
pad_token_id=tokenizer.pad_token_id,
)
print(tokenizer.decode(output[0], skip_special_tokens=False))
This is a roughly 100M-parameter, limited-data business assistant prototype, not a 120B-token commercial general-purpose LLM. For customer names, quotations, contracts, work-order status, unpublished models, military-sensitive information or dangerous operations, connect an authorized RAG/business system and enforce permission checks.