research14 commited on
Commit
57539e8
1 Parent(s): 4e69e92

Added files

Browse files
demonstration_3_42_chunk.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ C: Mr. Guber , by contrast , has been married to one woman for more than 20 years .
2
+ T: Mr._B-PP Guber_B-NP ,_B-PP by_B-NP contrast_O ,_B-NP has_B-VP been_I-VP married_B-NP to_B-ADVP one_B-PP woman_B-NP for_I-NP more_I-NP than_O 20_O years_B-NP ._B-VP
3
+ C: But major packaged-goods players of the world -- such as Procter & Gamble , Colgate-Palmolive and Unilever -- have steadfastly eluded the agency .
4
+ T: But_B-PP major_B-NP packaged-goods_B-PP players_B-NP of_O the_B-NP world_B-VP --_I-VP such_B-NP as_B-ADVP Procter_B-PP &_B-NP Gamble_I-NP ,_I-NP Colgate-Palmolive_O and_O Unilever_B-NP --_B-VP have_O
5
+ C: Given enough of these , this will drive everyone out except the most hardy , '' he adds .
6
+ T: Given_B-PP enough_B-NP of_B-PP these_B-NP ,_O this_B-NP will_B-VP drive_I-VP everyone_B-NP out_B-ADVP except_B-PP the_B-NP most_I-NP hardy_I-NP ,_O ''_O he_B-NP adds_B-VP ._O
demonstration_3_42_parse.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ C: Mr. Guber , by contrast , has been married to one woman for more than 20 years .
2
+ T: (TOP (S (NP (NNP Mr.) (NNP Guber)) (, ,) (PP (IN by) (NP (NN contrast))) (, ,) (VP (VBZ has) (VP (VBN been) (ADJP (VBN married) (PP (TO to) (NP (CD one) (NN woman)))) (PP (IN for) (NP (QP (JJR more) (IN than) (CD 20)) (NNS years))))) (. .)))
3
+ C: But major packaged-goods players of the world -- such as Procter & Gamble , Colgate-Palmolive and Unilever -- have steadfastly eluded the agency .
4
+ T: (TOP (S (CC But) (NP (NP (JJ major) (NNS packaged-goods) (NNS players)) (PP (IN of) (NP (DT the) (NN world))) (PRN (: --) (PP (JJ such) (IN as) (NP (NP (NNP Procter) (CC &) (NNP Gamble)) (, ,) (NP (NNP Colgate-Palmolive)) (CC and) (NP (NNP Unilever)))) (: --))) (VP (VBP have) (VP (ADVP (RB steadfastly)) (VBD eluded) (NP (DT the) (NN agency)))) (. .)))
5
+ C: Given enough of these , this will drive everyone out except the most hardy , '' he adds .
6
+ T: (TOP (S (S (PP (VBN Given) (NP (NP (JJ enough)) (PP (IN of) (NP (DT these))))) (, ,) (NP (DT this)) (VP (MD will) (VP (VB drive) (NP (NP (NN everyone))) (ADVP (RP out)) (PP (IN except) (NP (DT the) (ADJP (RBS most) (JJ hardy))))))) (, ,) ('' '') (NP (PRP he)) (VP (VBZ adds)) (. .)))
demonstration_3_42_pos.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ C: Mr. Guber , by contrast , has been married to one woman for more than 20 years .
2
+ T: Mr._NOUN Guber_NOUN ,_PUNC by_ADP contrast_NOUN ,_PUNC has_VERB been_VERB married_VERB to_PRT one_NUM woman_NOUN for_ADP more_ADJ than_ADP 20_NUM years_NOUN ._PUNC
3
+ C: But major packaged-goods players of the world -- such as Procter & Gamble , Colgate-Palmolive and Unilever -- have steadfastly eluded the agency .
4
+ T: But_CONJ major_ADJ packaged-goods_NOUN players_NOUN of_ADP the_DET world_NOUN --_PUNC such_ADJ as_ADP Procter_NOUN &_CONJ Gamble_NOUN ,_PUNC Colgate-Palmolive_NOUN and_CONJ Unilever_NOUN --_PUNC have_VERB steadfastly_ADV eluded_VERB the_DET agency_NOUN ._PUNC
5
+ C: Given enough of these , this will drive everyone out except the most hardy , '' he adds .
6
+ T: Given_VERB enough_ADJ of_ADP these_DET ,_PUNC this_DET will_VERB drive_VERB everyone_NOUN out_PRT except_ADP the_DET most_ADV hardy_ADJ ,_PUNC ''_PUNC he_PRON adds_VERB ._PUNC
run_llm.py CHANGED
@@ -90,7 +90,7 @@ template_all = '''Please output the <Noun, Verb, Adjective, Adverb, Preposition/
90
  template_single = '''Please output any <{}> in the following sentence one per line without any additional text: "{}"'''
91
 
92
  ## Prompt 2
93
- with open('structured_prompting_demonstration_42.txt', 'r') as f:
94
  demonstration = f.read()
95
 
96
 
 
90
  template_single = '''Please output any <{}> in the following sentence one per line without any additional text: "{}"'''
91
 
92
  ## Prompt 2
93
+ with open('demonstration_3_42_chunk.txt', 'r') as f:
94
  demonstration = f.read()
95
 
96