Giter VIP home page Giter VIP logo

counsel-chat's People

Contributors

nbertagnolli 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar

counsel-chat's Issues

Data Collection

Hello,
I recently came across your article and found it to be an amazing piece. I had some questions about copyright issues regarding the usage of this data. I was reading the TOS on counselchat and they strictly prohibit crawling data from their website. Therefore, I wanted to ask if you had any problems with copyright during this project. I also wanted to ask about whether it was possible to collect more data from this website, given that your data was collected last year, and if so, who I can contact.

Thank you!

Error in running code

Thank you for your detailed explanation. I am trying to replicate your results to understand how I can perform transfer learning on convai model. However, after cloning this repo I am unable to run the code using the below script. Actually, the GitHub repo doesn't have the train.py file.
python3 train.py --dataset_path counsel_chat_250-tokens.json --gradient_accumulation_steps=4 --lm_coef=2.0 --max_history=1 --n_epochs=3 --num_candidates=4 --train_batch_size=2

If I am running this script using the hugging face repo and modifying the code which you mentioned in the blog, I keep on getting one or the other error.

Since I want to look at the code and play around with it, I am not running this chunk of code:

make build
make interact CHECKPOINT_DIR=counselchat_convai

Thank you in advance.

program killed before first epoch

Everytime i try to run the model with the counselchat dataset as shown in the article, it kills process before training the first epoch
I'm stuck
kilt

Error while running the code

INFO:interact.py:Get pretrained model and tokenizer
ftfy or spacy is not installed using BERT BasicTokenizer instead of SpaCy & ftfy.
Some weights of the model checkpoint at /tmp/tmpyfepv9pj were not used when initializing OpenAIGPTLMHeadModel: ['multiple_choice_head.summary.weight', 'multiple_choice_head.summary.bias']
- This IS expected if you are initializing OpenAIGPTLMHeadModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing OpenAIGPTLMHeadModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
INFO:interact.py:Sample a personality
2021-01-30 15:41:11.147627: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.1
INFO:interact.py:Selected personality: 
>>> i am stuck
[[249, 1048, 3029]]
CausalLMOutput(loss=None, logits=tensor([[[ -8.6809,  -6.6040, -13.2421,  ...,  -0.3766,  -0.2954,  -2.8872],
         [ -6.4764,  -5.8869, -12.1966,  ...,  -0.5273,  -0.7109,  -3.7030],
         [ -8.2790,  -7.2821, -13.0864,  ...,  -0.7790,  -0.6198,  -3.7207],
         [ -8.1779,  -6.7467, -12.0495,  ...,  -0.6559,  -0.5704,  -3.2958],
         [-10.7485,  -8.1295, -16.9996,  ...,  -1.5298,  -0.8893,  -4.5471],
         [ -6.8998,  -6.9460, -13.6065,  ...,  -0.9634,  -0.8269,  -3.9406]]]), hidden_states=None, attentions=None)
Traceback (most recent call last):
  File "interact.py", line 242, in <module>
    run()
  File "interact.py", line 233, in run
    out_ids = sample_sequence(personality, history, tokenizer, model, args)
  File "interact.py", line 140, in sample_sequence
    logits = logits[0, -1, :] / args.temperature
  File "/usr/local/lib/python3.6/dist-packages/transformers/file_utils.py", line 1418, in __getitem__
    return self.to_tuple()[k]
TypeError: tuple indices must be integers or slices, not tuple```

Error in code

when i try to run utils_test.py file i get this error
ERROR: test_sample_candidates (main.UtilsTest)

Traceback (most recent call last):
File "utils_test.py", line 19, in test_sample_candidates
df = pd.DataFrame(data, columns=["questionID", "answerText", 'split'])
File "/home/aqib/.local/lib/python3.8/site-packages/pandas/core/frame.py", line 468, in init
raise ValueError('DataFrame constructor not properly called!')
ValueError: DataFrame constructor not properly called!

please help i have tried different solutions but nothing worked

have questtion for using this dataset.

Hi, My name is Hojin Yang, and our group is trying to make counseling services using NLP. I saw this dataset from your medium posts, and I want to ask if I can use this data to improve our counseling model. I'm currently in Hackathon.

Data collection

Hello again,
I emailed counselchat support as well as Eric but I haven't received any replies so far. Do you have any suggestions about ways to contact them other than by email? Thank you in advance.

Error in code

I downloaded the file and unzip it. However I am confused where to run the make build and make interact commands.
I ran the commands in command prompt(windows) and got error saying make is not a keyword in docker.
Can you please guide us to know how to run these files on windows.
Thank you !

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.