Coder Social home page Coder Social logo

bert-dialog-state-tracking's Introduction

Hi there ๐Ÿ‘‹

I am a computer science Ph.D. student at the University of Illinois at Urbana-Champaign. My work focuses on deep learning for information extraction and natural language understanding. I completed my undergraduate degree in Computer Science at KAIST. I completed my Mastersโ€™s degree in Computer Science at the Purdue University.

Tuan's GitHub stats

bert-dialog-state-tracking's People

Contributors

laituan245 avatar trellixvulnteam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bert-dialog-state-tracking's Issues

Data preprocessing.

Hello Friend, I am unable to find the procedure of data pre-processing in paper and code. could you please give some information to know about data pre-processing procedure? Thank you.

Loss doasn't converge with the latest version of huggingface/transformers.

I've been trying to reproduce your code. Running your original code produces the results on the paper.
Changing only these two lines:

tokenizer = BertTokenizer.from_pretrained(bert_model)
bert      = BertForSequenceClassification.from_pretrained(bert_model, num_labels=2)

with these from huggingface/transformers

tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
bert      = BertForSequenceClassification.from_pretrained('bert-base-uncased', num_labels=2)

The Loss doesn't converge and the accuracy is very low.
Do you have any idea why this happens?

AttributeError: 'NoneType' object has no attribute 'to'

Traceback (most recent call last):
File "E:\Project\DST\BERT-Dialog-State-Tracking-master21\main.py", line 120, in
main(opts)
File "E:\Project\DST\BERT-Dialog-State-Tracking-master21\main.py", line 75, in main
model.move_to_device(opts)
File "E:\Project\DST\BERT-Dialog-State-Tracking-master21\models.py", line 78, in move_to_device
self.bert.to(args.device)
AttributeError: 'NoneType' object has no attribute 'to'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.