Downloads · 30 days
4
9% of all-time downloads
mhhyoucom/bert-model-car-assistant
bert-model-car-assistant is a machine learning model from mhhyoucom. 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.
This repository contains a pre-trained Chinese in-car natural language understanding (NLU) model based on BERT. It is designed for automotive voice assistant scenarios and supports joint intent classification and slot…
Downloads · 30 days
4
9% of all-time downloads
All-time downloads
43
Public
Parameters
102M
817 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors409 MB · 50%
From the Hugging Face model README
This repository contains a pre-trained Chinese in-car natural language understanding (NLU) model based on BERT. It is designed for automotive voice assistant scenarios and supports joint intent classification and slot filling for task-oriented dialogue.
The model files include:
config.json: model configurationmodel.safetensors: model weightstokenizer.json, tokenizer_config.json, vocab.txt, special_tokens_map.json: tokenizer assetsonnx/model.onnx: optional ONNX export for optimized inferenceonnx/label_map.json: intent and slot label definitionsA BERT-based NLU model for in-vehicle dialogue understanding. It is tailored for automotive instruction interpretation and can predict both user intent and relevant slot entities from Chinese commands.
Key capabilities:
safetensors and ONNX该模型基于 BERT 架构构建,面向车载语音助手场景。它支持中文指令的意图识别与槽位抽取,用于理解用户在驾驶过程中的自然语言请求。
功能特点:
safetensors 权重及 ONNX 推理格式This model is intended for research and development of Chinese automotive NLU systems, including:
The repository is structured as a model package rather than a complete application. Use your own inference or evaluation scripts to load the model and tokenizer.
该目录包含用于推理的模型权重与分词器文件,可直接加载到 Hugging Face Transformers 风格的推理代码中。
Basic usage example:
from transformers import BertTokenizerFast, BertForTokenClassification
import torch
model_dir = "."
tokenizer = BertTokenizerFast.from_pretrained(model_dir)
model = BertForTokenClassification.from_pretrained(model_dir)
inputs = tokenizer("今天天气怎样?", return_tensors="pt")
outputs = model(**inputs)
如果使用 ONNX 推理,可加载 onnx/model.onnx 进行加速部署。
config.jsonmodel.safetensorstokenizer.jsontokenizer_config.jsonvocab.txtspecial_tokens_map.jsononnx/model.onnxonnx/label_map.json本仓库并未包含完整训练脚本。本 README 主要描述模型卡信息与部署说明。如需训练或微调,请参考您自己的 BERT NLU 训练流程。
本模型适用于车载中文自然语言理解任务。若将其用于生产环境,请先进行充分评估与测试。