Downloads · 30 days
7
2% of all-time downloads
enfuse/distilbert-joint-intent-slot-smarthome
distilbert-joint-intent-slot-smarthome is a token classification model from enfuse. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
7
2% of all-time downloads
All-time downloads
298
Public
Parameters
66.4M
1.6 GB on disk
Likes
1
Public
Click a slice to open those files.
.pt1.1 GB · 57%
From the Hugging Face model README
Produced By: Enfuse.io
This model is a fine-tuned version of distilbert-base-uncased specifically adapted for joint intent classification and slot filling in the smart home domain. Given a user command related to controlling smart home devices (like lights or thermostats), the model simultaneously predicts:
set_device_state, get_device_state).device_name, location, state, attribute_value) within the command, using BIO tagging.Primary Intended Use: This model is intended for hobbyist experimentation and educational purposes related to Natural Language Understanding (NLU) for smart home applications. It can be used as a baseline or starting point for understanding how to build NLU components for simple device control.
Disclaimer: This model is NOT intended for use in production environments. Enfuse.io takes no responsibility for the performance, reliability, security, or any consequences arising from the use of this model in production systems or safety-critical applications. Use in such contexts is entirely at the user's own risk.
Out-of-Scope Use:
The model was fine-tuned on the enfuse/joint-intent-slot-smarthome dataset, specifically the generated_smarthome_2016_unique.jsonl version containing 2016 unique synthetic examples.
This dataset was generated by Enfuse.io using a combination of mistralai/Mistral-7B-Instruct-v0.1 and openai/gpt-4o, followed by validation and de-duplication. Please refer to the dataset card for more details on the data generation process and limitations.
The text was tokenized using the distilbert-base-uncased tokenizer. Slot labels were converted to a BIO tagging scheme. Input sequences were padded and truncated to a maximum length of 128 tokens.
The model was fine-tuned using the Hugging Face transformers library Trainer on a single NVIDIA RTX 5090.
eval_intent_accuracy on the validation set during training was selected for the final model (corresponding to Epoch 8 or 10 in the 10-epoch run).The following results were achieved on the test set (202 examples) using the best checkpoint saved during training:
(Note: These results are specific to this particular training setup and may vary with different hyperparameters or training runs.)
(You would typically add code examples here showing how to load and use the model with the Transformers pipeline or custom code, similar to the logic in infer.py. Since the user requested no code, this section is omitted but would normally be present.)
If you use this model, please cite the dataset:
@misc{enfuse_smarthome_intent_slot_2024,
author = {Enfuse.io},
title = {Enfuse Smart Home Joint Intent and Slot Filling Dataset},
year = {2024},
publisher = {Hugging Face},
journal = {Hugging Face Hub},
howpublished = {\url{https://huggingface.co/datasets/enfuse/joint-intent-slot-smarthome}}
}