{"id":13595221,"url":"https://github.com/MiuLab/SlotGated-SLU","last_synced_at":"2025-04-09T10:33:09.472Z","repository":{"id":53111902,"uuid":"124995995","full_name":"MiuLab/SlotGated-SLU","owner":"MiuLab","description":"Slot-Gated Modeling for Joint Slot Filling and Intent Prediction","archived":false,"fork":false,"pushed_at":"2021-04-06T08:05:30.000Z","size":428,"stargazers_count":304,"open_issues_count":8,"forks_count":108,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-06T17:46:30.188Z","etag":null,"topics":["intent-prediction","joint-models","natural-language-understanding","slot-filling","spoken-language-understanding"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MiuLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-13T05:14:58.000Z","updated_at":"2024-08-22T02:41:25.000Z","dependencies_parsed_at":"2022-09-14T02:00:44.596Z","dependency_job_id":null,"html_url":"https://github.com/MiuLab/SlotGated-SLU","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiuLab%2FSlotGated-SLU","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiuLab%2FSlotGated-SLU/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiuLab%2FSlotGated-SLU/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MiuLab%2FSlotGated-SLU/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MiuLab","download_url":"https://codeload.github.com/MiuLab/SlotGated-SLU/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248020593,"owners_count":21034459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["intent-prediction","joint-models","natural-language-understanding","slot-filling","spoken-language-understanding"],"created_at":"2024-08-01T16:01:45.958Z","updated_at":"2025-04-09T10:33:04.463Z","avatar_url":"https://github.com/MiuLab.png","language":"Python","funding_links":[],"categories":["Python","实体识别NER、意图识别、槽位填充"],"sub_categories":["其他_文本生成、文本对话"],"readme":"# Slot-Gated Modeling for Joint Slot Filling and Intent Prediction\n\n## Reference\nMain paper to be cited ([Goo et al., 2018](https://www.csie.ntu.edu.tw/~yvchen/doc/NAACL18_SlotGated.pdf))\n\n```\n@inproceedings{goo2018slot,\n  title={Slot-Gated Modeling for Joint Slot Filling and Intent Prediction},\n    author={Chih-Wen Goo and Guang Gao and Yun-Kai Hsu and Chih-Li Huo and Tsung-Chieh Chen and Keng-Wei Hsu and Yun-Nung Chen},\n    booktitle={Proceedings of The 16th Annual Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies},\n    year={2018}\n}\n```\n\n## Want to Reproduce the experiment?\nEnter `--dataset=atis` or `--dataset=snips` to use ATIS or Snips ([Coucke et al., 2018](https://arxiv.org/abs/1805.10190)) dataset.\n\n## Where to Put My Dataset?\nYou need to put your dataset under ./data/ and use `--dataset=foldername`. \nFor example, your dataset is ./data/mydata, then you need to enter `--dataset=mydata` \u003cbr\u003e\nYour dataset should be seperated to three folders - train, test, and valid, which is named 'train', 'test', and 'valid' by default setting of train.py. \nEach of these folders contain three files - word sequence, slot label, and intent label, which is named 'seq.in', 'seq.out', and 'label' by default setting of train.py. \nFor example, the full path to train/slot_label_file is './data/mydata/train/seq.out' .  \nEach line represents an example, and slot label should use the IBO format. \u003cbr\u003e\nVocabulary files will be generated by utils.createVocabulary() automatically \u003cbr\u003e\nYou may see ./data/atis for more detail.\n\n## Requirements\ntensorflow 1.4 \u003cbr\u003e\npython 3.5\n\n## Usage\nsome sample usage \u003cbr\u003e\n* run with 32 units, atis dataset and no patience for early stop \u003cbr\u003e\n\u0026emsp;python3 train.py --num_units=32 --dataset=atis --patience=0\n\n* disable early stop, use snips dataset and use intent attention version \u003cbr\u003e\n\u0026emsp;python3 train.py --no_early_stop --dataset=snips --model_type=intent_only\n\n* use \"python3 train.py -h\" for all avaliable parameter settings\n\n* Note: must type `--dataset`. If you don't want to use this flag, type `--dataset=''` instead.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMiuLab%2FSlotGated-SLU","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMiuLab%2FSlotGated-SLU","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMiuLab%2FSlotGated-SLU/lists"}