Views
No views yet
1git lfs install
2git clone https://huggingface.co/ai-forever/paper_persi_chat1from transformers import BartForConditionalGeneration, BartTokenizer
2model_name_or_path = 'paper_persi_chat/distilbart_summarizer' # or 'paper_persi_chat/bart_response_generator'
3tokenizer = BartTokenizer.from_pretrained(model_name_or_path)
4model = BartForConditionalGeneration.from_pretrained(model_name_or_path).to('cuda')1from transformers import pipeline
2model = pipeline("question-answering", model='paper_persi_chat/deberta_qa')
3pred = model(question,
4 context,
5 max_seq_len=384,
6 doc_stride=64,
7 max_answer_len=384)@inproceedings{chernyavskiy-etal-2023-paperpersichat,
title = "{P}aper{P}ersi{C}hat: Scientific Paper Discussion Chatbot using Transformers and Discourse Flow Management",
author = "Chernyavskiy, Alexander and
Bregeda, Max and
Nikiforova, Maria",
booktitle = "Proceedings of the 24th Meeting of the Special Interest Group on Discourse and Dialogue",
month = sep,
year = "2023",
address = "Prague, Czechia",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.sigdial-1.54",
pages = "584--587",
}