wing-nus commited on
Commit
704cfba
1 Parent(s): 3c83061

Update controlled_summarization.py

Browse files
Files changed (1) hide show
  1. controlled_summarization.py +1 -1
controlled_summarization.py CHANGED
@@ -11,7 +11,7 @@ print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
11
  acl_data = load_dataset("dyxohjl666/CocoScisum_ACL", revision="refs/convert/parquet")
12
  device = "gpu" if torch.cuda.is_available() else "cpu"
13
 
14
- ctrlsum_pipeline = Summarization(os_name="nt",checkpoint="dyxohjl666/flant5-xl-cocoscisum",device=device)
15
 
16
  acl_dict = {}
17
  recommended_kw = {}
 
11
  acl_data = load_dataset("dyxohjl666/CocoScisum_ACL", revision="refs/convert/parquet")
12
  device = "gpu" if torch.cuda.is_available() else "cpu"
13
 
14
+ ctrlsum_pipeline = Summarization(os_name="nt",model_name="flan-t5-xl",checkpoint="dyxohjl666/flant5-xl-cocoscisum",device=device)
15
 
16
  acl_dict = {}
17
  recommended_kw = {}