Three models (
Summarizer
,
QA module
and
Response Generator
) can be imported using transformers library after weights downloading:
from transformers import BartForConditionalGeneration, BartTokenizer
model_name_or_path = 'paper_persi_chat/distilbart_summarizer'# or 'paper_persi_chat/bart_response_generator'
tokenizer = BartTokenizer.from_pretrained(model_name_or_path)
model = BartForConditionalGeneration.from_pretrained(model_name_or_path).to('cuda')
from transformers import pipeline
model = pipeline("question-answering", model='paper_persi_chat/deberta_qa')
pred = model(question,
context,
max_seq_len=384,
doc_stride=64,
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",
}
Runs of ai-forever paper_persi_chat on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About paper_persi_chat huggingface.co Model
paper_persi_chat huggingface.co is an AI model on huggingface.co that provides paper_persi_chat's model effect (), which can be used instantly with this ai-forever paper_persi_chat model. huggingface.co supports a free trial of the paper_persi_chat model, and also provides paid use of the paper_persi_chat. Support call paper_persi_chat model through api, including Node.js, Python, http.
paper_persi_chat huggingface.co is an online trial and call api platform, which integrates paper_persi_chat's modeling effects, including api services, and provides a free online trial of paper_persi_chat, you can try paper_persi_chat online for free by clicking the link below.
ai-forever paper_persi_chat online free url in huggingface.co:
paper_persi_chat is an open source model from GitHub that offers a free installation service, and any user can find paper_persi_chat on GitHub to install. At the same time, huggingface.co provides the effect of paper_persi_chat install, users can directly use paper_persi_chat installed effect in huggingface.co for debugging and trial. It also supports api for free installation.