Downloads · 30 days
0
ai-forever/paper_persi_chat
paper_persi_chat is a text generation model from ai-forever. Use it when you need the model to write or continue text. The card lists the license as mit.
This is a weights storage for the PaperPersiChat pipeline models.
Downloads · 30 days
0
Access
Public
Updated Oct 4, 2023
Repo size
8.6 GB
Likes
3
Public
Click a slice to open those files.
.bin4 GB · 88%
From the Hugging Face model README
This is a weights storage for the PaperPersiChat pipeline models.
The pipeline is presented in the paper PaperPersiChat: Scientific Paper Discussion Chatbot using Transformers and Discourse Flow Management
git lfs install
git clone https://huggingface.co/ai-forever/paper_persi_chat
See more details on https://github.com/ai-forever/paper_persi_chat
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)
If you find our models helpful, feel free to cite our publication PaperPersiChat: Scientific Paper Discussion Chatbot using Transformers and Discourse Flow Management:
@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",
}