This is an unofficial
led-large-16384
checkpoint that is fine-tuned on the
pubmed dataset
.
The model was fine-tuned and evaluated as detailed in
this notebook
Results
The model achieves a
Rouge-2
score of 19.33 on Pubmed which is competitive to state-of-the-art models.
Usage
The model can be used as follows. The input is taken from the test data of the
pubmed dataset
.
LONG_ARTICLE = """"anxiety affects quality of life in those livingwith parkinson 's disease ( pd ) more so thanoverall cognitive status , motor deficits , apathy, and depression [ 13 ] . although anxiety anddepression are often related and coexist in pdpatients , recent research suggests that anxietyrather than depression is the most prominent andprevalent mood disorder in pd [ 5 , 6 ] . yet ,our current understanding of anxiety and itsimpact on cognition in pd , as well as its neuralbasis and best treatment practices , remainsmeager and lags far behind that of depression .overall , neuropsychiatric symptoms in pd havebeen shown to be negatively associated withcognitive performance . for example , higherdepression scores have been correlated with lowerscores on the mini - mental state exam ( mmse ) [8 , 9 ] as well as tests of memory and executivefunctions ( e.g. , attention ) [ 1014 ] . likewise, apathy and anhedonia in pd patients have beenassociated with executive dysfunction [ 10 , 1523] . however , few studies have specificallyinvestigated the relationship between anxiety andcognition in pd . one study showed a strongnegative relationship between anxiety ( both stateand trait ) and overall cognitive performance (measured by the total of the repeatable batteryfor the assessment of neuropsychological statusindex ) within a sample of 27 pd patients .furthermore , trait anxiety was negativelyassociated with each of the cognitive domainsassessed by the rbans ( i.e. , immediate memory ,visuospatial construction , language , attention ,and delayed memory ) . two further studies haveexamined whether anxiety differentially affectscognition in patients with left - sided dominantpd ( lpd ) versus right - sided dominant pd ( rpd) ; however , their findings were inconsistent .the first study found that working memoryperformance was worse in lpd patients with anxietycompared to rpd patients with anxiety , whereasthe second study reported that , in lpd , apathybut not anxiety was associated with performance onnonverbally mediated executive functions andvisuospatial tasks ( e.g. , tmt - b , wms - iiispatial span ) , while in rpd , anxiety but notapathy significantly correlated with performanceon verbally mediated tasks ( e.g. , clock readingtest and boston naming test ) . furthermore ,anxiety was significantly correlated withneuropsychological measures of attention andexecutive and visuospatial functions . takentogether , it is evident that there are limitedand inconsistent findings describing therelationship between anxiety and cognition in pdand more specifically how anxiety might influenceparticular domains of cognition such as attentionand memory and executive functioning . it is alsostriking that , to date , no study has examinedthe influence of anxiety on cognition in pd bydirectly comparing groups of pd patients with andwithout anxiety while excluding depression . giventhat research on healthy young adults suggeststhat anxiety reduces processing capacity andimpairs processing efficiency , especially in thecentral executive and attentional systems ofworking memory [ 26 , 27 ] , we hypothesized thatpd patients with anxiety would show impairments inattentional set - shifting and working memorycompared to pd patients without anxiety .furthermore , since previous work , albeit limited, has focused on the influence of symptomlaterality on anxiety and cognition , we alsoexplored this relationship . seventeen pd patientswith anxiety and thirty - three pd patientswithout anxiety were included in this study ( seetable 1 ) . the cross - sectional data from theseparticipants was taken from a patient databasethat has been compiled over the past 8 years (since 2008 ) at the parkinson 's disease researchclinic at the brain and mind centre , universityof sydney . inclusion criteria involved adiagnosis of idiopathic pd according to the unitedkingdom parkinson 's disease society brain bankcriteria and were confirmed by a neurologist (sjgl ) . patients also had to have an adequateproficiency in english and have completed a fullneuropsychological assessment . ten patients inthis study ( 5 pd with anxiety ; 5 pd withoutanxiety ) were taking psychotropic drugs ( i.e. ,benzodiazepine or selective serotonin reuptakeinhibitor ) . patients were also excluded if theyhad other neurological disorders , psychiatricdisorders other than affective disorders ( such asanxiety ) , or if they reported a score greaterthan six on the depression subscale of thehospital anxiety and depression scale ( hads ) .thus , all participants who scored within adepressed ( hads - d > 6 ) range were excludedfrom this study , in attempt to examine a refinedsample of pd patients with and without anxiety inorder to determine the independent effect ofanxiety on cognition . this research was approvedby the human research ethics committee of theuniversity of sydney , and written informedconsent was obtained from all participants . self- reported hads was used to assess anxiety in pdand has been previously shown to be a usefulmeasure of clinical anxiety in pd . a cut - offscore of > 8 on the anxiety subscale of the hads (hads - a ) was used to identify pd cases withanxiety ( pda+ ) , while a cut - off score of < 6on the hads - a was used to identify pd caseswithout anxiety ( pda ) . this criterion was morestringent than usual ( > 7 cut - off score ) , ineffort to create distinct patient groups . theneurological evaluation rated participantsaccording to hoehn and yahr ( h&y ) stages andassessed their motor symptoms using part iii ofthe revised mds task force unified parkinson 'sdisease rating scale ( updrs ) . in a similar waythis was determined by calculating a total leftand right score from rigidity items 3035 ,voluntary movement items 3643 , and tremor items5057 from the mds - updrs part iii ( see table 1 ). processing speed was assessed using the trailmaking test , part a ( tmt - a , z - score ) .attentional set - shifting was measured using thetrail making test , part b ( tmt - b , z - score ). working memory was assessed using the digit spanforward and backward subtest of the wechslermemory scale - iii ( raw scores ) . language wasassessed with semantic and phonemic verbal fluencyvia the controlled oral word associated test (cowat animals and letters , z - score ) . theability to retain learned verbal memory wasassessed using the logical memory subtest from thewechsler memory scale - iii ( lm - i z - score ,lm - ii z - score , % lm retention z - score ) .the mini - mental state examination ( mmse )demographic , clinical , and neuropsychologicalvariables were compared between the two groupswith the independent t - test or mann whitney utest , depending on whether the variable metparametric assumptions . chi - square tests wereused to examine gender and symptom lateralitydifferences between groups . all analyses employedan alpha level of p < 0.05 and were two - tailed .spearman correlations were performed separately ineach group to examine associations between anxietyand/or depression ratings and cognitive functions. as expected , the pda+ group reportedsignificant greater levels of anxiety on the hads- a ( u = 0 , p < 0.001 ) and higher total scoreon the hads ( u = 1 , p < 0.001 ) compared to thepda group ( table 1 ) . groups were matched in age( t(48 ) = 1.31 , p = 0.20 ) , disease duration (u = 259 , p = 0.66 ) , updrs - iii score ( u =250.5 , p = 0.65 ) , h&y ( u = 245 , p = 0.43 ) ,ledd ( u = 159.5 , p = 0.80 ) , and depression (hads - d ) ( u = 190.5 , p = 0.06 ) . additionally, all groups were matched in the distribution ofgender ( = 0.098 , p = 0.75 ) and side - affected( = 0.765 , p = 0.38 ) . there were no groupdifferences for tmt - a performance ( u = 256 , p= 0.62 ) ( table 2 ) ; however , the pda+ grouphad worse performance on the trail making testpart b ( t(46 ) = 2.03 , p = 0.048 ) compared tothe pda group ( figure 1 ) . the pda+ group alsodemonstrated significantly worse performance onthe digit span forward subtest ( t(48 ) = 2.22 , p= 0.031 ) and backward subtest ( u = 190.5 , p =0.016 ) compared to the pda group ( figures 2(a )and 2(b ) ) . neither semantic verbal fluency (t(47 ) = 0.70 , p = 0.49 ) nor phonemic verbalfluency ( t(47 ) = 0.39 , p = 0.70 ) differedbetween groups . logical memory i immediate recalltest ( u = 176 , p = 0.059 ) showed a trend thatthe pda+ group had worse new verbal learning andimmediate recall abilities than the pda group .however , logical memory ii test performance ( u =219 , p = 0.204 ) and logical memory % retention (u = 242.5 , p = 0.434 ) did not differ betweengroups . there were also no differences betweengroups in global cognition ( mmse ) ( u = 222.5 ,p = 0.23 ) . participants were split into lpd andrpd , and then further group differences wereexamined between pda+ and pda. importantly , thegroups remained matched in age , disease duration, updrs - iii , dde , h&y stage , and depressionbut remained significantly different on self -reported anxiety . lpda+ demonstrated worseperformance on the digit span forward test ( t(19) = 2.29 , p = 0.033 ) compared to lpda , whereasrpda+ demonstrated worse performance on the digitspan backward test ( u = 36.5 , p = 0.006 ) , lm -i immediate recall ( u = 37.5 , p = 0.008 ) , andlm - ii ( u = 45.0 , p = 0.021 ) but not lm %retention ( u = 75.5 , p = 0.39 ) compared torpda. this study is the first to directly comparecognition between pd patients with and withoutanxiety . the findings confirmed our hypothesisthat anxiety negatively influences attentional set- shifting and working memory in pd . morespecifically , we found that pd patients withanxiety were more impaired on the trail makingtest part b which assessed attentional set -shifting , on both digit span tests which assessedworking memory and attention , and to a lesserextent on the logical memory test which assessedmemory and new verbal learning compared to pdpatients without anxiety . taken together , thesefindings suggest that anxiety in pd may reduceprocessing capacity and impair processingefficiency , especially in the central executiveand attentional systems of working memory in asimilar way as seen in young healthy adults [ 26 ,27 ] . although the neurobiology of anxiety in pdremains unknown , many researchers have postulatedthat anxiety disorders are related toneurochemical changes that occur during the early, premotor stages of pd - related degeneration [37 , 38 ] such as nigrostriatal dopamine depletion, as well as cell loss within serotonergic andnoradrenergic brainstem nuclei ( i.e. , raphenuclei and locus coeruleus , resp . , whichprovide massive inputs to corticolimbic regions ). over time , chronic dysregulation ofadrenocortical and catecholamine functions canlead to hippocampal damage as well asdysfunctional prefrontal neural circuitries [ 39 ,40 ] , which play a key role in memory andattention . recent functional neuroimaging workhas suggested that enhanced hippocampal activationduring executive functioning and working memorytasks may represent compensatory processes forimpaired frontostriatal functions in pd patientscompared to controls . therefore , chronic stressfrom anxiety , for example , may disruptcompensatory processes in pd patients and explainthe cognitive impairments specifically in workingmemory and attention seen in pd patients withanxiety . it has also been suggested thathyperactivation within the putamen may reflect acompensatory striatal mechanism to maintain normalworking memory performance in pd patients ;however , losing this compensatory activation hasbeen shown to contribute to poor working memoryperformance . anxiety in mild pd has been linkedto reduced putamen dopamine uptake which becomesmore extensive as the disease progresses . thisfurther supports the notion that anxiety maydisrupt compensatory striatal mechanisms as well ,providing another possible explanation for thecognitive impairments observed in pd patients withanxiety in this study . noradrenergic andserotonergic systems should also be consideredwhen trying to explain the mechanisms by whichanxiety may influence cognition in pd . althoughthese neurotransmitter systems are relativelyunderstudied in pd cognition , treating thenoradrenergic and serotonergic systems has shownbeneficial effects on cognition in pd . selectiveserotonin reuptake inhibitor , citalopram , wasshown to improve response inhibition deficits inpd , while noradrenaline reuptake blocker ,atomoxetine , has been recently reported to havepromising effects on cognition in pd [ 45 , 46 ] .overall , very few neuroimaging studies have beenconducted in pd in order to understand the neuralcorrelates of pd anxiety and its underlying neuralpathology . future research should focus onrelating anatomical changes and neurochemicalchanges to neural activation in order to gain aclearer understanding on how these pathologiesaffect anxiety in pd . to further understand howanxiety and cognitive dysfunction are related ,future research should focus on using advancedstructural and function imaging techniques toexplain both cognitive and neural breakdowns thatare associated with anxiety in pd patients .research has indicated that those with amnesticmild cognitive impairment who have moreneuropsychiatric symptoms have a greater risk ofdeveloping dementia compared to those with fewerneuropsychiatric symptoms . future studies shouldalso examine whether treating neuropsychiatricsymptoms might impact the progression of cognitivedecline and improve cognitive impairments in pdpatients . previous studies have used pd symptomlaterality as a window to infer asymmetricaldysfunction of neural circuits . for example , lpdpatients have greater inferred right hemispherepathology , whereas rpd patients have greaterinferred left hemisphere pathology . thus ,cognitive domains predominantly subserved by theleft hemisphere ( e.g. , verbally mediated tasksof executive function and verbal memory ) might behypothesized to be more affected in rpd than lpd ;however , this remains controversial . it has alsobeen suggested that since anxiety is a commonfeature of left hemisphere involvement [ 48 , 49 ], cognitive domains subserved by the lefthemisphere may also be more strongly related toanxiety . results from this study showed selectiveverbal memory deficits in rpd patients withanxiety compared to rpd without anxiety , whereaslpd patients with anxiety had greater attentional/ working memory deficits compared to lpd withoutanxiety . although these results align withprevious research , interpretations of thesefindings should be made with caution due to thesmall sample size in the lpd comparisonspecifically . recent work has suggested that thehads questionnaire may underestimate the burden ofanxiety related symptomology and therefore be aless sensitive measure of anxiety in pd [ 30 , 50] . in addition , our small sample size alsolimited the statistical power for detectingsignificant findings . based on these limitations, our findings are likely conservative andunderrepresent the true impact anxiety has oncognition in pd . additionally , the current studyemployed a very brief neuropsychologicalassessment including one or two tests for eachcognitive domain . future studies are encouragedto collect a more complex and comprehensivebattery from a larger sample of pd participants inorder to better understand the role anxiety playson cognition in pd . another limitation of thisstudy was the absence of diagnostic interviews tocharacterize participants ' psychiatric symptomsand specify the type of anxiety disorders includedin this study . future studies should performdiagnostic interviews with participants ( e.g. ,using dsm - v criteria ) rather than relying onself - reported measures to group participants ,in order to better understand whether the type ofanxiety disorder ( e.g. , social anxiety , phobias, panic disorders , and generalized anxiety )influences cognitive performance differently in pd. one advantage the hads questionnaire providedover other anxiety scales was that it assessedboth anxiety and depression simultaneously andallowed us to control for coexisting depression .although there was a trend that the pda+ groupself - reported higher levels of depression thanthe pda group , all participants included in thestudy scored < 6 on the depression subscale of thehads . controlling for depression while assessinganxiety has been identified as a key shortcomingin the majority of recent work . considering manyprevious studies have investigated the influenceof depression on cognition in pd withoutaccounting for the presence of anxiety and theinconsistent findings reported to date , werecommend that future research should try todisentangle the influence of anxiety versusdepression on cognitive impairments in pd .considering the growing number of clinical trialsfor treating depression , there are few if any forthe treatment of anxiety in pd . anxiety is a keycontributor to decreased quality of life in pd andgreatly requires better treatment options .moreover , anxiety has been suggested to play akey role in freezing of gait ( fog ) , which isalso related to attentional set - shifting [ 52 ,53 ] . future research should examine the linkbetween anxiety , set - shifting , and fog , inorder to determine whether treating anxiety mightbe a potential therapy for improving fog ."""from transformers import LEDForConditionalGeneration, LEDTokenizer
import torch
tokenizer = LEDTokenizer.from_pretrained("patrickvonplaten/led-large-16384-pubmed")
input_ids = tokenizer(LONG_ARTICLE, return_tensors="pt").input_ids.to("cuda")
global_attention_mask = torch.zeros_like(input_ids)
# set global_attention_mask on first token
global_attention_mask[:, 0] = 1
model = LEDForConditionalGeneration.from_pretrained("patrickvonplaten/led-large-16384-pubmed", return_dict_in_generate=True).to("cuda")
sequences = model.generate(input_ids, global_attention_mask=global_attention_mask).sequences
summary = tokenizer.batch_decode(sequences)
Runs of patrickvonplaten led-large-16384-pubmed on huggingface.co
683
Total runs
0
24-hour runs
0
3-day runs
-10
7-day runs
467
30-day runs
More Information About led-large-16384-pubmed huggingface.co Model
led-large-16384-pubmed huggingface.co is an AI model on huggingface.co that provides led-large-16384-pubmed's model effect (), which can be used instantly with this patrickvonplaten led-large-16384-pubmed model. huggingface.co supports a free trial of the led-large-16384-pubmed model, and also provides paid use of the led-large-16384-pubmed. Support call led-large-16384-pubmed model through api, including Node.js, Python, http.
led-large-16384-pubmed huggingface.co is an online trial and call api platform, which integrates led-large-16384-pubmed's modeling effects, including api services, and provides a free online trial of led-large-16384-pubmed, you can try led-large-16384-pubmed online for free by clicking the link below.
patrickvonplaten led-large-16384-pubmed online free url in huggingface.co:
led-large-16384-pubmed is an open source model from GitHub that offers a free installation service, and any user can find led-large-16384-pubmed on GitHub to install. At the same time, huggingface.co provides the effect of led-large-16384-pubmed install, users can directly use led-large-16384-pubmed installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
led-large-16384-pubmed install url in huggingface.co: