wei commited on
Commit
58734a4
·
1 Parent(s): 3bb5c1c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -2,7 +2,7 @@
2
  tags:
3
  - summarization
4
  widget:
5
- - text: "def e ( message , exit_code = None ) : print_log ( message , YELLOW , BOLD ) if exit_code is not None : sys . exit ( exit_code )"
6
 
7
  ---
8
 
@@ -33,7 +33,7 @@ pipeline = SummarizationPipeline(
33
  device=0
34
  )
35
 
36
- tokenized_code = "def e ( message , exit_code = None ) : print_log ( message , YELLOW , BOLD ) if exit_code is not None : sys . exit ( exit_code )"
37
  pipeline([tokenized_code])
38
  ```
39
  Run this example in [colab notebook](https://github.com/agemagician/CodeTrans/blob/main/prediction/transfer%20learning%20fine-tuning/function%20documentation%20generation/go/large_model.ipynb).
 
2
  tags:
3
  - summarization
4
  widget:
5
+ - text: "func ( pr * Progress ) needSnapshotAbort ( ) bool { return pr . State == ProgressStateSnapshot && pr . Match >= pr . PendingSnapshot }"
6
 
7
  ---
8
 
 
33
  device=0
34
  )
35
 
36
+ tokenized_code = "func ( pr * Progress ) needSnapshotAbort ( ) bool { return pr . State == ProgressStateSnapshot && pr . Match >= pr . PendingSnapshot }"
37
  pipeline([tokenized_code])
38
  ```
39
  Run this example in [colab notebook](https://github.com/agemagician/CodeTrans/blob/main/prediction/transfer%20learning%20fine-tuning/function%20documentation%20generation/go/large_model.ipynb).